Inference Engineering

Hardware

CPU

49 entries · 7 sections

Editor’s pick

II Inference Engines 21

  1. vLLM Tool

    High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.

    Datacenter Engines · Apache-2.0 · 97k stars · Updated 2026-11

  2. Chitu Tool

    Engine from Tsinghua's PACMAN group for NVIDIA and Chinese accelerators that scales from CPU+GPU hybrid boxes to clusters.

    Datacenter Engines · Apache-2.0 · 3k stars · Updated 2026-11

  3. llama.cpp Tool

    Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.

    Local & Desktop Runtimes · MIT · 136k stars · Updated 2026-11

  4. Ollama Tool

    Go tool that pulls, manages, and serves local models through a CLI and REST API, with ggml- and MLX-based backends.

    Local & Desktop Runtimes · MIT · 188k stars · Updated 2026-11

  5. LM Studio Tool

    Closed-source desktop app and local API server for Mac, Windows, and Linux that runs models on llama.cpp and MLX engines.

    Local & Desktop Runtimes · proprietary · 5.4k stars · Updated 2026-11

  6. Jan Tool

    Open-source desktop chat app with a bundled llama.cpp engine that runs models offline and exposes a local OpenAI-compatible server.

    Local & Desktop Runtimes · Apache-2.0 · 46k stars · Updated 2026-11

  7. LocalAI Tool

    Self-hosted OpenAI-compatible API server that routes text, image, audio, and embedding requests to pluggable CPU or GPU backends.

    Local & Desktop Runtimes · MIT · 51k stars · Updated 2026-11

  8. llamafile Tool

    Packs model weights and a llama.cpp server into one executable that runs across operating systems and CPUs via Cosmopolitan Libc.

    Local & Desktop Runtimes · Apache-2.0 · 27k stars · Updated 2026-11

  9. KoboldCpp Tool

    Single-executable llama.cpp distribution with a bundled web UI and compatible APIs, plus image, speech, and music generation.

    Local & Desktop Runtimes · AGPL-3.0 · 12k stars · Updated 2026-11

  10. TextGen (text-generation-webui) Tool

    Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.

    Local & Desktop Runtimes · AGPL-3.0 · 48k stars · Updated 2026-08

  11. Foundry Local Tool

    Microsoft's on-device runtime and SDKs that pick NPU, GPU, or CPU execution through ONNX Runtime for apps that embed local models.

    Local & Desktop Runtimes · MIT + proprietary

  12. KTransformers Tool

    CPU–GPU heterogeneous runtime that keeps MoE experts on AMX/AVX-512 CPU kernels and plugs into SGLang; also supports MoE fine-tuning.

    Hybrid CPU–GPU & Offloading · Apache-2.0 · 20k stars · Updated 2026-11

  13. ik_llama.cpp Tool

    Fork of llama.cpp with extra quantization types and faster CPU and hybrid CPU/GPU paths, widely used to run large MoE models at home.

    Hybrid CPU–GPU & Offloading · MIT · 3.4k stars · Updated 2026-11

  14. FastLLM Tool

    C++ engine without a PyTorch dependency that splits dense and MoE models across GPUs, CPU NUMA nodes, and disk.

    Hybrid CPU–GPU & Offloading · Apache-2.0 · 5.1k stars · Updated 2026-11

  15. PowerInfer Tool

    Exploits activation sparsity by keeping frequently firing neurons on the GPU and computing the rest on the CPU, from the SOSP 2024 paper.

    Hybrid CPU–GPU & Offloading · maintenance · MIT · 9.9k stars · Updated 2026-05

  16. FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU Paper

    Offloading scheduler that searches placements of weights, activations, and KV cache across GPU, CPU, and disk for batch throughput.

    Hybrid CPU–GPU & Offloading · ICML 2023 · Code

  17. mistral.rs Tool

    Rust engine with paged attention, in-situ quantization, multimodal models, and OpenAI- and Anthropic-compatible servers on CUDA and Metal.

    Language-Native Runtimes · MIT · 7.9k stars · Updated 2026-11

  18. Candle Library

    Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.

    Language-Native Runtimes · Apache-2.0 · 21k stars · Updated 2026-11

  19. Burn Library

    Rust deep learning framework that JIT-compiles tensor op streams with automatic fusion across CUDA, ROCm, Metal, Vulkan, and WebGPU.

    Language-Native Runtimes · Apache-2.0 · 16k stars · Updated 2026-11

  20. gemma.cpp Tool

    Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.

    Language-Native Runtimes · Apache-2.0 · 7.1k stars · Updated 2026-11

  21. llama3.java Tool

    Single-file, dependency-free Java inference for Llama-family GGUF models, also used to test JVM and GraalVM compiler optimizations.

    Language-Native Runtimes · MIT · 818 stars · Updated 2026-04

III Distributed Serving & Orchestration 3

  1. Dynamo-Triton (Triton Inference Server) Tool

    Multi-framework model server with dynamic batching, model ensembles, and TensorRT, PyTorch, ONNX, OpenVINO, and Python backends.

    Serving Frameworks & Platforms · BSD-3-Clause · 11k stars · Updated 2026-11

  2. OpenVINO Model Server Tool

    C++ model server for OpenVINO with OpenAI-compatible endpoints for LLMs and KServe APIs for classic models, on Intel CPUs, GPUs, and NPUs.

    Serving Frameworks & Platforms · Apache-2.0 · 965 stars · Updated 2026-11

  3. GGUF Spec

    Single-file binary format for ggml models that stores quantized tensors with tokenizer and architecture metadata; used by llama.cpp and Ollama.

    Model Packaging, Loading & Cold Starts · MIT · 16k stars · Updated 2026-11

V Model Compression 5

  1. bitsandbytes Library

    Reference code for LLM.int8() outlier-aware 8-bit matmul and the NF4 4-bit format from QLoRA, applied at load time in Transformers without calibration.

    Quantization Toolkits · MIT · 8.5k stars · Updated 2026-11

  2. GPTQModel Library

    Toolkit centered on GPTQ that also produces AWQ, GGUF, FP8, and EXL3 checkpoints, with kernels for NVIDIA, AMD, Intel, Ascend, and Apple hardware.

    Quantization Toolkits · Apache-2.0 · 1.3k stars · Updated 2026-11

  3. AutoRound Library

    Intel's sign-gradient rounding method for low-bit post-training quantization, exporting GPTQ and AWQ layouts, GGUF, MXFP4, and NVFP4 checkpoints.

    Quantization Toolkits · Apache-2.0 · 1.7k stars · Updated 2026-11

  4. GGUF Quantization Types Docs

    Reference table of llama.cpp block formats, from legacy Q4_0 to k-quants, i-quants, ternary TQ, and MXFP4, with block layout and bits per weight.

    Number Formats & Specs

  5. BitNet b1.58 and bitnet.cpp Tool

    Ternary (1.58-bit) weights trained from scratch, with bitnet.cpp lookup-table kernels for running such models on CPUs and GPUs.

    Number Formats & Specs · MIT · 42k stars · Updated 2026-07

X Compilers & Graph Runtimes 9

  1. torch.compile Docs

    PyTorch's JIT compiler entry point, where TorchDynamo captures Python bytecode into FX graphs and TorchInductor emits Triton or C++.

    PyTorch Compilation Stack

  2. AOTInductor Docs

    Compiles exported PyTorch programs into a shared library and package that load and run from C++ or Python without recompiling.

    PyTorch Compilation Stack

  3. ONNX Runtime Tool

    Cross-platform runtime for ONNX graphs that applies graph optimizations and dispatches to execution providers like CUDA, TensorRT, and QNN.

    Vendor Runtimes

  4. ONNX Runtime GenAI Library

    Generation loop on top of ONNX Runtime with KV cache handling, sampling, and a model builder that exports LLMs to optimized ONNX.

    Vendor Runtimes

  5. OpenVINO Tool

    Intel's toolkit for converting, optimizing, and running models on Intel CPUs, integrated and discrete GPUs, and NPUs.

    Vendor Runtimes · Apache-2.0 · 12k stars · Updated 2026-11

  6. OpenVINO GenAI Library

    C++ and Python pipelines for LLMs, VLMs, Whisper, and image generation on OpenVINO, with continuous batching and speculative decoding.

    Vendor Runtimes · Apache-2.0 · 624 stars · Updated 2026-11

  7. XLA Tool

    Compiler behind JAX and TensorFlow, also usable from PyTorch, that turns StableHLO graphs into fused code for TPUs, GPUs, and CPUs.

    Open Compiler Stacks · Apache-2.0 · 4.7k stars · Updated 2026-11

  8. Apache TVM Tool

    Python-first ML compilation framework with the Relax graph IR and a tensor-level IR, used underneath MLC LLM and WebLLM.

    Open Compiler Stacks · Apache-2.0 · 14k stars · Updated 2026-11

  9. IREE Tool

    MLIR-based compiler and runtime that lowers models to one IR and deploys them from datacenter GPUs down to mobile and edge devices.

    Open Compiler Stacks · Apache-2.0 · 4k stars · Updated 2026-11

XII Benchmarking & Capacity Planning 1

  1. llama-bench Tool

    Bundled llama.cpp tool that measures prompt-processing and token-generation speed across models, batch sizes, threads, and GPU offload settings.

    Benchmark Tools · MIT · 136k stars · Updated 2026-11

XV Verticals 9

  1. stable-diffusion.cpp Tool

    Pure C/C++ inference for Stable Diffusion, Flux, Wan, and similar models on ggml, with GGUF weights and CPU, CUDA, Vulkan, and Metal backends.

    Image & Video Generation · MIT · 8.1k stars · Updated 2026-11

  2. whisper.cpp Tool

    Port of OpenAI's Whisper speech recognition to C/C++ on ggml, for CPUs, GPUs, and mobile devices.

    Speech & Real-Time Audio · MIT · 55k stars · Updated 2026-11

  3. faster-whisper Library

    Reimplements Whisper on CTranslate2 with 8-bit quantization for CPU and GPU, and serves as the transcription backend of servers such as Speaches.

    Speech & Real-Time Audio · maintenance · MIT · 27k stars · Updated 2026-11

  4. sherpa-onnx Library

    Offline speech toolkit for recognition, synthesis, diarization, voice activity detection, and enhancement on ONNX Runtime, from servers to phones and boards.

    Speech & Real-Time Audio · Apache-2.0 · 16k stars · Updated 2026-11

  5. Text Embeddings Inference Tool

    Rust server for embedding, reranker, and sequence-classification models with token-based dynamic batching and no graph-compilation step.

    Embeddings, Reranking & Retrieval · Apache-2.0 · 5.1k stars · Updated 2026-11

  6. FastEmbed Library

    Light Python library that produces dense and sparse text embeddings through ONNX Runtime, with no PyTorch dependency and no GPU requirement.

    Embeddings, Reranking & Retrieval · Apache-2.0 · 3.3k stars · Updated 2026-11

  7. Sentence Transformers Library

    Python library with one API for computing embeddings and reranking, and PyTorch, ONNX, and OpenVINO backends for faster inference.

    Embeddings, Reranking & Retrieval · Apache-2.0 · 19k stars · Updated 2026-11

  8. Laya Tool

    Non-autoregressive multilingual decision models with a Python runtime that routes each request to a checkpoint and can run on CPU, GPU, or ONNX Runtime.

    Decision Models · Apache-2.0 · 36k stars · Updated 2026-11

  9. Treelite Library

    Library and file format for decision-tree forests that lets C++ applications load, exchange, and persist models from several tree-training frameworks.

    Classical ML & RecSys · Apache-2.0 · 833 stars · Updated 2026-11

XVIII Learning Resources 1

  1. Stanford CS149: Parallel Computing Course

    Fall 2025 course on parallel architectures and programming, from SIMD and multicore CPUs to GPUs and domain-specific accelerators.

    Courses