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

Transformer Inference Optimization Kernels

Ranking updated Jun 30, 2026

For a library for accelerating transformer inference, the first results are geeeekexplorer/nano-vllm (Nano-vllm is a high-performance inference engine for LLMs that implements fused GPU kernel optimizations, PagedAttention memory management, and graph compilation, making it a direct fit for accelerating transformer inference with the key features you're looking for), vllm-project/vllm-omni and vllm-project/vllm. flashinfer-ai/flashinfer and huggingface/text-generation-inference round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

High-performance fused kernels and acceleration libraries designed to reduce latency for large language model inference.

Transformer Inference Optimization Kernels

Find the best repos with AI.We'll search the best matching repositories with AI.
  • geeeekexplorer/nano-vllmGeeeekExplorer avatar

    GeeeekExplorer/nano-vllm

    11,745View on GitHub↗

    Nano-vllm is a high-performance inference engine designed for executing large language models locally. It functions as a specialized runtime that prioritizes accelerated token generation and efficient hardware utilization for text generation tasks. The project distinguishes itself through a comprehensive suite of optimization techniques, including a graph compilation engine that transforms neural network operations into pre-compiled execution plans. It also incorporates a tensor parallelism framework to distribute model weights across multiple hardware accelerators, effectively reducing memor

    Nano-vllm is a high-performance inference engine for LLMs that implements fused GPU kernel optimizations, PagedAttention memory management, and graph compilation, making it a direct fit for accelerating transformer inference with the key features you're looking for.

    PythonPagedAttention Memory ManagementContinuous Batching Strategies
    View on GitHub↗11,745
  • vllm-project/vllm-omnivllm-project avatar

    vllm-project/vllm-omni

    7,607View on GitHub↗

    vllm-omni is a high-throughput serving engine and distributed inference framework designed for omni-modal models. It serves as a multi-modal model API server capable of generating text, image, video, and audio data, providing a standardized interface for remote client access. The system features a non-autoregressive generation engine for parallel media production and a robot policy inference server that acts as a real-time communication bridge to robotic hardware using specialized protocols. It supports hybrid execution models that combine sequential token generation with parallelized media g

    vLLM Omni is a high-throughput serving engine built on vLLM that integrates fused GPU kernel optimizations like Paged KV cache management and hybrid parallel generation for transformer inference across text, image, video, and audio, making it a strong fit for accelerating multimodal transformer models.

    PythonPaged KV Cache ManagementContinuous Batching StrategiesvLLM Backend Runners
    View on GitHub↗7,607
  • vllm-project/vllmvllm-project avatar

    vllm-project/vllm

    96,527View on GitHub↗

    vLLM is a high-throughput inference engine designed for the efficient serving and execution of large language models. It functions as a production-ready distributed model server, providing standard API protocols for online serving while also supporting offline batch processing. The system is built to maximize token generation speed and memory efficiency, enabling both large-scale cloud deployments and local execution on personal hardware. The project distinguishes itself through advanced memory management and request scheduling techniques, most notably its use of non-contiguous key-value cach

    vLLM is a production-grade LLM inference engine that implements PagedAttention for efficient KV cache management, fuses GPU kernels including QKV projections and attention, and integrates with serving APIs—directly fulfilling the need for fused kernel implementations to accelerate transformer inference.

    PythonPagedAttention Memory ManagementContinuous Batching Strategies
    View on GitHub↗96,527
  • flashinfer-ai/flashinferflashinfer-ai avatar

    flashinfer-ai/flashinfer

    6,871View on GitHub↗

    FlashInfer is a library of high-performance GPU kernels purpose-built for accelerating large language model inference. It provides optimized implementations for attention operations (including flash attention, page attention, multi-head latent attention, and cascade attention) using paged key-value caches, fused kernel composition, and just-in-time compilation. The library also includes specialized kernels for mixture-of-experts layers, block-scaled low-precision quantization (FP8, FP4), and distributed collective communication. What distinguishes FlashInfer is its fused all-reduce communicat

    FlashInfer is a purpose-built library of fused GPU kernels for LLM inference, directly providing FlashAttention, paged KV caches, JIT compilation, and integration with PyTorch, making it an excellent fit for accelerating transformer inference.

    CudaPaged KV Cache Decode KernelsPaged KV Cache ManagementJust-In-Time Kernel Compilers
    View on GitHub↗6,871
  • huggingface/text-generation-inferencehuggingface avatar

    huggingface/text-generation-inference

    10,775View on GitHub↗

    Text Generation Inference is a production-ready engine designed for the deployment and serving of large language models. It functions as a containerized runtime environment that manages model execution, scales across distributed hardware, and provides high-performance inference capabilities for demanding production environments. The project distinguishes itself through advanced optimization techniques, including continuous batching to maximize hardware utilization and tensor parallelism to shard large models across multiple accelerator cards. It supports efficient inference through custom com

    Text Generation Inference is a production-ready serving engine that implements custom fused GPU kernels (including FlashAttention and fused QKV) and supports continuous batching for variable-length sequences, KV cache management, and tight integration with HuggingFace’s inference ecosystem—directly matching the requested kernel optimizations for transformer inference.

    PythonContinuous Batching Strategies
    View on GitHub↗10,775
  • deepseek-ai/flashmladeepseek-ai avatar

    deepseek-ai/FlashMLA

    12,706View on GitHub↗

    FlashMLA is an LLM attention kernel library and inference acceleration library providing a collection of high-performance CUDA kernels. It implements multi-head latent attention mechanisms designed to reduce memory overhead and increase throughput during the forward and backward passes of large language model inference. The library utilizes quantized cache attention kernels to improve computation efficiency across both sparse and dense token processing. It specifically optimizes the prefill and decoding phases of model inference through these latent attention implementations. The project cov

    FlashMLA is an LLM attention kernel library with high-performance CUDA kernels focused on multi-head latent attention, KV cache management, and prefill-decode optimization — it directly fits the search for fused GPU kernel implementations to accelerate transformer inference, though its focus on latent attention means it may not cover all requested feature categories like general FlashAttention integration or fused QKV projections.

    C++Attention Kernel Fusion
    View on GitHub↗12,706
  • ggml-org/llama.cppggml-org avatar

    ggml-org/llama.cpp

    133,666View on GitHub↗

    Llama.cpp is an inference engine designed for the local execution of text-based and multimodal language models on consumer hardware. It provides a core environment for running models that process both text and image inputs, utilizing hardware-accelerated backends to optimize performance across diverse CPU and GPU architectures. The project distinguishes itself by offering a lightweight HTTP server that adheres to standard API specifications, enabling chat completion, embeddings, and reranking services. It includes a suite of tools for model quantization and conversion, which reduces memory us

    Llama.cpp is an inference engine that implements fused GPU kernels through ggml for transformer model execution, covering fused attention (similar to FlashAttention), fused QKV projections, KV cache optimization, variable-length sequence support, and API serving — directly matching the search for production-ready fused kernel implementations.

    C++Hardware Abstraction LayersText-Only Inference EnginesMultimodal Inference Engines
    View on GitHub↗133,666
  • internlm/lmdeployInternLM avatar

    InternLM/lmdeploy

    8,137View on GitHub↗

    lmdeploy is a high-performance inference engine and deployment framework for large language models and vision models. It functions as a multi-modal model server and compression toolkit designed to serve models with high throughput and low latency. The system enables the distribution of model services across multiple machines using request-based load balancing and tensor parallelism. It includes specialized tools for model quantization and compression to reduce the memory footprint of weights and caches. The framework covers broad capability areas including production deployment, distributed

    lmdeploy is a high-performance inference engine and deployment framework for LLMs that implements fused GPU kernels via its Turbomind backend, covering FlashAttention-style optimizations, KV cache management, and variable-length sequences, making it a solid fit for accelerating transformer inference in production, though it is a full serving system rather than a standalone kernel library.

    PythonContinuous Batching Strategies
    View on GitHub↗8,137
  • sgl-project/sglangsgl-project avatar

    sgl-project/sglang

    38,561View on GitHub↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    SGLang is a high-performance inference and serving engine that integrates fused GPU kernels such as FlashAttention and PagedAttention for accelerated transformer inference, making it a suitable tool even though it is a full serving system rather than a standalone kernel library.

    PythonPaged KV Cache ManagementJust-In-Time Kernel CompilersAttention Kernel Fusion
    View on GitHub↗38,561
  • dao-ailab/flash-attentionDao-AILab avatar

    Dao-AILab/flash-attention

    24,220View on GitHub↗

    FlashAttention is an attention mechanism optimization library and machine learning acceleration framework designed to increase training speed and reduce memory footprint for large-scale neural network models. It functions as a collection of low-level CUDA kernels that optimize memory-bound operations to improve hardware utilization on graphics processing units. The library distinguishes itself through an input-output-aware algorithm design that minimizes data movement between different levels of memory. By employing kernel fusion and tiled matrix multiplication, it combines sequential operati

    FlashAttention is the foundational library for fused attention kernels that dramatically speed up transformer inference, which directly satisfies the core intent for a production-ready fused kernel implementation, though it focuses specifically on attention rather than covering all requested features like PagedAttention or full KV cache optimization.

    PythonAttention BackendsGPU Training AcceleratorsLanguage Model Training
    View on GitHub↗24,220
  • nvidia/fastertransformerNVIDIA avatar

    NVIDIA/FasterTransformer

    6,424View on GitHub↗

    FasterTransformer is a high-performance inference optimization library and distributed runtime designed to accelerate the execution of transformer models. It provides a toolkit for reducing model precision and parallelizing execution across multiple GPUs to increase throughput and reduce latency for large language models. The framework utilizes a C++ backend with custom CUDA kernels to replace generic operations with optimized GPU instructions. It implements tensor and pipeline parallelism to shard model weights and distribute compute operations across multiple devices. The system includes c

    FasterTransformer is a production-grade inference library that implements custom CUDA kernels fused for transformer operations, covering fused QKV projections, KV cache management, and parallelism, though it may not natively include every modern optimization like FlashAttention or PagedAttention.

    C++Distributed Transformer RuntimesFramework-Agnostic BackendsHardware Acceleration Toolkits
    View on GitHub↗6,424
  • facebookresearch/xformersfacebookresearch avatar

    facebookresearch/xformers

    10,575View on GitHub↗

    xformers is a collection of specialized toolsets for fused GPU operators, sparse attention mechanisms, modular transformer components, and performance benchmarking. It provides a library of optimized and interoperable building blocks used to construct and experiment with transformer architectures. The project features a fused CUDA operator library that combines common layers into single GPU operations to increase throughput. It includes a sparse attention framework and memory-efficient attention kernels that utilize tiling strategies and structured sparsity patterns to reduce computational ov

    xformers is a library of fused GPU operators and memory-efficient attention kernels specifically designed for transformer architectures, directly providing the fused QKV projections and FlashAttention-like optimizations you need, though it does not natively include PagedAttention or a full serving integration — making it a solid building block for accelerating transformer inference.

    PythonFused GPU Kernel CompositionAttention Kernel OptimizersBlock-Sparse Attention Kernels
    View on GitHub↗10,575
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
geeeekexplorer/nano-vllm11.7KPythonmitNov 3, 2025
vllm-project/vllm-omni7.6KPythonApache-2.0Nov 7, 2026
vllm-project/vllm
96.5K
Python
Apache-2.0
Nov 7, 2026
flashinfer-ai/flashinfer6.9KCudaApache-2.0Nov 7, 2026
huggingface/text-generation-inference10.8KPythonapache-2.0Jan 8, 2026
deepseek-ai/flashmla12.7KC++MITApr 30, 2026
ggml-org/llama.cpp133.7KC++MITNov 7, 2026
internlm/lmdeploy8.1KPythonApache-2.0Nov 6, 2026
sgl-project/sglang38.6KPythonApache-2.0Nov 7, 2026
dao-ailab/flash-attention24.2KPythonBSD-3-ClauseJun 22, 2026

Related searches

  • an inference server for serving LLMs at scale
  • a library for speeding up LLM token generation
  • a toolkit for quantizing large language models
  • a library for parameter-efficient LLM fine-tuning
  • an inference engine optimized for Apple Silicon
  • a benchmark for comparing language models
  • a system for distributing LLM inference across nodes
  • a library for generating text embeddings