跳到主内容
@wquguru
精选88PyTorch 博客(RSS)产品发布/更新

KubeCon 2026:Kubeflow毕业 Ray加入CNCF

PyTorch Foundation Projects Featured in the Cloud Native AI Stack at KubeCon + CloudNativeCon North America 2026

原文
发到 X
推荐理由

梳理了 PyTorch 生态在 K8s 上的最新落地进展,特别是 Kubeflow 毕业和 vLLM 冷启动优化的具体数据,对做 AI Infra 的同学很有参考价值。

TL;DR

TL;DR(太长不看)

At KubeCon + CloudNativeCon North America 2026 in Salt Lake City, PyTorch Foundation projects showed up on the keynote stage again and again: PyTorch and DeepSpeed in Kubeflow’s graduation, Ray through KubeRay’s move into the CNCF, and vLLM alongside llm-d as production inference and multi-agent workloads scaled on Kubernetes. Open source AI is now running on open cloud native infrastructure, and the two communities are building it together.

在盐湖城举行的 KubeCon + CloudNativeCon North America 2026 大会上,PyTorch Foundation 的项目再次频频亮相主题演讲舞台:Kubeflow 的毕业项目中包含了 PyTorch 和 DeepSpeed,Ray 通过 KubeRay 加入 CNCF,而 vLLM 与 llm-d 则展示了随着 Kubernetes 上生产环境推理和多智能体工作负载的扩展,它们如何协同工作。开源 AI 现在正运行在开放的云原生基础设施之上,这两个社区正在共同构建这一生态。

This year’s KubeCon opened with a striking number: inference traffic across the industry has grown 4x in the last eight months and agents now make up more than 70% of all inference traffic. As CNCF Executive Director, Jonathan Bryce, put it, “inference didn’t just stay a cloud-native opportunity, it’s now truly a cloud-native production workload.” That shift put the PyTorch Foundation’s community front and center. Training, reinforcement learning (RL), inference and agents all depend on projects hosted by the PyTorch Foundation, and all of them run on Kubernetes. Here is what that looked like from the keynote stage.

今年的 KubeCon 以一个引人注目的数字开场:过去八个月内,全行业的推理流量增长了 4 倍,且智能体(agents)现已占所有推理流量的 70% 以上。正如 CNCF 执行总监 Jonathan Bryce 所言:“推理不再仅仅是一个云原生机会,它现在真正成为了云原生生产工作负载。”这一转变将 PyTorch Foundation 的社区推到了前台中心位置。训练、强化学习(RL)、推理和智能体都依赖于由 PyTorch Foundation 托管的项目,并且它们都在 Kubernetes 上运行。以下是从主题演讲舞台上看到的情况。

Kubeflow graduates from the CNCF, built together with PyTorch

Kubeflow 从 CNCF 毕业,与 PyTorch 共同构建

The Kubeflow community announced on stage that the project has officially graduated from the CNCF, the foundation’s highest maturity level. Since launching in 2017, Kubeflow has passed 500 million downloads and grown to nearly 9,000 contributors. Kubeflow subprojects cover the full AI & ML lifecycle on Kubernetes: Spark Operator for data processing, Trainer for distributed training and reinforcement learning, Katib for hyperparameter optimization, Notebooks for interactive workspaces, Pipelines for end-to-end workflows, and Hub as an AI catalog and model registry.

Kubeflow 社区在台上宣布,该项目已从 CNCF 正式毕业,这是基金会设定的最高成熟度级别。自 2017 年发布以来,Kubeflow 已突破 5 亿次下载量,贡献者数量增长至近 9,000 人。Kubeflow 子项目覆盖了 Kubernetes 上的完整 AI & ML 生命周期:Spark Operator 用于数据处理,Trainer 用于分布式训练和强化学习,Katib 用于超参数优化,Notebooks 用于交互式工作区,Pipelines 用于端到端工作流,Hub 作为 AI 目录和模型注册表。

Ron Kahn and Ekin Karabulut of NVIDIA, Andrey Velichkevich of Apple, and Vara Bonthu and Manabu McCloskey of AWS shared how they built it. The keynote credited PyTorch and DeepSpeed, highlighted two examples of cross-project collaboration demonstrating how Kubeflow is helping bridge the Cloud Native and PyTorch ecosystems:

来自 NVIDIA 的 Ron Kahn 和 Ekin Karabulut、Apple 的 Andrey Velichkevich,以及 AWS 的 Vara Bonthu 和 Manabu McCloskey 分享了他们的构建经验。主题演讲中提到了 PyTorch 和 DeepSpeed,并突出了两个跨项目协作的案例,展示了 Kubeflow 如何帮助弥合云原生和 PyTorch 生态系统之间的差距:

  • Elastic PyTorch on Kubernetes: collaboration between the communities brought TorchElastic to Kubernetes, helping make elastic distributed training a first-class support in PyTorch. This capability later became part of torchrun.
  • Gang scheduling for PyTorchJobs: NVIDIA’s Run:ai team built on Kubeflow Trainer alongside KAI Scheduler, a CNCF sandbox project, to gang-schedule PyTorchJobs and other distributed workloads with topology awareness, so leaders and workers start together on the same rack.
  • Kubernetes 上的 Elastic PyTorch:社区间的合作将 TorchElastic 引入 Kubernetes,帮助使弹性分布式训练成为 PyTorch 的一等支持功能。此功能后来成为了 torchrun 的一部分。
  • PyTorchJobs 的 Gang 调度:NVIDIA 的 Run:ai 团队在 Kubeflow Trainer 之上构建了 KAI Scheduler(一个 CNCF 沙箱项目),以实现具有拓扑感知能力的 PyTorchJobs 及其他分布式工作负载的 Gang 调度,使主节点和工作节点能够在同一机架中同时启动。

The lesson for PyTorch developers is practical: you can run distributed PyTorch on a project that is now provided to last without becoming a Kubernetes specialist. Projects like Kubeflow Trainer are bridging that gap, bringing together the strengths of the Cloud Native and AI communities to make distributed workloads easier to deploy, schedule, and scale.

对 PyTorch 开发者的启示是务实的:你可以运行分布式 PyTorch,而无需成为 Kubernetes 专家即可长期维护该项目。Kubeflow Trainer 等项目正在弥合这一差距,汇聚云原生社区和 AI 社区的优势,使分布式工作负载更易于部署、调度和扩展。

Ray and Kubernetes come together through KubeRay

Ray 与 Kubernetes 通过 KubeRay 实现融合

Robert Nishihara, co-founder of Anyscale and co-creator of Ray, announced that KubeRay is joining the CNCF as a sandbox project. KubeRay has been community driven from the start, with major contributions from Google, Microsoft, and many other companies.

Anyscale 联合创始人、Ray 联合创作者 Robert Nishihara 宣布,KubeRay 将作为沙箱项目加入 CNCF。KubeRay 自诞生起便由社区驱动,得到了 Google、Microsoft 等许多公司的重大贡献。

Ray is the distributed computing framework behind frontier-scale AI. Nishihara pointed to the GLM models, Cursor’s models, NVIDIA’s Nemotron models, and models from Reflection, Microsoft AI, Mistral, and Periodic Labs as examples built with Ray, noting that RL is one of its primary use cases.

Ray 是支撑前沿规模 AI 的分布式计算框架。Nishihara 列举了使用 Ray 构建的 GLM 模型、Cursor 模型、NVIDIA Nemotron 模型以及 Reflection、Microsoft AI、Mistral 和 Periodic Labs 的模型作为示例,并指出强化学习(RL)是其核心应用场景之一。

Nishihara’s explanation of why Ray and Kubernetes fit together is worth reiterating. A single RL workload can involve training, inference, sandboxes, and rollout agents, tightly coupled by fast weight sync and constant data movement, each with its own failure handling, hardware requirements, and topology needs. Kubernetes manages the cluster. Ray is the workload runtime inside it, providing process scheduling, coordination, data movement, and failure handling. Because the two can share information and co-evolve, they cover everything from individual workload components up to the whole cluster. CNCF’s Jonathan Bryce called it a great example of collaboration across open source communities.

Nishihara 关于 Ray 与 Kubernetes 为何契合的解释值得重申。单个 RL 工作负载可能涉及训练、推理、沙箱和 rollout 代理,它们通过快速的权重同步和持续的数据移动紧密耦合,各自拥有独立的故障处理机制、硬件需求和拓扑需求。Kubernetes 负责管理集群,而 Ray 则是其内部的工作负载运行时,提供进程调度、协调、数据移动和故障处理功能。由于两者可以共享信息并协同演进,它们能够覆盖从单个工作负载组件到整个集群的所有层面。CNCF 的 Jonathan Bryce 称其为开源社区间协作的典范。

vLLM and production lessons

vLLM 与生产经验教训

Rita Zhang of CoreWeave, a long-time Kubernetes contributor and maintainer, described what it looks like to run open source AI in production. CoreWeave contributes production hardening and API correctness fixes into vLLM, learned from running inference and RL workloads. The same theme ran through the llm-d demo run live at PyTorch Conference in October (see the full session below) that Jonathan Bryce played as a clip during his keynote. ​​llm-d is a Kubernetes-native distributed inference framework for serving large language models at scale, with vLLM as its primary inference engine. llm-d coordinates a fleet of vLLM instances across a cluster so that performance holds up under production traffic. The demo ran a thousand Hermes agents on a fixed set of GPUs and increased throughput without growing the footprint. It is another proof point of the cross-community collaboration that is accelerating and improving the deployment of AI.

CoreWeave 的 Rita Zhang 是长期 Kubernetes 贡献者和维护者,她描述了在生产环境中运行开源 AI 的现状。CoreWeave 从运行推理和强化学习(RL)工作负载的经验中汲取教训,向 vLLM 贡献了生产环境加固和 API 正确性修复。这一主题贯穿了 PyTorch 大会十月期间现场演示的 llm-d 演示(见下方完整会议录像),Jonathan Bryce 在其主旨演讲中将其作为片段播放。llm-d 是一个原生 Kubernetes 分布式推理框架,用于大规模服务大语言模型,以 vLLM 作为其主要推理引擎。llm-d 协调集群中的 vLLM 实例群,以确保在应对生产流量时性能保持稳定。该演示在一组固定的 GPU 上运行了一千个 Hermes 智能体,并在不增加资源占用的情况下提高了吞吐量。这是跨社区协作加速和改进 AI 部署的又一个有力证明。

For anyone running vLLM on Kubernetes, Jooho Lee of Red Hat and Vishwa Hiren Gandhi of Oracle presented on reducing vLLM pod cold starts with KServe kernel caching. Teams often blame slow cold starts on model loading, but a large share of the delay comes from GPU kernel compilation, which repeats on every new pod and every restart even when model weights are cached. The speakers’ KServe-based approach captures the compiled kernels during the first cold start, stores them as signed OCI artifacts, and caches them alongside the LLMInferenceService. New pods load the pre-compiled kernels instead of recompiling during scale-out. In their tests under burst traffic, this reduced vLLM pod readiness time by 30 to 70 percent, depending on model size and GPU type. It is a good example of how the vLLM and Kubernetes communities are tuning the details that matter once inference is a production workload.

对于任何在 Kubernetes 上运行 vLLM 的团队,Red Hat 的 Jooho Lee 和 Oracle 的 Vishwa Hiren Gandhi 介绍了如何通过 KServe 内核缓存来减少 vLLM Pod 的冷启动时间。团队通常将缓慢的冷启动归咎于模型加载,但很大一部分延迟来自 GPU 内核编译,即使模型权重已缓存,每次新建 Pod 或重启时都会重复编译。演讲者提出的基于 KServe 的方法会在首次冷启动期间捕获已编译的内核,将其存储为签名 OCI 制品,并与 LLMInferenceService 一起缓存。新 Pod 会加载预编译的内核,而不是在扩展时重新编译。在突发流量的测试中,这使 vLLM Pod 的准备就绪时间减少了 30% 到 70%,具体取决于模型大小和 GPU 类型。这是一个很好的例子,展示了 vLLM 和 Kubernetes 社区如何在推理成为生产工作负载后,调整那些至关重要的细节。

Supporting open source across foundations

支持各基金会下的开源项目

Kevin Cochrane of Vultr called for a return to openness in AI infrastructure. Vultr runs heterogeneous GPU and CPU infrastructure that supports open source frameworks including PyTorch for model training and Kubernetes for inference.

Vultr 的 Kevin Cochrane 呼吁在 AI 基础设施领域回归开放性。Vultr 运行异构 GPU 和 CPU 基础设施,支持包括用于模型训练的 PyTorch 和用于推理的 Kubernetes 在内的开源框架。

That is the same idea the Kubeflow team closed on: no single project, vendor or foundation can solve everything required to build, train and serve AI at scale. When the cloud native infrastructure layer and the open source intelligence layer, which spans training and inference projects like PyTorch, vLLM, DeepSpeed and Ray, work together cleanly, developers get interoperable tools without vendor lock-in, and contributors avoid duplicating effort.

这正是 Kubeflow 团队达成的共识:没有任何单一项目、厂商或基金会能够解决大规模构建、训练和部署 AI 所需的一切。当云原生基础设施层与开源智能层(涵盖 PyTorch、vLLM、DeepSpeed 和 Ray 等训练与推理项目)协同工作时,开发者能够获得可互操作且无厂商锁定风险的工具,贡献者也能避免重复劳动。

Open results compound

开放成果具有复利效应

We believe open results compound when projects share ideas, integrate cleanly and contribute back upstream. This year’s KubeCon + CloudNativeCon demonstrated this firsthand and throughout the week, PyTorch Foundation projects including PyTorch, DeepSpeed, Ray, and vLLM stood out as core building blocks of the modern cloud native AI stack. As PyTorch Foundation projects build and serve intelligence that cloud native technologies help scale, AI reaches new levels.

我们认为,当项目共享理念、无缝集成并向上游回馈时,开放成果会产生复利效应。今年的 KubeCon + CloudNativeCon 大会亲身印证了这一点;在一周的时间里,PyTorch 基金会旗下的项目(包括 PyTorch、DeepSpeed、Ray 和 vLLM)脱颖而出,成为现代云原生 AI 栈的核心构建模块。随着 PyTorch 基金会项目构建并提供由云原生技术助力扩展的智能服务,AI 正迈向新的高度。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件