torch.compile:LLM Serving 从 Python Forward 到融合 GPU Kernel
沿着 Dynamo、FX、Guards、Inductor 与 Graph Break 理解编译收益和冷启动
AI Infra · Systems · Performance
关注大模型推理、GPU 性能优化与云原生基础设施。这里沉淀原理推导,也记录真实工程里的取舍。
$ focus --on
LLM inference systems
GPU kernel optimization
Cloud native infrastructure
$ posts --count 104
Latest writing
沿着 Dynamo、FX、Guards、Inductor 与 Graph Break 理解编译收益和冷启动
从 Kernel Launch 开销到 Batch Bucket、静态地址与 Piecewise Capture
从 Attention DP、跨节点 All-to-All 到 P/D 两套并行布局
理解变长通信、两级互联、低延迟路径、FP8 传输与计算重叠
分清训练时均衡、推理时重排,以及不改变 Top-k 语义的热点分流
从 EP 分组、All-to-All 通信量到 Prefill/Decode 的并行选择
从健康检测、请求迁移到 KV 状态、优雅下线与过载保护
把 ISL、OSL、KV Cache、P/D Goodput 与扩容提前量放进同一张账
从请求路由、KV 状态到 P/D 扩缩容与 Kubernetes 编排
从半自回归草稿、前缀存活概率到 SGLang Ragged Verification