awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

26 个仓库

Awesome GitHub RepositoriesInference Acceleration Techniques

Methods and strategies designed to increase the speed of text generation by optimizing token prediction processes.

Explore 26 awesome GitHub repositories matching artificial intelligence & ml · Inference Acceleration Techniques. Refine with filters or upvote what's useful.

Awesome Inference Acceleration Techniques GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • ggerganov/llama.cppggerganov 的头像

    ggerganov/llama.cpp

    116,912在 GitHub 上查看↗

    llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across various hardware architectures. It provides the core components for local model execution, including a dedicated model quantizer for compressing weights into the GGUF format and a system for generating text embeddings for semantic search. The project distinguishes itself through specialized memory and execution optimizations, such as block-wise weight quantization to reduce memory footprints and memory-mapped model loading. It supports structured text generation by using formal

    Implements speculative decoding using a draft model to predict multiple tokens in parallel for faster generation.

    C++
    在 GitHub 上查看↗116,912
  • unslothai/unslothunslothai 的头像

    unslothai/unsloth

    66,628在 GitHub 上查看↗

    Unsloth is a high-performance training and inference platform designed to optimize the lifecycle of large language and multimodal models. It provides a comprehensive engine for fine-tuning, executing, and managing models locally, with a focus on reducing memory consumption and increasing compute speed on consumer-grade hardware. The platform distinguishes itself through hand-optimized kernels and automated computational graph techniques that maximize hardware throughput. It supports advanced training methodologies, including reinforcement learning for reasoning and efficient adapter-based fin

    Predicts multiple future tokens in parallel to accelerate the generation process and reduce total processing steps.

    Pythonagentdeepseekdeepseek-r1
    在 GitHub 上查看↗66,628
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 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

    Provides configurable speculative decoding backends to accelerate token generation by verifying draft model predictions.

    Pythonattentionblackwellcuda
    在 GitHub 上查看↗29,079
  • stas00/ml-engineeringstas00 的头像

    stas00/ml-engineering

    18,124在 GitHub 上查看↗

    This project is a comprehensive engineering framework and technical reference for managing, scaling, and optimizing distributed machine learning infrastructure. It provides a suite of methodologies and diagnostic tools designed to support large-scale model training and inference on high-performance computing clusters. The project distinguishes itself through a specialized diagnostic toolkit and infrastructure optimization suite that addresses the complexities of multi-node environments. It enables precise control over cluster resources, including hardware maintenance, network topology configu

    Uses smaller draft models to predict tokens and verify them against the main model to reduce latency.

    Pythonaidebugginggpus
    在 GitHub 上查看↗18,124
  • modelscope/ms-swiftmodelscope 的头像

    modelscope/ms-swift

    14,597在 GitHub 上查看↗

    This project is a comprehensive toolkit designed for the full lifecycle management of large language and multimodal models. It functions as a unified orchestrator that handles the entire development process, ranging from dataset preparation and supervised fine-tuning to advanced reinforcement learning alignment and production-ready inference deployment. The platform distinguishes itself through a specialized reinforcement learning library that supports complex optimization algorithms, including group relative policy optimization and leave-one-out techniques, to improve model instruction-follo

    The platform speeds up the generation of text completions during reinforcement learning by integrating high-performance inference engines directly into the training loop.

    Pythondeepseek-r1embeddinggrpo
    在 GitHub 上查看↗14,597
  • paddlepaddle/paddlenlpPaddlePaddle 的头像

    PaddlePaddle/PaddleNLP

    12,953在 GitHub 上查看↗

    PaddleNLP is a development library and toolkit for training, fine-tuning, and deploying large and small language models using the PaddlePaddle framework. It provides a comprehensive suite for the entire natural language processing lifecycle, from model development to high-performance inference. The project features a standardized model zoo for loading and managing pre-trained models and tokenizers through a unified interface. It distinguishes itself with a specialized model compression framework that reduces memory footprints via weight precision conversion and lossless size optimization, alo

    Increases token generation speed through operator merging and hardware-specific inference optimizations.

    Python
    在 GitHub 上查看↗12,953
  • geeeekexplorer/nano-vllmGeeeekExplorer 的头像

    GeeeekExplorer/nano-vllm

    11,745在 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

    Maximizes text generation speed through advanced computation techniques like tensor parallelism and graph compilation.

    Pythondeep-learninginferencellm
    在 GitHub 上查看↗11,745
  • openvinotoolkit/openvinoopenvinotoolkit 的头像

    openvinotoolkit/openvino

    10,414在 GitHub 上查看↗

    OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models across CPUs, GPUs, and NPUs through a unified API. It includes a model optimization toolkit for converting, quantizing, and compressing models from various frameworks, alongside a specialized generative AI runtime for large language models. The project distinguishes itself through a plugin-based hardware acceleration layer that maps neural network operations to vendor-specific drivers. It features advanced execution mechanisms such as continuous batching, speculative decoding, and

    Accelerates token generation using a lightweight draft model to propose candidates for validation by a larger model.

    C++aicomputer-visiondeep-learning
    在 GitHub 上查看↗10,414
  • abetlen/llama-cpp-pythonabetlen 的头像

    abetlen/llama-cpp-python

    9,993在 GitHub 上查看↗

    llama-cpp-python provides a Python interface for the llama.cpp library, enabling the execution of large language models with hardware acceleration. It functions as a GGUF model loader and a structured text generator capable of running inference servers and multimodal runtimes for processing both text and image inputs. The project distinguishes itself through a local inference server that exposes model capabilities via an OpenAI-compatible web API. It supports advanced execution techniques including speculative decoding, weight quantization, and layer-based GPU offloading to manage memory acro

    Implements speculative decoding using a small draft model to accelerate text generation speed.

    Python
    在 GitHub 上查看↗9,993
  • lostruins/koboldcppLostRuins 的头像

    LostRuins/koboldcpp

    9,511在 GitHub 上查看↗

    KoboldCPP is a local large language model inference engine and GGUF model runner designed to execute quantized models on personal hardware. It functions as a multimodal AI server and API gateway, providing OpenAI-compatible endpoints that allow third-party clients to interact with locally hosted models. The project distinguishes itself as an AI storytelling backend, featuring dedicated tools for long-form narrative management through persistent memory, world lore tracking, and character state management. It further extends its capabilities as a multimodal server capable of processing text, im

    Uses a small draft model to predict future tokens that a larger primary model validates for faster generation.

    C++gemmaggmlgguf
    在 GitHub 上查看↗9,511
  • openbmb/minicpmOpenBMB 的头像

    OpenBMB/MiniCPM

    9,464在 GitHub 上查看↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Employs speculative decoding with a smaller draft model to accelerate token generation speed.

    Jupyter Notebook
    在 GitHub 上查看↗9,464
  • intel-analytics/bigdlintel-analytics 的头像

    intel-analytics/BigDL

    8,845在 GitHub 上查看↗

    BigDL 是一个 PyTorch 加速框架和分布式推理引擎,专为大语言模型设计。它提供了一个在 Intel 硬件上运行模型的工具包,集成了量化工具和用于参数高效微调的库。 该项目通过使用流水线并行将模型工作负载分布在多个硬件加速器上而脱颖而出。它利用低位整数量化和推测解码来减少内存占用并降低文本生成延迟。 该系统涵盖了模型优化的广泛功能,包括权重压缩和量化模型加载。它还支持硬件加速的训练例程,以使预训练模型适应特定任务。

    Decreases text generation latency by predicting and validating multiple tokens in a single forward pass.

    Python
    在 GitHub 上查看↗8,845
  • intel/ipex-llmintel 的头像

    intel/ipex-llm

    8,836在 GitHub 上查看↗

    Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning on Intel CPUs, GPUs, and NPUs. It provides a distributed inference engine for scaling models across multiple accelerators, a multimodal model runtime for vision and speech tasks, and a low-bit model quantization tool for converting weights into INT4, FP8, and GGUF formats. The project features a parameter-efficient finetuning framework that enables model adaptation using QLoRA and DPO on Intel hardware. It distinguishes itself by providing specialized optimizations for Intel XP

    Uses a low-precision draft predictor to validate sequences against a high-precision model to speed up generation.

    Python
    在 GitHub 上查看↗8,836
  • dusty-nv/jetson-inferencedusty-nv 的头像

    dusty-nv/jetson-inference

    8,734在 GitHub 上查看↗

    jetson-inference is a set of libraries and tools for executing optimized deep learning models on embedded GPU hardware. Its primary purpose is to enable real-time computer vision and AI inference at the edge with low latency and high throughput. The project distinguishes itself through high-performance streaming analytics and the ability to execute concurrent AI pipelines on auto-grade silicon. It provides specialized support for multi-sensor stream processing, utilizing zero-copy data transport to load camera frames directly into GPU memory. The codebase covers a broad surface of capabiliti

    Increases output throughput during autoregressive generation using speculative decoding and multiblock attention.

    C++caffecomputer-visiondeep-learning
    在 GitHub 上查看↗8,734
  • optimalscale/lmflowOptimalScale 的头像

    OptimalScale/LMFlow

    8,488在 GitHub 上查看↗

    LMFlow is a comprehensive suite for large language model fine-tuning, context extension, multimodal processing, and inference execution. It provides a toolkit for updating model parameters through full tuning or memory-efficient adapter algorithms, alongside an inference engine for executing tuned models via command-line or web-based interfaces. The framework includes a dedicated alignment suite for supervised tuning and reward model training to refine model behavior. It features a context window extender to increase maximum input lengths and a multimodal framework for building chatbots that

    Accelerates inference speed and lowers hardware requirements through optimized attention mechanisms and low-bit weight quantization.

    Pythonchatgptdeep-learninginstruction-following
    在 GitHub 上查看↗8,488
  • thudm/glm-130bTHUDM 的头像

    THUDM/GLM-130B

    7,649在 GitHub 上查看↗

    GLM-130B is a pre-trained foundation model and bilingual large language model designed for natural language processing tasks in both English and Chinese. It functions as an autoregressive language model and text generator capable of producing long-form content and predicting missing phrases. The model utilizes an autoregressive blank-filling architecture and a bidirectional dense transformer to process text. This approach allows the system to transition between understanding context through masked language modeling and generating sequential text using specific mask tokens. The project covers

    Increases text generation speed through hardware-specific optimizations and quantization techniques.

    Python
    在 GitHub 上查看↗7,649
  • ymcui/chinese-llama-alpaca-2ymcui 的头像

    ymcui/Chinese-LLaMA-Alpaca-2

    7,136在 GitHub 上查看↗

    This project provides a Chinese large language model based on the LLaMA architecture. It is an instruction-tuned model optimized for natural language processing and multi-turn conversations in Chinese. The system includes a framework for parameter-efficient fine-tuning using low-rank adaptation and quantization to reduce memory requirements. It also implements retrieval augmented generation for local document question answering and supports long-context processing for sequences up to 64K tokens. The project covers a broad set of capabilities including supervised instruction tuning, reinforce

    Implements speculative decoding using a draft model to reduce token generation latency.

    Python64kalpacaalpaca-2
    在 GitHub 上查看↗7,136
  • ericlbuehler/mistral.rsEricLBuehler 的头像

    EricLBuehler/mistral.rs

    6,597在 GitHub 上查看↗

    mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and Anthropic-compatible APIs. It serves as a multi-model serving platform, capable of loading several models in a single server process with per-request routing and on-demand loading and unloading. The engine supports multimodal inference, processing text alongside images, video, audio, and speech inputs, and includes a quantized model deployment runtime that reduces memory use and speeds up inference on consumer hardware. The project distinguishes itself through an agentic tool exe

    Uses a smaller assistant model to predict multiple tokens per step, speeding up inference on the target model.

    Rustllmrustuqff
    在 GitHub 上查看↗6,597
  • pytorch-labs/gpt-fastpytorch-labs 的头像

    pytorch-labs/gpt-fast

    6,225在 GitHub 上查看↗

    gpt-fast 是一个 PyTorch Transformer 推理引擎,专为低延迟文本生成而设计。它作为一个分布式 GPU 推理库、量化模型运行器和推测解码框架。 该系统利用推测解码工作流,其中小型草稿模型预测 Token 序列,由较大模型进行验证以加速生成。它支持量化模型执行以减少内存占用,并实现张量并行以跨多个 GPU 分割计算。 该项目包括一个标准化的评估工具,用于衡量 Transformer 模型的准确性和性能。它通过键值(KV)缓存管理和原生 PyTorch 张量操作来管理推理效率。

    Provides a speculative decoding engine that predicts multiple tokens using a draft model for faster generation.

    Python
    在 GitHub 上查看↗6,225
  • meta-pytorch/gpt-fastmeta-pytorch 的头像

    meta-pytorch/gpt-fast

    6,223在 GitHub 上查看↗

    gpt-fast 是一个 PyTorch Transformer 推理引擎,专为使用原生张量库实现的文本生成而设计。它提供了一个运行时环境,用于执行大语言模型,而无需外部 C++ 扩展。 该项目实现了推测解码,通过使用小型草稿模型进行 Token 预测和较大模型进行验证来加速生成。它通过编译后的预填充阶段和跨多个图形处理单元分片线性层的多 GPU 张量并行库进一步优化了性能。 内存效率通过支持 int8 和 int4 权重以及分组张量量化的量化运行时进行管理。该系统还包括用于架构参数化、文本分词和使用标准化工具进行模型准确性评估的工具。

    Implements speculative decoding using a small draft model to accelerate token generation.

    Python
    在 GitHub 上查看↗6,223
上一个12下一个
  1. Home
  2. Artificial Intelligence & ML
  3. Machine Learning
  4. Infrastructure
  5. Model Inference and Serving
  6. Inference Optimization
  7. Inference Acceleration Techniques

探索子标签

  • Speculative Decoding Strategies3 个子标签Techniques that predict multiple future tokens in parallel to accelerate the generation process.