awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
FMInference avatar

FMInference/FlexLLMGenArchived

0
View on GitHub↗
9,362 stars·591 forks·Python·Apache-2.0·17 views

FlexLLMGen

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 scaling by combining offloading with pipeline parallelism across multiple machines, accelerating generation when aggregated GPU memory is insufficient. Integration with the HELM framework enables execution of language model benchmarks like MMLU using offloaded models on a single GPU.

The system provides a complete toolchain for model serving, including a model weight compressor, a tensor offloading framework, and a throughput-oriented server. It handles batch inference request processing, distributed GPU pipeline parallelism, and single-GPU large model execution through its memory offloading and weight compression capabilities.

Features

  • Single-GPU Inference Runtimes - Runs large language models on a single GPU by offloading weights and cache to CPU and disk to fit models larger than available memory.
  • Throughput-Oriented Servers - Processes multiple generation requests together in large batches to maximize throughput on a single GPU.
  • Single-GPU Scaling - Runs large language models with limited GPU memory by offloading weights and attention cache to CPU and disk.
  • High Throughput Inference - Processes multiple generation requests together in large batches to maximize throughput on throughput-oriented workloads.
  • Single-GPU Execution Engines - Executes large language models with limited GPU memory by offloading weights and attention cache to CPU and disk.
  • 4-Bit Compressors - Reduces LLM weight memory usage by approximately 70% through 4-bit compression with minimal accuracy loss.
  • Inference Batching - Processes multiple generation requests together in large batches to maximize throughput on a single GPU.
  • 4-Bit Quantization Tools - Reduces model weight memory by approximately 70% using 4-bit quantization with minimal accuracy loss.
  • Memory Offloading Frameworks - Stores model parameters, attention cache, and hidden states across GPU, CPU, and disk to fit models larger than available GPU memory.
  • Inference Engines - An engine for running large language models on a single GPU with weight compression and tensor offloading to CPU or disk.
  • Pipeline Parallelism Partitioners - Distributes model layers across multiple GPUs to accelerate generation when aggregated GPU memory is insufficient.
  • GPU Parallelism Partitioners - Combines offloading with pipeline parallelism across multiple machines to accelerate generation when aggregated GPU memory is insufficient.
  • Distributed Offloading Systems - Combines offloading with pipeline parallelism across multiple machines to accelerate generation when aggregated GPU memory is insufficient.

Star history

Star history chart for fminference/flexllmgenStar history chart for fminference/flexllmgen

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to FlexLLMGen

Similar open-source projects, ranked by how many features they share with FlexLLMGen.
  • fminference/flexgenFMInference avatar

    FMInference/FlexGen

    9,366View on GitHub↗

    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

    Python
    View on GitHub↗9,366
  • llm-d/llm-dllm-d avatar

    llm-d/llm-d

    2,514View on GitHub↗

    llm-d is a distributed serving framework designed for large language model inference. It functions as an inference orchestrator and gateway, providing a control plane for deploying model replicas and managing hardware accelerators. The system includes a batch inference scheduler and a cache manager to coordinate request flow and memory utilization. The project is distinguished by a disaggregated serving architecture that separates prefill and decode execution phases across specialized workers to maximize throughput. It employs a hardware-agnostic control plane and tiered cache offloading, mov

    Shell
    View on GitHub↗2,514
  • hanxiao/bert-as-servicehanxiao avatar

    hanxiao/bert-as-service

    12,831View on GitHub↗

    This project is a high-performance BERT embedding service and inference server designed to map text sequences into fixed-length numerical vectors. It functions as a machine learning microservice and distributed model server that decouples request handling from heavy computation. The system utilizes a ZeroMQ messaging infrastructure to provide low-latency communication between distributed clients and the inference server. It incorporates server-side batch processing and GPU workload scaling to maximize hardware utilization and manage high request volumes. The platform supports semantic search

    Python
    View on GitHub↗12,831
  • modeltc/lightllmModelTC avatar

    ModelTC/LightLLM

    3,901View on GitHub↗

    LightLLM is a high-performance serving framework for deploying and executing large language models. It functions as a multi-GPU inference engine and server capable of handling dense architectures, mixture-of-experts designs, and multimodal models that process both text and images. The system is distinguished by its specialized support for Mixture-of-Experts models using expert parallelism and fused kernels. It implements structured text generation through deterministic state machines and pushdown automata to enforce precise output formats. To optimize throughput, the framework employs specula

    Pythondeep-learninggptllama
    View on GitHub↗3,901
See all 30 alternatives to FlexLLMGen→

Frequently asked questions

What does fminference/flexllmgen do?

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.

What are the main features of fminference/flexllmgen?

The main features of fminference/flexllmgen are: Single-GPU Inference Runtimes, Throughput-Oriented Servers, Single-GPU Scaling, High Throughput Inference, Single-GPU Execution Engines, 4-Bit Compressors, Inference Batching, 4-Bit Quantization Tools.

What are some open-source alternatives to fminference/flexllmgen?

Open-source alternatives to fminference/flexllmgen include: fminference/flexgen — FlexGen is an inference engine for large language models designed for high-throughput execution on single or multiple… llm-d/llm-d — llm-d is a distributed serving framework designed for large language model inference. It functions as an inference… modeltc/lightllm — LightLLM is a high-performance serving framework for deploying and executing large language models. It functions as a… hanxiao/bert-as-service — This project is a high-performance BERT embedding service and inference server designed to map text sequences into… huggingface/text-embeddings-inference — Text Embeddings Inference is a high-performance inference server designed to host text embedding and sequence… infrasys-ai/aisystem — AISystem is a comprehensive AI full-stack infrastructure project covering the entire pipeline from AI chip…