←新闻详情

NVIDIA Developer · Generative AI更新于 10月13日 20:28

NVIDIA 教程:后训练 Cosmos 3 Edge 实现 Jetson Thor 端侧机器人控制

Post-Train NVIDIA Cosmos 3 Edge for On-Device Robot Control | NVIDIA Technical Blog

AI 导读

NVIDIA 发布教程,介绍如何后训练 4B 的 Cosmos 3 Edge 全能模型,使其在 NVIDIA Jetson Thor 上原生运行机器人操作策略。在 Jetson AGX Thor T5000 上,该策略约 1.53 秒生成一个动作块,单个动作块覆盖约 2.13 秒机器人运动,因此无需数据中心 GPU 即可连续实时控制。在 RoboLab 闭环评测的 120 项语言条件操作任务中,后训练后的 Edge 策略成功率为 22.9%,Nano 为 36.8%。训练数据为 nvidia/Cosmos3-DROID 数据集,含 76k 条成功遥操作轨迹、约 350 小时、86 项任务和 564 个场景;后训练与部署脚本已在开源 cosmos-framework 仓库提供,检查点发布在 Hugging Face。

推荐理由

AI 评分 54

原文给出从后训练到 Jetson Thor 端侧部署的完整可复现流程,含延迟与成功率数据,可迁移到自有机器人数据。

主题

标签

正文

当前显示原文,中文全文译文尚未就绪。

L; T; F; R; E

AI-Generated Summary

NVIDIA Jetson Thor can run the 4B Cosmos 3 Edge omni-model natively for on-device robot manipulation policies; Post-training Cosmos 3 Edge on the Cosmos3-DROID dataset produces a policy that generates action chunks in about 1.53 seconds on Jetson AGX Thor T5000, enabling continuous real-time control; In closed-loop RoboLab evaluation, the post-trained Edge policy reaches 22.9% success across 120 language-conditioned manipulation tasks; The Cosmos framework provides reproducible post-training and deployment scripts through the open cosmos-framework repository

Next Steps

Download the Cosmos Edge policy weights and data to begin post-training; Explore Cosmos Edge on Jetson for deployment guidance and examples; Get the Cosmos framework code on GitHub to access post-training and deployment scripts

Robots need policies that can adapt to their sensors, environments, and tasks while running on onboard computing hardware. World models offer a foundation for learning physical interactions, but their size can make on-device deployment difficult. This changes with the new NVIDIA Cosmos 3 Edge.

Cosmos 3 Edge is a 4B omni-model (with a 2B NVIDIA Nemotron-based reasoner) in the Cosmos 3 family. It was pretrained on the same physical-world data as NVIDIA Cosmos 3 Nano and NVIDIA Cosmos 3 Super and starts with the same grounding in how objects move and interact. Plus, the model is small enough to run on-device on NVIDIA Jetson Thor.

What you’ll build

By the end of this tutorial, you’ll have a post-trained Cosmos 3 Edge manipulation policy that can run on Jetson Thor and be evaluated in closed-loop simulation.

You’ll learn how to:

Post-train Cosmos 3 Edge to predict robot actions; Serve the resulting policy on Jetson Thor; Run inference inside a receding-horizon control loop; Evaluate policy behavior in closed-loop simulation

Each step is reproducible from the open cosmos-framework repo, and the released checkpoint is available on HuggingFace.

Why post-train Cosmos 3 Edge for on-device robot manipulation?

World foundation models are pretrained on large multimodal datasets that capture patterns in object motion and physical interaction, such as how objects fall, slide, and respond to contact. Cosmos natively generates actions based on physical understanding and prediction capabilities. This prior knowledge provides a useful starting point for robot-policy training rather than requiring the policy to learn all physical relationships from task-specific demonstrations.

Deploying these models on a physical robot, however, introduces two practical constraints:

Device memory: The model and its runtime state must fit within the memory available on the robot; Control latency: The complete inference pipeline must be fast enough to support the robot’s required control frequency

Post-training Cosmos 3 Edge addresses each of these constraints. The resulting policy model fits within Jetson Thor’s memory, so inference runs directly on the robot rather than being offloaded to a data-center GPU.

The remaining factor is control latency. The DROID action policy runs in real time, directly on the robot. On an NVIDIA Jetson AGX Thor T5000, it generates each action chunk in about 1.53 seconds (running at 640×540 resolution and 15 Hz), while a single chunk covers roughly 2.13 seconds of robot motion. Because the next chunk is ready before the current one finishes, the arm moves continuously, with no data-center GPU in the loop. The policy supports continuous streaming on-device by generating action chunks and replanning after each inference cycle. It doesn’t replan after every observation.

In closed-loop RoboLab tasks, the post-trained policy reaches 22.9% success. Together, these results show that a 4B world foundation model can serve as a practical, real-time, on-device policy backbone. This model fits on a Jetson AGX Thor and runs entirely on the robot.

What data does the policy train on?

The release policy in this tutorial trains on the nvidia/Cosmos3-DROID dataset. It contains 76k successful teleoperated trajectories, approximately 350 hours across 86 tasks and 564 scenes, collected with a Franka Panda arm and Robotiq gripper.

The dataset is packaged in LeRobotDataset v3.0 format at 640 × 360 resolution. Prepare it in three stages:

Filter idle and non-task frames; Select successful demonstrations for training; Apply random cropping, rescaling, and color jitter during training

Bring your own robot data

Convert your data to the LeRobot Dataset v3 (per-frame camera video, joint states, gripper state, actions, task instruction).

For a DROID-like Franka setup, the primary change is the dataset path. A different embodiment needs its own experiment configuration that defines the action space, dimensionality, camera layout, and normalization settings.

Cosmos 3 supports several embodiments, including dual-arm Franka, UR, WidowX 250, LeRobot SO101. See the Cosmos 3 Edge model card for the embodiment list.

Prerequisites

Before starting, confirm that you have:

The latest Cosmos framework release; The validated training hardware: NVIDIA DGX Station with the NVIDIA GB200 Grace Blackwell Superchip or the NVIDIA GB300 Grace Blackwell Ultra Desktop Superchip; The supported NVIDIA CUDA and container versions: CUDA 13.0 (cu130), NGC 26.06-py3; Access to the Cosmos 3 Edge base checkpoint; Access to the Cosmos3-DROID dataset; A Hugging Face access token

This is foundation model post-training, not a single-GPU fine-tune. The validated run uses 64 nodes of 4× GB200 for 60K iterations, roughly 68 hours (~17.4K GB200-hours). Plan compute accordingly.

How to run post-training

At a high level, post-training is broken into four steps:

Download the dataset; Convert the base checkpoint to distributed-checkpoint (DCP) format; Apply the curation filter; Launch

Edit and launch post-training script

Find this file in the repo:

This launcher registers the recipe for Cosmos 3 Nano. To train Cosmos 3 Edge, make these three edits before launching:

Replace the NANO_MODEL_CONFIG import with EDGE_MODEL_CONFIG (from configs/base/experiment/sft/models/edge_model_config.py); Set BASE_CHECKPOINT_PATH to the Cosmos 3 Edge DCP checkpoint from the conversion step; Rename examples/launch_sft_action_policy_droid_nano.sh to examples/launch_sft_action_policy_droid_edge.sh

Everything else, including dataset, action space, curation filter, and training schedule, stays the same.

For the latest end-to-end instructions, including checkpoint conversion, environment configuration, and curation-filter setup, see the DROID post-training reproduction guide and model card. These resources are updated alongside the repository.

How to deploy and run the policy on Jetson Thor

The policy is served by a WebSocket policy server speaking the OpenPI protocol, the same protocol used across the DROID policy ecosystem. The client sends an observation dictionary; the server returns an action chunk. For Edge, the server runs natively on Jetson Thor. At roughly 9 GB in BF16, the weights fit in Thor’s on-board memory, so both the policy server and the control client run on the robot with no data-center GPU in the loop.

Start the policy server on the robot

Because the server runs on Thor, host="localhost", the request never leaves the robot. On device, the policy runs in real time. This is the on-device inference that Cosmos Edge enables.

Smoke test (no robot needed)

The DROID policy is state-conditioned. Meaning that joint_position and gripper_position are real model inputs, not boilerplate. With no arm in the loop, zeros are the honest placeholder; this call just proves the server returns a well-formed action chunk.

Running on the robot

The same call sits in a replanning loop. Each cycle reads fresh cameras and the arm’s measured joint and gripper positions (replacing the zeros above), executes a prefix of the chunk, then re-asks:

Executing only a prefix and replanning is standard practice: the policy self-corrects every few seconds, and because it is state-conditioned, each replan starts from where the arm actually is rather than where the previous chunk assumed it would be. Starting the server with video decoding enabled returns the policy’s imagined rollout alongside the actions, so you can inspect what the world model predicts for the chunk it emitted.

Evaluate the policy in a closed-loop simulation

You don’t need a physical robot to validate a policy. In fact, evaluating a policy in simulation is recommended before evaluating directly on a physical robot to avoid unexpected behaviours before they affect developers or robots. RoboLab—the Isaac Lab-Arena benchmark behind the RoboLab leaderboard—is open, and its client connects to the same policy server. It executes each action chunk in physics and streams rendered observations back for a true closed loop across 120 language-conditioned manipulation tasks.

Swap --task for any of the 120 tasks to build a broader picture of policy behavior. Each run produces viewport and robot-camera videos plus a success log, so you can inspect both the outcome and the trajectory that produced it.

In closed-loop RoboLab evaluation, the post-trained Edge policy reaches 22.9% success across the task suite. That result is earned at a fraction of the inference compute of larger Cosmos3 variants (Nano reaches 36.8%), which is precisely the trade Edge is designed to make: real-time, fully on-robot autonomy at competitive success rates.

Note: NVIDIA Isaac Sim 5.x requires the NVIDIA RTX Server Driver Release 580 or later. Confirm the supported driver version in the RoboLab and Isaac Sim documentation before building.

Post-training beyond robot control

Post-training techniques that improve robot control also extend to other capabilities, such as synthetic data generation for robot training. Developers can create specialized world models that generate high-quality synthetic data tailored to their environments and tasks for both indoor and outdoor robot training.

Aigen, for example, post-trained Cosmos to generate diverse synthetic crop and weed variations, enabling an autonomous weeding system to achieve strong performance using just 1% real-world data for training.

More broadly, Cosmos’s open weights and framework, with the OpenMDW1.1 license, make post-training a powerful, flexible, and easy way to create specialized, highly performant, and accurate custom models for physical AI.

Download Cosmos Edge policy weights and data; Join the Cosmos Labs livestream on August 20; Explore Cosmos Edge on Jetson; Download Cosmos 3 checkpoints; Get the code on GitHub; Try Cosmos 3 Nano Reasoner and Cosmos 3 Nano

来源

NVIDIA Developer · Generative AI