CPU
49 entries · 7 sections
Editor’s pick
II Inference Engines 21
vLLM Tool
High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.
Chitu Tool
Engine from Tsinghua's PACMAN group for NVIDIA and Chinese accelerators that scales from CPU+GPU hybrid boxes to clusters.
llama.cpp Tool
Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.
Ollama Tool
Go tool that pulls, manages, and serves local models through a CLI and REST API, with ggml- and MLX-based backends.
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.
Jan Tool
Open-source desktop chat app with a bundled llama.cpp engine that runs models offline and exposes a local OpenAI-compatible server.
LocalAI Tool
Self-hosted OpenAI-compatible API server that routes text, image, audio, and embedding requests to pluggable CPU or GPU backends.
llamafile Tool
Packs model weights and a llama.cpp server into one executable that runs across operating systems and CPUs via Cosmopolitan Libc.
KoboldCpp Tool
Single-executable llama.cpp distribution with a bundled web UI and compatible APIs, plus image, speech, and music generation.
TextGen (text-generation-webui) Tool
Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.
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.
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.
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.
FastLLM Tool
C++ engine without a PyTorch dependency that splits dense and MoE models across GPUs, CPU NUMA nodes, and disk.
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.
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.
mistral.rs Tool
Rust engine with paged attention, in-situ quantization, multimodal models, and OpenAI- and Anthropic-compatible servers on CUDA and Metal.
Candle Library
Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.
Burn Library
Rust deep learning framework that JIT-compiles tensor op streams with automatic fusion across CUDA, ROCm, Metal, Vulkan, and WebGPU.
gemma.cpp Tool
Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.
llama3.java Tool
Single-file, dependency-free Java inference for Llama-family GGUF models, also used to test JVM and GraalVM compiler optimizations.
III Distributed Serving & Orchestration 3
Dynamo-Triton (Triton Inference Server) Tool
Multi-framework model server with dynamic batching, model ensembles, and TensorRT, PyTorch, ONNX, OpenVINO, and Python backends.
C++ model server for OpenVINO with OpenAI-compatible endpoints for LLMs and KServe APIs for classic models, on Intel CPUs, GPUs, and NPUs.
GGUF Spec
Single-file binary format for ggml models that stores quantized tensors with tokenizer and architecture metadata; used by llama.cpp and Ollama.
V Model Compression 5
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.
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.
AutoRound Library
Intel's sign-gradient rounding method for low-bit post-training quantization, exporting GPTQ and AWQ layouts, GGUF, MXFP4, and NVFP4 checkpoints.
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.
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.
X Compilers & Graph Runtimes 9
torch.compile Docs
PyTorch's JIT compiler entry point, where TorchDynamo captures Python bytecode into FX graphs and TorchInductor emits Triton or C++.
AOTInductor Docs
Compiles exported PyTorch programs into a shared library and package that load and run from C++ or Python without recompiling.
ONNX Runtime Tool
Cross-platform runtime for ONNX graphs that applies graph optimizations and dispatches to execution providers like CUDA, TensorRT, and QNN.
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.
OpenVINO Tool
Intel's toolkit for converting, optimizing, and running models on Intel CPUs, integrated and discrete GPUs, and NPUs.
OpenVINO GenAI Library
C++ and Python pipelines for LLMs, VLMs, Whisper, and image generation on OpenVINO, with continuous batching and speculative decoding.
XLA Tool
Compiler behind JAX and TensorFlow, also usable from PyTorch, that turns StableHLO graphs into fused code for TPUs, GPUs, and CPUs.
Apache TVM Tool
Python-first ML compilation framework with the Relax graph IR and a tensor-level IR, used underneath MLC LLM and WebLLM.
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.
XII Benchmarking & Capacity Planning 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.
XV Verticals 9
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.
whisper.cpp Tool
Port of OpenAI's Whisper speech recognition to C/C++ on ggml, for CPUs, GPUs, and mobile devices.
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.
sherpa-onnx Library
Offline speech toolkit for recognition, synthesis, diarization, voice activity detection, and enhancement on ONNX Runtime, from servers to phones and boards.
Text Embeddings Inference Tool
Rust server for embedding, reranker, and sequence-classification models with token-based dynamic batching and no graph-compilation step.
FastEmbed Library
Light Python library that produces dense and sparse text embeddings through ONNX Runtime, with no PyTorch dependency and no GPU requirement.
Sentence Transformers Library
Python library with one API for computing embeddings and reranking, and PyTorch, ONNX, and OpenVINO backends for faster inference.
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.
Treelite Library
Library and file format for decision-tree forests that lets C++ applications load, exchange, and persist models from several tree-training frameworks.
XVIII Learning Resources 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.