Research archive研究归档 · 14 entries篇

Writing文章

Technical articles on AI systems, GPU performance, and distributed inference.关于 AI 系统、GPU 性能与分布式推理的技术文章。

2026

From 3% to 11.9% of DeepInfer: Three Prefill Kernels on 4 × B200从官方的 3% 到 11.9%:4 × B200 上的三项 prefill 优化

Paired, profiled measurements of the real DeepSeek-V4.1-Flash: tensor-core sparse attention, a fused indexer and a local-row MoE combine took mini-DeepInfer from 1,085 to 4,316 input tok/s/GPU — and showed where the remaining 8.4× lives.真实 DeepSeek-V4.1-Flash 上的配对、带 profile 的测量:tensor core 稀疏注意力、融合 indexer 和只合并本地行的 MoE,把 mini-DeepInfer 从 1,085 提到 4,316 输入 tok/s/GPU,并定位了剩余 8.4 倍差距所在。

8 min read分钟阅读

Reading DeepInfer in 2,000 Lines of PyTorch用约 2,000 行 PyTorch 读懂 DeepInfer

mini-DeepInfer keeps DeepInfer's engine design — paged state, prefill/decode steps, zero-overhead scheduling and deterministic sampling — and drops the scale, so a DeepSeek-V4.1 request can be followed from the queue to its next token.mini-DeepInfer 保留 DeepInfer 的引擎设计——分页状态、prefill/decode 分步、零开销调度与确定性采样——去掉规模相关的部分,让一个 DeepSeek-V4.1 请求可以从入队一路跟到下一个 token。

7 min read分钟阅读

A DeepInfer-Style Runtime DesignDeepInfer 风格的运行时设计

The engineering boundaries, state invariants and verification rules mini-DeepInfer commits to, written before the implementation.mini-DeepInfer 要坚持的工程边界、状态不变量和验证方法,先于代码实现写成。

7 min read分钟阅读

2025