Tag
Modular's LLM Inference Handbook explains how data, tensor, pipeline, expert, and hybrid parallelism each solve different multi-GPU inference scaling problems, and why adding more GPUs doesn't automatically speed up a single request.
Magnitude is an open-source inference engine (Apache 2.0) that streams MoE experts from NVMe SSD into GPU memory, enabling 180B-class models like Qwen 3.8 Flash Next to run at ~56 tok/s on a 64GB M4 Max — shifting the limit on local inference from VRAM size to SSD speed.
The paper studies model-driven context management via a context API in NVIDIA's nooa agent harness, showing it beats harness-triggered compaction in accuracy and token efficiency, while KV cache reuse after edits cuts prefill compute by up to 15%.
Explains why temperature-0 LLM inference isn't actually deterministic: floating-point rounding differences caused by batch-size-dependent kernel work-splitting can flip argmax decisions at near-ties, as shown by Thinking Machines' 1,000-run test on Qwen3-235B, along with batch-invariant kernel fixes and their speed trade-offs.
MixFold 提出一种面向移动 NPU 的亚 4 比特混合精度 LLM 推理方法,通过对齐矩阵单元 tile 的输出通道分组实现原生 3 比特与 2 比特权重执行,在 Snapdragon 8 Elite Gen 5 的 Hexagon NPU 上相比 llama.cpp 解码提速 1.16–1.41×,每焦耳生成 token 提升 1.5–4.3×。
Localcode 是一个开源的本地代理编码工具,可在 Apple Silicon Mac 上通过一条命令运行,支持 12 个模型和 169 种量化选项,提供文件读写、测试执行、代码搜索及 OpenAI 兼容的本地 API 端点。
RustingStrata 1.3.0 adds an interactive `rustingstrata interface` that prompts for model, mode and settings instead of requiring flags, plus colour output, multi-model chat page support, Q4_0 VRAM savings, `--auto-unload`, and prebuilt Linux/Windows binaries with CUDA and Vulkan.
A benchmark comparing multiple LLM inference engines on a single V100 32GB with identical weights and prompts shows up to a 5x throughput difference between engines, with notes that faster generation draws more power but costs less overall and that MTP adds ~10% power while cutting energy per token by up to half.
A two-part explainer thread breaking down LLM inference fundamentals, covering how self-attention works and why the KV cache — not model weights — often dominates GPU memory usage at long context lengths.
NoHairCache unifies attention-based (H2O) and recency-based (StreamingLLM) KV-cache eviction as endpoints of a single power-law family with one calibrate-once exponent, achieving lower perplexity across three datasets without per-dataset tuning while preserving QA accuracy.
Someone built an LLM inference engine from scratch called samir-vllm using C++ and CUDA, accompanied by 12 video episodes (6 hours) and 85 pages of handwritten notes. It walks step by step through the full inference pipeline of Llama 3.2 1B — from loading safetensors weights to paged KV cache and continuous batching. The code is open-sourced under the MIT license.
LlamAmpere 负责人发布了可在 8GB 显卡上运行的 Qwen3.8 27b 超低比特量化模型(2.1bpw/1.75bpw trellis 格式),借助 Latent Sparse Attention 与 SJKVaRN 技术实现 200k 上下文与 92.5% Top-1 匹配率,性能接近 BF16 且比 9b 模型高出 17% 基准分,为 8GB 显卡用户带来显著能力跃升。
A developer recounts using coding agents to vibe-code an AWS FPGA into running a DeepGrove ternary-weight LLM, achieving a 33x speedup over the bit-exact baseline by writing ~3M lines of C++ and Verilog across hundreds of experiments for about $10k in tokens.
KAIST researchers introduce PRKV, a training-free KV cache eviction method that uses Personalized PageRank over attention-induced graphs to estimate multi-hop global token importance, achieving up to 90% compression with competitive performance across long-context, retrieval, and reasoning tasks.
WavePP is a pipeline parallelism prefill runtime built on TensorRT-LLM that overlaps request admission with pipeline execution, achieving up to 2.9x higher prefill throughput with high prefix reuse across GLM 5.2, MiniMax M2.7, and Kimi K3 benchmarks.
A developer ran Tencent's Hy4-flash (85 GB GGUF quant) on an RTX 3060 12 GB with 32 GB RAM using RustingStrata, their Rust GGUF engine, benchmarking 20,000-token prompt handling via CUDA/Vulkan and explaining the expert-weight offloading design that makes it possible.
A tweet compiling key resources for learning LLM inference, anchored by a detailed blog post on transformer inference arithmetic covering KV cache, model parallelism, latency calculations, batch sizing, and FLOPs counting with practical benchmarks.
TokenWing is an inference engine that offloads over 60% of MoE routed experts to SSD, achieving strong token throughput on low-VRAM laptops, alongside Run My AI, a GUI wrapper for local AI experiences.
3-min explain AI Infra Day 6 介绍 KV Cache 机制,作为 LLM 推理的核心与后续优化策略的基础,并附带 Datawhale 与 RadixArk 联合推出的 zero-to-sglang 从零构建推理引擎教程。
Explains six parallelism strategies for running LLMs in production — data, tensor, pipeline, context, expert, and hybrid parallelism — highlighting each one's trade-offs and guidance on choosing based on measured bottlenecks like memory, TTFT, and TPOT.