PyTorch Conference北美站:Ray分布式训练与工程实践指南
A Ray-Focused Guide to PyTorch Conference North America
汇集LinkedIn、Uber等大厂一线工程复盘,提供Ray分布式训练、数据管道优化及后训练编排的可复用架构与参数经验,适合负责AI基础设施与大规模训练平台的工程师参考。
TL;DR
TL;DR(太长不看)
In only a few weeks, PyTorch Conference North America 2026 will begin in San Jose, bringing together the open source AI community to share ideas and collaborate. If you’ve heard of Ray but never had a reason to dig in, this is the year as more teams seek to scale AI on top of their own secure and governed AI infrastructure.
在短短几周内,PyTorch Conference North America 2026 将在圣何塞拉开帷幕,汇聚开源 AI 社区分享理念并开展协作。如果你听说过 Ray 但从未深入探究,那么今年正是好时机,因为越来越多的团队希望在自身安全且受管控的 AI 基础设施之上扩展 AI 规模。
Ray is a distributed compute framework that helps teams scale any AI framework, library or model. It provides a consistent surface for developers to go from curating petabytes of multimodal data, to training a model across multiple nodes and then deploying it in production whether it’s on VMs or a Kubernetes-managed cluster. That coverage across the full AI lifecycle is also why Ray has become the standard substrate for post training and reinforcement learning (RL) at labs like Cursor, Microsoft AI and NVIDIA. Whether you’re new to distributed PyTorch or already running Ray in production, here’s your guide to the sessions worth blocking off on your schedule.
Ray 是一个分布式计算框架,帮助团队扩展任何 AI 框架、库或模型。它为开发者提供了一致的接口,使其能够从整理 PB 级多模态数据开始,跨多个节点训练模型,然后将其部署到生产环境中,无论是运行在虚拟机上还是 Kubernetes 管理的集群中。这种覆盖整个 AI 生命周期的能力也是为什么 Ray 成为 Cursor、Microsoft AI 和 NVIDIA 等实验室在后训练和强化学习(RL)方面的标准基础层。无论你是分布式 PyTorch 的新手,还是已经在生产中运行 Ray,这里有一份指南,帮助你规划值得列入日程的会议环节。
The open source AI compute stack
开源 AI 计算栈
Keynote: Evolving Ray and Kubernetes Together for the AI Era
主旨演讲:在 AI 时代共同演进 Ray 与 Kubernetes
Ion Stoica, Anyscale / Databricks / UC Berkeley · Tue 9:35 AM · Grand Ballroom
Ion Stoica,Anyscale / Databricks / UC 伯克利 · 周二上午 9:35 · 大宴会厅
Ray co-creator Ion Stoica will deliver a keynote on where Ray and Kubernetes are headed together in the AI era.
Ray 联合创始人 Ion Stoica 将发表主旨演讲,探讨在 AI 时代 Ray 与 Kubernetes 的共同发展方向。
Crossing the Divide: Co-Evolving Kubernetes and Ray for the AI Era
跨越鸿沟:在 AI 时代协同演进 Kubernetes 与 Ray
Jago Macleod, Google, Ion Stoica, Anyscale / Databricks / UC Berkeley · Tue 2:50 PM · Room 210BF
Jago Macleod,Google;Ion Stoica,Anyscale / Databricks / UC 伯克利 · 周二下午 2:50 · 210BF 会议室
The AI workload orchestration landscape is currently split across two massive, parallel universes: the CNCF (the bedrock of cloud native and modern infrastructure) and the PyTorch Foundation (the epicenter of AI/ML innovation). While these foundations operate independently, the end user does not have the luxury of choosing just one. PyTorch Foundation contains PyTorch, vLLM, Ray, and more, while CNCF owns Kubernetes, Envoy, OpenTelemetry, llm-d, containerd and more. To build, deploy, and scale modern AI applications, users require a seamless integration of projects from both ecosystems. This session will explore the critical bridge connecting these communities: the co-evolution of Kubernetes and Ray into a unified OSS AI Stack. We will discuss how Google and Anyscale, together with the broader community, are actively collaborating to build an open, vertically integrated stack that prevents ecosystem fragmentation.
当前的 AI 工作负载编排格局分裂为两个庞大且平行的宇宙:CNCF(云原生和现代基础设施的基石)和 PyTorch Foundation(AI/ML 创新的中心)。虽然这些基金会独立运作,但终端用户并没有只选择其中之一的奢侈。PyTorch Foundation 包含 PyTorch、vLLM、Ray 等,而 CNCF 拥有 Kubernetes、Envoy、OpenTelemetry、llm-d、containerd 等。为了构建、部署和扩展现代 AI 应用,用户需要这两个生态系统中项目的无缝集成。本次会议将探索连接这两个社区的关键桥梁:Kubernetes 与 Ray 共同演变为统一的开源 AI 栈。我们将讨论 Google 和 Anyscale 如何与更广泛的社区积极合作,构建一个开放的、垂直整合的栈,以防止生态系统碎片化。
Production-scale data curation and model training
生产规模的数据策展与模型训练
Ray All the Way Down: A Heterogeneous, Elastic PyTorch Training Stack at LinkedIn
Ray 贯穿始终:LinkedIn 的异构弹性 PyTorch 训练栈
Tommy Li, Tao Huang, LinkedIn · Tue 3:25 PM · Room 210AE
Tommy Li,黄涛,LinkedIn · 周二 下午3:25 · 210AE室
If you want a concrete blueprint for scaling PyTorch past a single machine, this is the session to attend. LinkedIn’s team walks through a three-layer Ray-based training stack: a Ray-actor-based data loading library that streams Avro, Parquet, and Iceberg; a Ray Train framework layered with FSDP, HSDP, elastic scaling, and async checkpointing; and an on-demand cluster provisioning platform. The core lesson? Keep data loading off the GPUs by routing it through dedicated CPU nodes over a zero-copy bridge. This led to a 50–70% cut in dataloader memory and a scenario where they had to work around Ray to reclaim 24% of their step time. This use case is practical, specific, and reusable well beyond LinkedIn’s stack.
如果你想要一个将 PyTorch 扩展至单机之外的具体蓝图,那么这场会议是你必听的。LinkedIn 的团队详细介绍了一个基于 Ray 的三层训练栈:一个基于 Ray Actor 的数据加载库,用于流式传输 Avro、Parquet 和 Iceberg;一个叠加了 FSDP、HSDP、弹性扩缩容和异步检查点的 Ray Train 框架;以及一个按需集群供应平台。核心经验是什么?通过零拷贝桥接将数据加载路由到专用的 CPU 节点上,从而让 GPU 免于承担数据加载任务。这使得 DataLoader 内存减少了 50%–70%,并且出现了一种需要绕过 Ray 以回收 24% 步骤时间的场景。这个用例非常实用、具体,且可复用性远超 LinkedIn 自身的栈。
PyTorch-Native Feature Transformation and Training Framework for Uber Eats Recommendation
Uber Eats 推荐系统的 PyTorch 原生特征转换与训练框架
Peng Zhang, Ke Chen, Xandra Zhu, Uber · Oct 21 · 4:55–5:20 PM · Room LL20CD
Peng Zhang,Ke Chen,Xandra Zhu,Uber · 10月21日 · 下午4:55–5:20 · LL20CD室
Uber’s talk on migrating the Eats recommendation stack from TensorFlow/Horovod to PyTorch leans on Ray Data as a core piece of the redesign, replacing legacy Spark-based preprocessing with distributed feature-stat computation and zero-copy batch transformations. The results are striking: a 5x speedup and 90% lower memory usage for data transformation, plus a 20x improvement in training throughput.
Uber 关于将 Eats 推荐栈从 TensorFlow/Horovod 迁移到 PyTorch 的演讲依赖于 Ray Data 作为重新设计的核心组件,用分布式特征统计计算和零拷贝批量转换取代了基于 Spark 的传统预处理。结果令人瞩目:数据转换速度提升了 5 倍,内存使用降低了 90%,训练吞吐量提高了 20 倍。
Scaling the LLM Serving Layer with Ray
使用 Ray 扩展 LLM 服务层
Ray isn’t just powering dedicated training sessions this year, it’s also showing up as critical infrastructure inside talks with a different primary focus:
Ray 今年不仅为专门的训练会话提供动力,还出现在主要焦点不同的演讲中,成为关键基础设施:
Keeping GPUs Busy: High-Speed Storage for PyTorch via fsspec
保持 GPU 忙碌:通过 fsspec 为 PyTorch 提供高速存储
Ankita Luthra, Trinadh Kotturu, Google · Tue 3:40 PM · Room LL21DEF
Ankita Luthra,Trinadh Kotturu,Google · 周二 下午3:40 · LL21DEF室
A bottleneck has shifted from compute to storage: GPUs sitting idle while waiting on legacy REST-based data access. The proposed fix, Rapid Storage, brings a high-throughput gRPC-based protocol to PyTorch via fsspec. According to the team, the payoff extends across the fsspec ecosystem – including Ray, alongside Dask, HF Datasets, and vLLM. If your Ray Data pipelines are storage-bound, this session is worth a visit.
瓶颈已从计算转移到存储:GPU 因等待基于传统 REST 的数据访问而闲置。提出的解决方案 Rapid Storage 通过 fsspec 将一种基于 gRPC 的高吞吐协议引入 PyTorch。据团队介绍,收益扩展到整个 fsspec 生态系统——包括 Ray,以及 Dask、HF Datasets 和 vLLM。如果你的 Ray Data 管道受限于存储,那么这场会议值得参加。
From PyTorch to Production: Serving a Physics-Constrained Generative Model with ONNX, Ray, and vLLM
从 PyTorch 到生产环境:使用 ONNX、Ray 和 vLLM 部署物理约束生成模型
Arun Sharma, University of Minnesota · Tue 2:50–3:15 PM · Room 210AE
Arun Sharma,明尼苏达大学 · 周二 下午2:50–3:15 · 210AE室
A deep engineering narrative following a physics-constrained generative model – PC-RF, a conditional rectified-flow model for climate downscaling – from training through to a served, production stack. The talk covers exporting to ONNX two different ways, running the flow-matching sampler outside the graph, and enforcing physics constraints at inference time. Ray shows up as part of the training recipe used to scale the model, with the serving path fanning out into ONNX Runtime, Temporal, and a vLLM agent.
一篇深入的工程叙事,讲述了一个受物理约束的生成模型——PC-RF(一种用于气候降尺度的条件整流流模型)——从训练到部署的生产栈的全过程。演讲涵盖了两种不同的 ONNX 导出方式、在图外运行流匹配采样器,以及在推理时强制执行物理约束。Ray 作为用于扩展模型的训练配方的一部分出现,而服务路径则扩展到 ONNX Runtime、Temporal 和一个 vLLM 智能体。
Post-training and RL with Ray
使用 Ray 进行后训练和强化学习
Building a Post-Training Platform for Teams That Don’t Own the Training Loop
为不拥有训练循环的团队构建后训练平台
Gaurav Arora, Shunyao Li, Eric Wang, Pinterest · Weds 3:25–3:50 PM · Room LL20CD
Gaurav Arora, Shunyao Li, Eric Wang, Pinterest · 周三下午 3:25–3:50 · LL20CD 房间
As post-training expanded across teams at Pinterest (SFT, DPO, GRPO on vision-language models), each built its own stack: different frameworks, data formats, and distributed strategies. Teams spent weeks integrating OSS frameworks with internal infra before training a single step. Our traditional ML platform (MLEnv) owned the PyTorch training loop and reached 95% adoption. Post-training broke that: the loop now lives inside fast-moving OSS frameworks releasing monthly with new techniques. We built PTEnv – a lifecycle harness for PyTorch-based post-training, owning everything around the loop (data, orchestration, scaling, eval, export) while delegating the inner loop to OSS frameworks. The same interface supports subprocess execution with Ray for RL and in-process with MS-Swift using PyTorch FSDP/DDP for SFT – framework choice is a config line, not a rewrite. This talk covers the harness architecture, production gotchas training VLMs at scale (weight sync bottlenecks, MoE workarounds), post training optimization on real workloads, and framework-agnostic eval with LLM-as-judge. A practical talk for platform teams supporting multiple post-training workloads.
随着后训练在 Pinterest 各团队中的扩展(针对视觉语言模型的 SFT、DPO、GRPO),每个团队都构建了各自的栈:不同的框架、数据格式和分布式策略。团队在训练单个步骤之前,花费数周时间将开源框架与内部基础设施集成。我们传统的机器学习平台(MLEnv)拥有 PyTorch 训练循环,并达到了 95% 的采用率。后训练打破了这一局面:循环现在位于快速迭代的开源框架中,每月发布带有新技术的版本。我们构建了 PTEnv——一个基于 PyTorch 的后训练生命周期工具包,掌控循环周围的一切(数据、编排、扩展、评估、导出),同时将内部循环委托给开源框架。相同的接口支持使用 Ray 进行子进程执行以进行强化学习,以及使用 MS-Swift 结合 PyTorch FSDP/DDP 进行进程内执行以进行 SFT——框架选择只是一行配置,而非重写。本次演讲涵盖工具包架构、大规模训练 VLM 的生产陷阱(权重同步瓶颈、MoE 变通方法)、真实工作负载上的后训练优化,以及基于 LLM-as-judge 的框架无关评估。这是一次面向支持多种后训练工作负载的平台团队的实用演讲。
SkyRL: Democratizing Scalable RL Training
SkyRL:普及可扩展的强化学习训练
Sumanth Hedge, Eric Tang, Anyscale · Oct 20 4:55 PM-5:20 PM · LL20A (Lower Level)
Sumanth Hedge, Eric Tang, Anyscale · 10月20日 下午 4:55-5:20 · LL20A(下层)
Agents have taken center stage in 2026, with ever-growing interest from companies in training custom agents with reinforcement learning. As agents shift to longer horizon, multi-turn interactions, the systems challenges and requirements on underlying training infrastructure have also evolved. SkyRL is a modular, performant RL library built to meet this growing demand for customization and scalability. This talk traces where SkyRL started – a set of modular APIs decoupling training, inference, and environments orchestrated with Ray – and where it is today. The session will cover:
2026年,智能体(Agents)成为焦点,企业对其利用强化学习训练定制智能体的兴趣日益浓厚。随着智能体向长视界、多轮交互转变,底层训练基础设施面临的系统挑战与需求也随之演进。SkyRL 是一个模块化、高性能的强化学习库,旨在满足这一日益增长的定制化和可扩展性需求。本次演讲将回顾 SkyRL 的起点——一套通过 Ray 编排、解耦训练、推理和环境的模块化 API——以及它当前的状态。会议内容将涵盖:
- How SkyRL provides scalable fully async RL training on 350 billion+ parameter MoE models with Megatron and vLLM
- SkyRL’s multi-tenant Tinker Engine, which allows researchers to efficiently use their own hardware for RL training while using Tinker’s flexible training APIs to iterate on recipes
- SkyRL’s redesign towards HTTP-based APIs for scalable inference, and our contributions of native RL APIs to vLLM
- Community recipes built on top of SkyRL including large MoE training on long-horizon tasks, custom recursive language models, and more.
- SkyRL 如何结合 Megatron 和 vLLM,在拥有 3500 亿以上参数的 MoE 模型上提供可扩展的完全异步强化学习训练
- SkyRL 的多租户 Tinker Engine,允许研究人员高效利用自有硬件进行强化学习训练,同时使用 Tinker 灵活的训练 API 迭代配方(recipes)
- SkyRL 面向可扩展推理的重构,转向基于 HTTP 的 API,以及我们为 vLLM 贡献的原生 RL API
- 基于 SkyRL 构建的社区配方,包括长视界任务上的大型 MoE 训练、自定义递归语言模型等。
Demo Theater
演示剧场
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力