December 12 | Beijing, China
Sessions will be recorded and available on the PyTorch Conference YouTube channel within two weeks.
Times shown in CST (UTC +8). Seating is first come, first served. IMPORTANT NOTE: Timing of sessions and room locations are subject to change.
Plan your sessions and build your personal agenda.
Learn how to use the event app and sync favorites across devices.
The Sessionize app allows you to build your schedule but is not a substitute for your event registration. You must be registered for PyTorch Day China 2026 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.
vLLM supported 22 new model launches in the past 20 weeks, and the rate of new commits doubled as coding agents joined the contributor base. This talk covers how the project is changing to keep up, across three areas of work.
Core re-design: Model Runner V2 moves batching, sampling, and speculative decoding bookkeeping into GPU kernels with zero CPU-GPU synchronization. We also cover the Rust frontend, the standardized KV cache layout, and the next round of scheduler and CUDA graph cleanup.
Model optimizations: Flat per-vendor model definitions allow aggressive fusions on the newest NVIDIA, AMD, and TPU hardware, while a hardware-agnostic path keeps long-tail models portable. We explain the fast-track review process for agent-written kernels and how speculative decoding became a first-class feature.
Agentic workloads: Agent sessions run dozens of turns at a median input of 142k tokens with over 95% prefix reuse. We cover tiered KV offloading, P/D disaggregation, session-aware routing with Dynamo and llm-d, and vLLM results on the AgentX benchmark.
We close with RL, vLLM-Omni, quantization, CI, and how to join the vLLM SIGs.
Agentic coding assistants place new demands on LLM serving: long contexts, repeated prefixes, and frequent multi-turn requests make both prefill latency and cache reuse critical. This talk shares practical approaches to optimizing SGLang for these workloads. We cover hierarchical KV caching and cross-instance storage, cache-aware routing, prefill/decode scheduling, and speculative decoding. In a 20,000-request agentic replay, a shared cache tier increased the hit rate from 81% to 97% and reduced time to first token by 46%. We also discuss how KV storage and request placement can reduce redundant computation and data movement, and how speculative decoding can improve generation throughput. Attendees will learn about the trade-offs among latency, throughput, and resource usage, and how to choose optimizations for different context lengths, concurrency levels, and hardware.
Long-form video generation, continuation, and editing require inference infrastructure that manages temporal state, conditioning, and memory across requests. This talk examines how vLLM-Omni serves MiniMax H3 for these workloads.
We explain windowed denoising, audio/video latent-tail reuse, and global temporal positioning for long videos; cached latents for cross-request continuation; and source-media and mask handling for video editing and local inpainting. We then show how reference keyframes are anchored to requested timestamps through frame-index alignment and timeline conditioning.
The infrastructure discussion covers asynchronous jobs, cache lifecycle, memory trade-offs, chunked VAE decoding, and overlapping output encoding. We also examine compatibility constraints between control modes and acceleration options, and the limits of temporal continuity and region preservation.
Attendees will learn how these mechanisms fit into a PyTorch-based video serving runtime and how to evaluate latency, memory use, controllability, and audiovisual consistency.
In SemiAnalysis InferenceX's agentic workload, over 96% of prompt tokens reuse an earlier prefix, so TTFT depends on fast KV cache lookup and loading. Current KV stores have two gaps: HBM stays private (SGLang and vLLM keep it per instance; Mooncake pools only DRAM and SSD), leaving 30+ TB of HBM per MI455X rack unreachable; and they assume a fixed HBM-DRAM-SSD hierarchy, though clusters and workloads vary.
UMBP, in AMD's open-source MoRI and integrated with SGLang and vLLM, treats all memory in a rack as one KV cache:
– HBM pooling: prefill GPUs read KV from peers' HBM and spill into spare HBM on decode GPUs. A page leaves HBM only when its last copy is evicted.
– User-defined tiering: operators compose HBM, DRAM and SSDs into weighted tiers in any acyclic topology, with per-tier promote/demote rules.
– Router-guided prefetching: router hints move KV to a fast tier ahead of use, hiding slow-media latency.
On MI355X serving DeepSeek-V4-Pro, UMBP raises per-GPU throughput by up to 34% with 25% fewer GPUs and cuts P90 TTFT by up to 35% vs. SGLang HiCache. HBM pooling serves agentic workloads with no host DRAM. We share results, PyTorch integration lessons, and early MI455X data.
Heterogeneous accelerators face an ongoing challenge: keeping pace with PyTorch release cadence while maintaining compatibility, quality, and stability. The PyTorch TAC Accelerator Integration Working Group brings together contributors to address these challenges through open collaboration. In this talk, we will highlight two key efforts:
Device-Agnostic Test Refactoring
We will demonstrate how dynamic test skipping and device-agnostic test refactoring decouple test logic from specific hardware targets. This enables heterogeneous backends to reuse more than 600,000 community test cases, improving API semantic consistency while significantly reducing backend-specific engineering overhead.
Cross-Repository CI Relay
CRCR establishes a direct connection between PyTorch pull requests and out-of-tree accelerator backend codebases, enabling joint compilation and validation against upstream changes before they are merged. This proactive validation helps identify compatibility issues and regressions early, reducing downstream adaptation costs and improving release stability.
These initiatives demonstrate how to enable hardware vendors to deliver reliable, production-ready PyTorch backends.
Modern inference systems must continuously adapt to new models, hardware, and production workloads. This talk presents Inferact’s approach toward building an autonomous inference system around vLLM, connecting workload observation, optimization, evaluation, and production deployment. We will describe an agent-driven workflow that profiles live traffic, generates and tests optimization candidates, validates changes through end-to-end serving benchmarks, and adapts inference engines to different models, accelerators, and workload requirements. We will also discuss production hillclimbing, human oversight, and the open-source feedback loop that enables validated improvements to flow back into vLLM. Drawing on production deployments, the talk will share practical engineering lessons, system design considerations, and measured improvements in latency, throughput, model quality, and day-zero support.
RL post-training needs fast rollout whose probabilities match the trainer. Fast kernels change their reduction order with the batch, so vLLM and the trainer disagree on the same weights. Most stacks give up speed or clip the gap away.
We keep vLLM on high-performance kernels (DeepGEMM, FlashMLA and FlashInfer on NVIDIA, Triton on AMD ROCm) and make rollout bitwise identical to the Megatron-LM trainer. The hard parts are new attention types: KDA linear attention, Mamba-2 and sparse MLA, each with a decode that exactly reproduces the prefill math. An open agent skill carried this to DeepSeek-V4-Flash, DeepSeek-V4.1-Flash, Nemotron and Kimi-K3.1 on GB200, GB300, H100 and MI355X: zero mismatch at every RL step, with rollout cost typically within 10%.
Async RL is now mainstream, and many assume exact kernels stop mattering once weights lag. REINFORCE Zero (NVIDIA with Inferact) separates two mismatches: weight lag is smooth and importance sampling corrects it; kernel mismatch is random noise, peaking at 442x the median. With exact kernels, plain token-level importance sampling trains stably for 20,000 updates, 2.40x faster than synchronous training with the same kernels.
Following LlamaFactory (75k+ GitHub Stars), our community built PenguinHarness (~3k Stars): an open-source Recursive Self-Improvement (RSI) framework unifying data, models, algorithms, and evaluation for autonomous post-training and agent self-evolution.
We share the full workflow, findings, and conclusions from autonomous post-training of Qwen3.8 on domain tasks via LlamaFactory & PenguinHarness:
1. RSI-Native Harness & A2APP: Isolates per-agent states and skills for conflict-free evolution, with hot-reloadable A2APP workbenches.
2. Plug-and-Play Multi-Agent RSI Loop: Under "Everything is Plugin," Evaluator and Optimizer agents autonomously run benchmark synthesis, scoring, and optimization (10+ suites & RSI algorithms built-in, 100+ planned).
3. Ultra-Low Cost & GDPEVO Results: At ~$1.6–$1.9/run (~1/20th of Codex cost), evolving across 6 domain tasks boosts mean accuracy from 56.32% to 70.25% (SkillOpt, +13.93%), jumping from 60.32% to 91.52% on Engineering Analytics while cutting tokens by 22%.
https://github.com/hiyouga/LlamaFactory
https://github.com/Prism-Shadow/penguin-harness
https://arxiv.org/abs/2610.14625
https://arxiv.org/abs/2608.03764
RL post-training assumes the trainer and the rollout engine act as one policy, assigning the same probability to the same token. Our work in verl brings this training–rollout consistency to AMD GPUs.
When we ran GRPO on DeepSeek-V4-Flash, a 284B-parameter MoE model, across 32 AMD Instinct MI355X GPUs, this assumption broke down. Megatron-LM and vLLM applied FP8 quantization differently, and weight synchronization altered even unchanged weights. The resulting mismatch quietly biased policy updates.
We aligned quantization across training, rollout, and weight synchronization, then corrected the remaining mismatch. BF16, BF16+QAT, and FP8 recipes each ran 300 steps without restarts, and both FP8-rollout recipes raised AIME-2024 accuracy from ~60% to ~76%.
Our recipe, now merged into verl, provides a stable, reproducible path to large-scale RL post-training on AMD GPUs and expands hardware choice for the PyTorch community. Attendees will learn how to detect and reduce training–rollout mismatch in PyTorch-based RL.
Technical details: https://verl-project.github.io/posts/2026-10-30-deepseek-v4-flash-rl-rocm/
Sovereign AI is often discussed in terms of open models and local infrastructure. But can an AI system be truly sovereign if it does not understand the local context in which it operates – its laws, institutions, and time-sensitive rules?
This talk presents Legalize-KR, an open-source project that turns official Korean legal data into versioned, machine-readable context for AI systems. Legalize-KR converts laws and related data into Git-native Markdown, preserves provenance and revision history, and exposes them through CLI and MCP interfaces so AI agents can retrieve the appropriate legal context for a given point in time.
Using Korean law as a case study, I will introduce an often-overlooked layer of Sovereign AI: sovereign context – local knowledge that can be openly maintained, verified, and updated by the communities that depend on it. I will cover temporal validity, provenance, Git-based versioning, agent-facing interfaces, and lessons from maintaining continuously updated public data. The session explores how open-source communities can build trustworthy local context layers that complement open models and local inference.
Most LLM serving stacks are optimized to generate text, yet many production requests only need a decision: which model to call, when to escalate, or how to classify a multimodal input. Running an autoregressive LLM for each decision adds decoding overhead to the critical path.
This session introduces our newest Decision 3.0 (D3), an open family of decision models in vLLM Semantic Router. We dive into its non-generative inference path: structured choice and score outputs, answer-code readouts, shared input computation across multiple questions, and batching concurrent requests. We then show a demo about how to deploy compact local models and GPU-hosted multimodal variants through the System One API and vLLM, with practical attention to memory use, latency, throughput, and decision quality.
Attendees will learn when a dedicated decision model is preferable to generative prompting, how to integrate D3 into model routing and agent workflows, and what performance trade-offs matter in production.
This talk shares production experience serving Xiaohongshu (RedNote)’s Dots models for online Agentic applications. Multi-turn interactions, tool calls, and long contexts introduce challenges in KV cache reuse, request scheduling, and resource utilization. We present an inference architecture built on NVIDIA Dynamo, SGLang, and Mooncake to address these challenges through coordinated scheduling and tiered KV cache storage.
We examine how a global cache view enables routing decisions that balance prefix affinity, cache transfer costs, and worker load. We then introduce a Session Prefix Indexer and programmable KV controls that incorporate session state and Agent signals into cache retention, release, and prefetching.
Using Diandian Agent serving and Agent RL rollout as case studies, we discuss the different strategies needed for low-latency interactions and high-throughput sampling, and how context compaction, tool-call pauses, and trajectory completion shape the KV cache lifecycle. Attendees will gain practical insights into architecture trade-offs, session-aware scheduling, and cache management for Agentic workloads.
当 Agent 从一次问答走向长时间运行、多轮工具调用与强化学习,瓶颈不再只有 GPU 算力:不断增长的上下文放在哪里,跨节点的数据如何及时到达,推理与训练又如何高效交换状态?本报告围绕 Mooncake 2026 年的开源进展,介绍它从分布式 KV Cache 向 AI 数据基础设施的演进。
首先,以近期 ATOM 在 AMD GPU 上的 Agent 服务实践为切入点,剖析跨 NUMA、跨节点的共享 KV 池:如何利用分散的主机内存延长上下文驻留时间,以及如何通过分阶段恢复、批量传输和布局转换,把“存储命中”变成真正可用的推理前缀。进而介绍 DRAM—SSD 分层缓存与异步卸载,讨论容量、恢复延迟和重计算成本的取舍。
随后,解释 Mooncake Store 与 Transfer Engine 的职责分工:前者管理可复用数据,后者承担异构设备与网络间的数据搬运,并概览可选 Rust 存储后端 Store-RS 的演进。最后将视角扩展到强化学习:以 Miles 的 rollout 数据交换和 checkpoint-engine 的权重分发为例,说明结构化对象、注册缓冲区与批量 I/O 如何减少序列化、内存拷贝和碎片化传输开销。
报告将结合公开案例说明各能力的实现状态与适用边界,区分缓存命中率、实际恢复收益、组件传输性能和端到端吞吐。听众将获得面向 Agent 推理与 RL 工作负载的数据架构设计方法,以及判断“存储、搬运还是重计算”的评估思路。
FlyDSL is an open-source Python DSL and MLIR compiler for AMD GPUs that makes tiling, data movement and instruction mapping explicit through layout algebra. Its kernels now reach PyTorch users without model code changes, in both eager mode and graph mode through TorchInductor.
This two-part talk first covers how to register a new DSL backend in PyTorch and autotune it against ATen and Triton. We will also introduce the optimization in the upstreamed FlyDSL kernel in PyTorch. On AMD Instinct MI355X, FlyDSL speeds up BF16 GEMM by 1.10x (geometric mean) over the faster of ATen and Triton backend, MoE grouped GEMM by 1.20x over Triton, and MXFP8/MXFP4 scaled GEMM by 1.58x/1.68x over Aten backend.
The second part explains how FlyDSL separates a target-neutral core from target-specific copy/MMA atoms, lowering and runtime. We show how to register a new GPU vendor by implementing only the target-specific part, and how it then inherits the rest of the stack for free.
vLLM's wheels now survive PyTorch upgrades without a rebuild thanks to the LibTorch Stable ABI, and SGLang is following. Upstream guides cover in-tree builds, but many accelerators integrate through PrivateUse1, where stable-ABI kernels register under built-in dispatch keys and rely on device-specific helpers. Every such vendor ends up rebuilding the same bridge.
Using Moore Threads MUSA as a worked example, this talk gives PrivateUse1 vendors a three-part playbook: what your backend must provide (stable C shim coverage, the guard and stream hooks that device-generic APIs depend on, and vendor helpers that become part of your ABI promise); how to reuse vLLM and SGLang stable-ABI kernels without forking them (re-registering under PrivateUse1, backporting headers when your release lags upstream, version gating, and APIs better left unshimmed); and how to prove binary compatibility on your device. Each step is backed by open-source PRs in torch_musa, torchada, vLLM-MUSA and SGLang. We close with upstream changes that would let the next PrivateUse1 backend get this for free.
Using the DeepSeek V4/V4.1 model series as examples, this talk explores the end-to-end process of bringing LLMs to MLU, from Day 0 adaptation to high-performance inference. Key topics include performance modeling, quantization, inference framework optimization, and kernel optimization. The discussion highlights the technical challenges and optimization approaches at each level, as well as how they work together across the stack. Practical examples demonstrate how hardware-software co-optimization improves inference efficiency and deployment performance. The talk also shares reusable engineering insights and best practices to help developers adapt and deploy models more efficiently across different hardware backends.
RISC-V offers a flexible foundation for AI computing. The growing diversity of vector and matrix extensions creates new opportunities for AI acceleration. However, running PyTorch efficiently on RISC-V remains challenging due to differences in hardware capabilities, software support, and kernel optimization.
This talk reviews upstream PyTorch support for RISC-V and RuyiAI's contributions. Our work includes native builds, hardware-based CI, architecture-specific optimizations, and regression testing. We share results from the official PyTorch CPU test suite on real RISC-V hardware, where the majority of executed tests passed, and discuss remaining compatibility issues and gaps in test coverage.
Beyond upstream support, we show how the RuyiAI software stack enables PyTorch deployment through Buddy Compiler. The JIT path integrates with `torch.compile` and supports over 85% of PyTorch operators, while the AOT path supports speech, vision, audio, scientific computing, and retrieval and matching workloads. On SpacemiT K3, our approach achieves 1.56× prefill and 1.04× decode throughput compared with llama.cpp on DeepSeek-R1-Distill-Qwen-1.5B at the same weight precision.