NVIDIA Run:ai 开源,提供 Kubernetes GPU 编排与调度
NVIDIA Open Sources Run:ai Under Apache 2.0 for Kubernetes GPU Orchestration
做 MLOps 的同学必看,Run:ai 终于开源了,CUDA 原生切分和完整调度能力直接落地,赶紧去 GitHub 看看。
NVIDIA has released the full NVIDIA Run:ai platform as open source software. The source code ships under the Apache 2.0 license on GitHub. NVIDIA Run:ai open source puts production GPU scheduling, quotas and workload management in developers’ hands. The release, makes Run:ai part of the NVIDIA DSX AI Factory platform. Platform teams can now inspect, fork and self-host the stack without a paid subscription.
NVIDIA 已将完整的 NVIDIA Run:ai 平台作为开源软件发布。源代码在 GitHub 上以 Apache 2.0 许可证提供。NVIDIA Run:ai 开源版将生产级 GPU 调度、配额和工作负载管理交到了开发者手中。此次发布使 Run:ai 成为 NVIDIA DSX AI Factory 平台的一部分。平台团队现在可以在无需付费订阅的情况下检查、分叉并自托管该堆栈。
TL;DR
TL;DR(太长不看)
- Size: Monorepo with control plane, cluster services, installer, CLI and MCP server. Local dev builds about 50 Go services.
- Runs on: Kubernetes or OpenShift clusters with NVIDIA GPUs. Local dev runs on macOS or Linux with 8 simulated Tesla-A10 GPUs, no GPU needed.
- Performance: NVIDIA published no platform-level benchmark for this release.
- Best: The related Model Streamer loaded models 3x to 6x faster on 8 NVIDIA H100 VMs on Azure.
- Worst: The community edition has no NVIDIA enterprise support. Local builds need 16 GB RAM and 100 GB disk on Linux.
- 规模:包含控制平面、集群服务、安装程序、CLI 和 MCP 服务器的单体仓库。本地开发构建约 50 个 Go 服务。
- 运行环境:支持带有 NVIDIA GPU 的 Kubernetes 或 OpenShift 集群。本地开发可在配备 8 个模拟 Tesla-A10 GPU 的 macOS 或 Linux 上运行,无需真实 GPU。
- 性能:NVIDIA 未为此发布提供平台级别的基准测试数据。
- 最佳表现:相关的 Model Streamer 在 Azure 上的 8 台 NVIDIA H100 VM 上将模型加载速度提高了 3 到 6 倍。
- 最差表现:社区版不提供 NVIDIA 企业级支持。Linux 上的本地构建需要 16 GB 内存和 100 GB 磁盘空间。
What is NVIDIA Run:ai?
什么是 NVIDIA Run:ai?
NVIDIA Run:ai is an AI workload and GPU orchestration platform for Kubernetes from NVIDIA. It schedules development, training and inference workloads across shared GPU clusters. It runs on top of Kubernetes and does not replace it.
NVIDIA Run:ai 是 NVIDIA 推出的面向 Kubernetes 的 AI 工作负载和 GPU 编排平台。它在共享 GPU 集群上调度开发、训练和推理工作负载。它运行在 Kubernetes 之上,并不替代 Kubernetes。
The control plane handles workload submission, resource management and monitoring. Cluster services run on each Kubernetes cluster and add GPU-aware scheduling. Users reach it through a web UI, CLI, REST API and an MCP server for AI assistants.
控制平面负责工作负载提交、资源管理和监控。集群服务在每个 Kubernetes 集群上运行,并添加感知 GPU 的调度功能。用户可以通过 Web UI、CLI、REST API 以及用于 AI 助手的 MCP 服务器访问它。
What are the 4 modular components?
那四个模块化组件是什么?
NVIDIA split the release into 4 components that teams can adopt independently:
NVIDIA 将此次发布拆分为 4 个组件,团队可以独立采用:
- KAI Scheduler is the Kubernetes-native scheduling engine. It is Apache 2.0 and a CNCF Sandbox project. It covers gang scheduling, time-based fair-share, topology awareness, bin-packing and DRA support.
- GPU Fractioning Operator brings CUDA 13.4-native GPU fractions to Kubernetes. The CUDA driver enforces a hard memory limit per workload. NVIDIA retired its older proprietary fractioning in favor of this approach. The operator is scheduler-agnostic and exports per-pod metrics.
- KAI Resource Management adds projects, departments, quotas and node pools. NVIDIA’s example guarantees 50% of a cluster to a research team.
- Workload Map is a Go library that describes workload types such as PyTorchJob, RayCluster and KServe services. It works offline and does not schedule, queue or autoscale.
- KAI Scheduler 是 Kubernetes 原生的调度引擎。它采用 Apache 2.0 许可证,是 CNCF Sandbox 项目。它涵盖并行调度(gang scheduling)、基于时间的公平共享、拓扑感知、装箱算法和 DRA 支持。
- GPU Fractioning Operator 为 Kubernetes 带来原生支持 CUDA 13.4 的 GPU 分数划分功能。CUDA 驱动程序为每个工作负载强制执行严格的内存限制。NVIDIA 已弃用其较旧的专有划分方案,转而采用这种方法。该操作器与调度器无关,并导出每 Pod 指标。
- KAI Resource Management 添加了项目、部门、配额和节点池功能。NVIDIA 的示例确保研究团队获得集群 50% 的资源保障。
- Workload Map 是一个 Go 库,用于描述 PyTorchJob、RayCluster 和 KServe 服务等类型的工作负载。它离线工作,不进行调度、排队或自动扩缩容。
How do developers run NVIDIA Run:ai locally?
开发者如何在本地运行 NVIDIA Run:ai?
The local development guide stands on 1 script, local-dev.sh. It builds about 50 Go services from source inside containers. It then creates a 5-node Kind cluster pinned to Kubernetes v1.32.5. A fake GPU operator simulates 8 Tesla-A10 GPUs, so no GPU hardware is required.
本地开发指南基于一个脚本 local-dev.sh。它在容器内从源码构建约 50 个 Go 服务。随后,它会创建一个绑定到 Kubernetes v1.32.5 的 5 节点 Kind 集群。一个模拟的 GPU 算子可模拟 8 块 Tesla-A10 GPU,因此无需 GPU 硬件。
- Supported hosts: macOS or Linux, on amd64 or arm64. Windows is not supported.
- Linux hosts need 4 CPUs, 16 GB RAM and 100 GB free disk.
- macOS Podman VMs need at least 12 GB RAM.
- 1 full build leaves about 44 GB of caches.
- 支持的宿主机:macOS 或 Linux,amd64 或 arm64 架构。不支持 Windows。
- Linux 宿主机需要 4 个 CPU、16 GB 内存和 100 GB 可用磁盘空间。
- macOS Podman VM 至少需要 12 GB 内存。
- 一次完整构建会留下约 44 GB 的缓存。
The --gpu-operator flag switches to real NVIDIA GPUs. That mode needs Linux, Docker and the NVIDIA Container Toolkit. AMD and Intel accelerators are not supported.
--gpu-operator 标志切换至使用真实的 NVIDIA GPU。该模式需要 Linux、Docker 和 NVIDIA Container Toolkit。不支持 AMD 和 Intel 加速器。
How can teams deploy it in production?
团队如何在生产环境中部署它?
Dev teams can deploy from source or from the NGC Community Product Helm chart. That edition needs no paid subscription but excludes NVIDIA enterprise support.
开发团队可以从源码或 NGC Community Product Helm 图表进行部署。该版本无需付费订阅,但不包含 NVIDIA 企业支持。
Teams can also adopt it through 8 DSX ecosystem partners. These are Crusoe, Mirantis, Nebius, OpenNebula Systems, Rafay, Saturn Cloud, Spectro Cloud and vCluster. Supported commercial editions continue through NVIDIA AI Enterprise, NVIDIA Mission Control and select cloud marketplaces.
团队也可以通过 8 家 DSX 生态系统合作伙伴采用它。这些合作伙伴包括 Crusoe、Mirantis、Nebius、OpenNebula Systems、Rafay、Saturn Cloud、Spectro Cloud 和 vCluster。受支持的商业版通过 NVIDIA AI Enterprise、NVIDIA Mission Control 以及选定的云市场继续提供。
What related open source projects ship alongside?
有哪些相关的开源项目一同发布?
Two adjacent projects round out the stack. Model Streamer streams model weights directly into GPU memory. vLLM and SGLang enable it with --load-format runai_streamer.
两个相邻的项目完善了整个技术栈。Model Streamer 直接将模型权重流式传输到 GPU 内存中。vLLM 和 SGLang 通过 --load-format runai_streamer 启用此功能。
Microsoft’s published benchmark used 8 NVIDIA H100 VMs. It showed 3x to 6x faster loading than the default loader. Throughput held at 80 Gbps versus about 40 Gbps on the default path.
微软发布的基准测试使用了 8 台 NVIDIA H100 VM。结果显示,其加载速度比默认加载器快 3 到 6 倍。吞吐量保持在 80 Gbps,而默认路径约为 40 Gbps。
Grove orchestrates multicomponent inference workloads. It starts components such as prefill and decode as all-or-nothing units.
Grove 编排多组件推理工作负载。它将预填充(prefill)和解码(decode)等组件作为整体单元启动。
How does NVIDIA Run:ai compare with other open source Kubernetes schedulers?
NVIDIA Run:ai 与其他开源 Kubernetes 调度程序相比如何?
| Feature | NVIDIA Run:ai (open source) | Volcano | Kueue | Apache YuniKorn |
|---|---|---|---|---|
| License | Apache 2.0 | Apache 2.0 | Apache 2.0 | Apache 2.0 |
| Governance | NVIDIA DSX AI Factory org (KAI Scheduler: CNCF Sandbox) | CNCF Incubating | kubernetes-sigs (wg-batch) | Apache Software Foundation |
| Scope | Full platform: control plane, UI, CLI, REST API, MCP server | Batch scheduling system | Job queueing controller | Scheduler, alternative to default |
| Replaces kube-scheduler | No, extends it with KAI Scheduler | Not disclosed | No | Yes, as an alternative |
| Gang scheduling | Yes | Yes | Timeout-based all-or-nothing | Yes |
| Quota hierarchy | Projects, departments, node pools | Multi-level queues | Cohorts, fair sharing | Hierarchical queues |
| GPU sharing | CUDA 13.4-native fractions with hard memory limits | vGPU, dynamic MIG | DRA-based GPU quota; fractioning not in overview | Not disclosed |
| Topology-aware | Yes | Yes | Yes | Not disclosed |
| Multi-cluster | Yes, via control plane | Yes | Yes, MultiKueue | Not disclosed |
| Web UI | Yes | Separate dashboard project | Not disclosed | Not disclosed |
| 功能 | NVIDIA Run:ai(开源) | Volcano | Kueue | Apache YuniKorn |
|---|---|---|---|---|
| 许可证 | Apache 2.0 | Apache 2.0 | Apache 2.0 | Apache 2.0 |
| 治理 | NVIDIA DSX AI Factory org(KAI Scheduler:CNCF Sandbox) | CNCF Incubating | kubernetes-sigs (wg-batch) | Apache Software Foundation |
| 范围 | 完整平台:控制平面、UI、CLI、REST API、MCP 服务器 | 批处理调度系统 | 作业队列控制器 | 调度器,默认方案的替代方案 |
| 是否替换 kube-scheduler | 否,通过 KAI Scheduler 扩展它 | 未披露 | 否 | 是,作为替代方案 |
| Gang 调度 | 是 | 是 | 基于超时的全有或全无策略 | 是 |
| 配额层级 | 项目、部门、节点池 | 多级队列 | Cohorts、公平共享 | 分层队列 |
| GPU 共享 | CUDA 13.4 原生分数化,带硬性内存限制 | vGPU、动态 MIG | 基于 DRA 的 GPU 配额;概览中未提及分数化 | 未披露 |
| 拓扑感知 | 是 | 是 | 是 | 未披露 |
| 多集群 | 是,通过控制平面 | 是 | 是,MultiKueue | 未披露 |
| Web UI | 是 | 独立仪表板项目 | 未披露 | 未披露 |
The key difference is scope. Volcano, Kueue and YuniKorn focus on scheduling or queueing. Run:ai ships a full management platform on top of its scheduler.
关键区别在于范围。Volcano、Kueue 和 YuniKorn 专注于调度或队列管理。Run:ai 在其调度器之上提供了一套完整的管理平台。
Key Takeaways
关键要点
- NVIDIA Run:ai is now fully open source under Apache 2.0.
- 4 components ship standalone: KAI Scheduler, GPU Fractioning, Resource Management, Workload Map.
- GPU fractioning now uses CUDA 13.4-native memory isolation.
- Local dev runs on a 5-node Kind cluster with 8 simulated GPUs.
- The free edition excludes NVIDIA enterprise support.
- NVIDIA Run:ai 现在完全以 Apache 2.0 许可证开源。
- 4 个组件独立发布:KAI Scheduler、GPU Fractioning、Resource Management、Workload Map。
- GPU 分数化现在使用基于 CUDA 13.4 原生的内存隔离技术。
- 本地开发在包含 8 个模拟 GPU 的 5 节点 Kind 集群上运行。
- 免费版本不包含 NVIDIA 企业级支持。
Check out the GitHub repo, the local dev guide and NVIDIA’s technical blog. All credit goes to the researcher of this project. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.
请查看 GitHub 仓库、本地开发指南以及 NVIDIA 的技术博客。所有功劳归于该项目的研究者。此外,欢迎在 Twitter 上关注我们,并别忘了加入我们拥有 15 万+成员的 ML SubReddit 以及订阅我们的新闻通讯。等等!你在 Telegram 上吗?现在你也可以加入我们的 Telegram 群组。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力