C++
77 entries · 14 sections
Editor’s pick
II Inference Engines 16
TensorRT-LLM Tool
NVIDIA's engine with a PyTorch-based runtime, in-flight batching, and kernels tuned for Hopper and Blackwell GPUs.
LMDeploy Tool
Toolkit pairing the C++ TurboMind engine with a PyTorch engine, with weight and KV-cache quantization and Ascend support.
TokenSpeed Tool
Engine for agentic workloads that splits a C++ state-machine control plane from a Python execution plane, with pluggable kernels.
RTP-LLM Tool
Alibaba's in-house engine behind Taobao and other services, with a C++ scheduler and prefill-decode separation.
xLLM Tool
Engine built at JD.com for Chinese accelerators such as Ascend, Cambricon, and Hygon, with a service layer decoupled from compute.
llama.cpp Tool
Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.
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.
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.
Lemonade Tool
Local server with OpenAI-, Anthropic-, and Ollama-compatible APIs, tuned by AMD engineers for Ryzen AI NPUs and Radeon GPUs.
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.
gemma.cpp Tool
Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.
tiny-vllm Tool
Course plus C++/CUDA codebase that builds a small vLLM-style server step by step, from safetensors loading to paged attention.
III Distributed Serving & Orchestration 5
xLLM Service Tool
Cluster service layer for JD's xLLM engine that co-schedules online and offline traffic and shifts instances between prefill and decode roles at runtime.
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.
ONNX Spec
Open graph format and operator set for moving models from training frameworks to runtimes such as ONNX Runtime, TensorRT, and OpenVINO.
Model Streamer Library
Streams safetensors tensors from local disk or object storage into GPU memory with concurrent reads; vLLM exposes it as a load format.
V Model Compression 1
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.
VI Decoding Acceleration 1
XGrammar Library
Grammar engine that prechecks context-independent tokens to build masks cheaply; XGrammar-2 adds tag-triggered structures for tool calls.
VII KV Cache & Attention 1
Mooncake Library
Moonshot AI's KV-centric infrastructure, an RDMA transfer engine plus a distributed KV store, used as a backend by vLLM, SGLang, and TensorRT-LLM.
VIII Scheduling & Parallelism 1
NIXL Library
Transfer library with one API over GPU, CPU, file, and object memory, used by engines to move KV blocks through UCX, libfabric, GDS, and other plugins.
IX Kernels & GPU Programming 11
CUTLASS Library
NVIDIA's C++ templates and CuTe layout abstractions for GEMM-class kernels, plus the Python CuTe DSL, from Ampere through Blackwell.
ThunderKittens Library
Tile primitives embedded in CUDA C++ for writing attention and GEMM kernels; version 2.0 adds Blackwell, MXFP8, and NVFP4 support.
AITER Library
AMD's operator library for inference and training on ROCm, combining Triton, Composable Kernel, and hand-written assembly backends.
Composable Kernel Library
AMD's C++ templates for tiled GEMM, attention, and fused operators on Instinct GPUs; the source now lives in the rocm-libraries monorepo.
HipKittens Library
ThunderKittens-style tile primitives for AMD CDNA 3 and CDNA 4 GPUs, also shipped as a kernel backend inside AITER.
NVIDIA's normative reference for the CUDA execution model, memory hierarchy, C++ language extensions, and per-architecture features.
CUDA C++ Best Practices Guide Docs
Official optimization workflow for CUDA C++ covering memory coalescing, shared memory, occupancy, and the assess-parallelize-optimize cycle.
NCCL Library
NVIDIA's collective and point-to-point communication library over NVLink, PCIe, InfiniBand, and RoCE; the default PyTorch GPU backend.
NVSHMEM Library
OpenSHMEM-style global address space for NVIDIA GPUs with one-sided puts, gets, atomics, and signals issued from inside kernels.
RCCL Library
AMD's NCCL-compatible collective library for Instinct GPUs over Infinity Fabric and RDMA; its source now lives in the rocm-systems monorepo.
MSCCL++ Library
GPU-driven communication stack with one-sided put, get, and signal primitives over NVLink, xGMI, and InfiniBand for custom collectives.
X Compilers & Graph Runtimes 14
AOTInductor Docs
Compiles exported PyTorch programs into a shared library and package that load and run from C++ or Python without recompiling.
Torch-TensorRT Tool
Compiler backend that lowers torch.compile or torch.export graphs to TensorRT engines and falls back to PyTorch for unsupported ops.
TensorRT Tool
NVIDIA's inference optimizer and runtime; version 11 removed weakly typed networks, implicit quantization, and IPluginV2.
ONNX Runtime Tool
Cross-platform runtime for ONNX graphs that applies graph optimizations and dispatches to execution providers like CUDA, TensorRT, and QNN.
TensorRT for RTX Tool
Lightweight TensorRT variant for RTX PCs and workstations that finishes engine optimization just-in-time on the end user's GPU.
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.
MIGraphX Tool
AMD's graph compiler for ROCm that imports ONNX models, fuses operators, and tunes kernels for Instinct and Radeon GPUs.
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.
MLIR Library
LLVM subproject providing reusable IR dialects and pass infrastructure that many ML compilers, Triton and IREE included, are built on.
StableHLO Spec
Versioned operation set that acts as the portability layer between JAX, PyTorch, and TensorFlow and compilers such as XLA and IREE.
XI Hardware & Accelerators 1
TT-Metalium Tool
Tenstorrent's low-level kernel programming model and TT-NN operator library for its Wormhole and Blackhole accelerators.
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.
XIII Observability & Operations 2
Perfetto Tool
Browser-based trace viewer with a SQL trace processor, used to inspect PyTorch, Chrome-format, and Linux system traces without uploading them.
NVIDIA DCGM Tool
Data Center GPU Manager library and dcgmi CLI for fleet health checks, active diagnostics, and policy alerts; the telemetry source behind dcgm-exporter.
XIV Edge, Mobile & Browser 15
ExecuTorch Library
PyTorch's on-device runtime that exports models ahead of time and runs them on phones, wearables, and microcontrollers through pluggable hardware backends.
LiteRT-LM Library
LLM orchestration layer on top of LiteRT for Android, iOS, web, desktop, and IoT, with GPU and NPU paths and multi-token prediction for Gemma 4.
LiteRT Library
Runtime that succeeds TensorFlow Lite, converting models and running them on phones and edge devices through CPU, GPU, and NPU accelerators.
MNN Library
Lightweight C++ inference engine from Alibaba for mobile and embedded devices, including an LLM module for running chat models on Android and iOS.
MLC LLM Tool
Compiler-based LLM deployment stack built on TVM that targets iOS, Android, desktop GPUs, and browsers from one model definition.
Cactus Library
Hybrid edge-and-cloud engine for phones and wearables with its own kernels, quantization, and OpenAI-style APIs; source-available under a revenue-gated license.
MLX Library
Array framework for Apple silicon with NumPy-style Python and C++ APIs, lazy evaluation, and unified memory; the base layer under mlx-lm.
Windows ML Docs
Windows-managed copy of ONNX Runtime that routes models to NPU, GPU, or CPU through execution providers that Windows installs and keeps updated.
ONNX Runtime QNN Execution Provider Docs
ONNX Runtime provider that offloads models to the Hexagon NPU on Snapdragon through Qualcomm AI Engine Direct, including Windows on Arm laptops.
AMD's stack for running ONNX and LLM workloads on Ryzen AI PCs, using the XDNA NPU and integrated GPU through ONNX Runtime and the Quark quantizer.
OpenVINO NPU Plugin Docs
OpenVINO documentation for its NPU plugin, covering drivers, the model compiler, and model caching for running inference on Intel neural processors.
Qualcomm AI Engine Direct SDK Library
Qualcomm's low-level runtime API for the Hexagon NPU, Adreno GPU, and Kryo CPU, which Genie and ONNX Runtime's QNN provider build on; also called QAIRT.
wllama Library
WebAssembly binding for llama.cpp that runs GGUF models in a browser tab, with worker isolation, split-file loading, and WebGPU support in v3.
TensorRT Edge-LLM Library
C++ runtime for LLMs and VLMs on Jetson, DRIVE, and DGX Spark with an export and engine-build workflow and no Python dependency at run time.
Hailo's compiler, HailoRT runtime, and model zoo for its accelerators, including precompiled LLM, VLM, and speech models served through a REST API.
XV Verticals 5
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.
sherpa-onnx Library
Offline speech toolkit for recognition, synthesis, diarization, voice activity detection, and enhancement on ONNX Runtime, from servers to phones and boards.
Triton FIL Backend Tool
Triton backend that serves XGBoost, LightGBM, scikit-learn, and cuML tree ensembles with GPU or CPU forest inference.
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 3
CUTLASS Tutorial: Mastering the Tensor Memory Accelerator (TMA) Article
Explains Hopper's TMA unit for asynchronous bulk copies, including loads, stores, and multicast, and how to drive it through CuTe.
CUTLASS Tutorial: Fast Matrix Multiplication with WGMMA on Hopper Article
Shows how warpgroup-level wgmma instructions work on Hopper and how CUTLASS and CuTe expose them in a GEMM mainloop.
Fast LLM Inference From Scratch Article
Builds a single-GPU inference engine in C++ and CUDA without libraries, profiling each step from a naive CPU loop to fused kernels.