awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
FMInference avatar

FMInference/FlexGenArchived

0
View on GitHub↗
9,366 stars·591 forks·Python·Apache-2.0·5 vues

FlexGen

FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple GPUs. It functions as a framework for managing model execution through a combination of memory offloading, weight compression, and pipeline orchestration.

The system enables the execution of models that exceed available GPU memory by moving tensors and caches between GPU memory, system RAM, and disk storage. It utilizes 4-bit weight quantization to reduce the memory footprint of model parameters, allowing for increased batch processing capacity.

The project covers distributed execution through pipeline parallelism across multiple machines, as well as memory optimization techniques such as asynchronous tensor loading and attention cache compression.

Features

  • Efficient Inference Engines - A high-throughput inference engine for large language models optimizing for memory efficiency and speed.
  • High Throughput Inference - Maximizes inference requests per second through optimized data and weight flow and batching.
  • Large Language Model Optimization - Optimizes large language model inference using memory-efficient offloading and data compression.
  • Parallelism Orchestration - Coordinates the splitting of model execution across multiple GPUs on separate machines.
  • Weight Offloading - Moves model parameters between GPU memory, system RAM, and disk to run models exceeding VRAM limits.
  • Weight Quantization - Implements 4-bit weight quantization to reduce the memory footprint of model parameters.
  • Quantized Model Runners - Provides an execution environment using 4-bit precision to compress weights and increase batch processing capacity.
  • Model Layer Offloading - Enables execution of oversized models by moving tensors and caches to system RAM or disk.
  • Pipeline Parallelism Strategies - Distributes model layers across multiple GPUs on different machines to scale inference for massive models.
  • Memory Offloading Frameworks - Implements a mechanism to move model tensors between GPU memory, system RAM, and disk.
  • Asynchronous Tensor Loading - Overlaps weight transfers from host memory to GPU with the computation of current model layers.
  • Single-GPU Scaling - Deploys massive generative models on limited hardware using weight compression and efficient memory management.
  • Sparsity-Aware Weight Compression - Reduces memory usage of weights and caches using 4-bit precision to increase throughput.
  • KV Cache Management - Reduces memory overhead of the KV cache to support larger batches and token counts.
  • Hardware Optimized Inference - High-throughput generative inference optimized for single GPU environments.
  • Inference Frameworks - High-throughput generative inference on single-GPU systems.
  • Model Serving Engines - Throughput-oriented inference engine for running models on single GPUs.

Historique des stars

Graphique de l'historique des stars pour fminference/flexgenGraphique de l'historique des stars pour fminference/flexgen

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à FlexGen

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec FlexGen.
  • tiiny-ai/powerinferAvatar de Tiiny-AI

    Tiiny-AI/PowerInfer

    8,714Voir sur GitHub↗

    PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It provides a runtime for executing models on consumer-grade hardware, utilizing a GPU acceleration backend to optimize tensor operations for graphics processors. The system distinguishes itself through a sparse inference framework that increases generation speed by skipping computations based on activation sparsity in model weights. It includes a GGUF model converter for transforming weights and metadata into a unified binary format, as well as an OpenAI API compatible server for inte

    C++large-language-modelsllamallm
    Voir sur GitHub↗8,714
  • sjtu-ipads/powerinferAvatar de SJTU-IPADS

    SJTU-IPADS/PowerInfer

    9,568Voir sur GitHub↗

    PowerInfer is an inference engine and serving framework designed to run large language models on local hardware. It combines a hybrid CPU-GPU offloader, a quantization tool, and a sparse model optimizer to enable the execution of high-parameter models on consumer-grade devices. The system distinguishes itself through neuron-activation-based offloading, using a predictor model to preload frequent neurons into VRAM while keeping rare neurons in system memory. This hybrid execution model balances workloads between the GPU and CPU based on input patterns to optimize memory access and increase tok

    C++
    Voir sur GitHub↗9,568
  • microsoft/deepspeedAvatar de microsoft

    microsoft/DeepSpeed

    42,533Voir sur GitHub↗

    DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of massive AI models. It serves as a model parallelism orchestrator and a toolkit for scaling large language models across multiple GPUs and compute nodes. The project distinguishes itself through 3D parallelism orchestration, which combines data, pipeline, and tensor parallelism. It utilizes ZeRO-based memory partitioning to eliminate redundant storage and employs CPU-offload memory management to move weights and optimizer states to system RAM. Additionally, it provides special

    Python
    Voir sur GitHub↗42,533
  • fminference/flexllmgenAvatar de FMInference

    FMInference/FlexLLMGen

    9,362Voir sur GitHub↗

    FlexLLMGen is an inference engine and runtime designed to run large language models on a single GPU by combining weight compression with tensor offloading. It reduces model weight memory usage by approximately 70% through 4-bit quantization, and stores model parameters, attention cache, and hidden states across GPU, CPU, and disk to fit models larger than available GPU memory. The project distinguishes itself through a throughput-oriented batching approach that processes multiple generation requests together in large batches to maximize throughput on a single GPU. It also supports distributed

    Pythondeep-learninggpt-3high-throughput
    Voir sur GitHub↗9,362
Voir les 30 alternatives à FlexGen→

Questions fréquentes

Que fait fminference/flexgen ?

FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple GPUs. It functions as a framework for managing model execution through a combination of memory offloading, weight compression, and pipeline orchestration.

Quelles sont les fonctionnalités principales de fminference/flexgen ?

Les fonctionnalités principales de fminference/flexgen sont : Efficient Inference Engines, High Throughput Inference, Large Language Model Optimization, Parallelism Orchestration, Weight Offloading, Weight Quantization, Quantized Model Runners, Model Layer Offloading.

Quelles sont les alternatives open-source à fminference/flexgen ?

Les alternatives open-source à fminference/flexgen incluent : tiiny-ai/powerinfer — PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It… sjtu-ipads/powerinfer — PowerInfer is an inference engine and serving framework designed to run large language models on local hardware. It… microsoft/deepspeed — DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of… fminference/flexllmgen — FlexLLMGen is an inference engine and runtime designed to run large language models on a single GPU by combining… openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… vllm-project/llm-compressor — llm-compressor is a quantization toolkit and post-training library designed to reduce the memory footprint and size of…