You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Cosmos3-DROID dataset naming + HF links; doc restructured
(Prerequisites / Inputs You Provide / Recipe / Full Reproduction / Checkpoints).
- Launcher: DATASET_PATH + EXTRA_DATASET_CHECK for the Cosmos3-DROID success dir.
- State multi-node GB200 validation at 8192 global batch (drop H200-specific notes).
- Describe max_samples_per_batch precisely: samples packed into each per-rank batch
(num_workers x prefetch_factor workers decode in parallel to feed it); spell out
global batch = max_samples_per_batch x world size x grad_accum_iter.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Hao Liang <haolia@nvidia.com>
Copy file name to clipboardExpand all lines: docs/action_policy_droid_posttrain.md
+40-44Lines changed: 40 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,19 @@
1
1
# Cosmos3-Nano-Policy-DROID Post-Training
2
2
3
-
[Cosmos3-Nano-Policy-DROID](https://huggingface.co/nvidia/Cosmos3-Nano-Policy-DROID) is an action policy fine-tuned from [`Cosmos3-Nano`](https://huggingface.co/nvidia/Cosmos3-Nano) (the 8B MoT) on the **DROID LeRobot** dataset, using absolute joint-position actions plus proprioceptive state at 480p. This example reproduces that post-training. The registered `action_policy_droid_nano` experiment, the DROID action dataset class (`joint_pos` 8-D + `use_state`), and the EMA warm-start fix all ship in this package; you supply two external inputs — a prepared DROID LeRobot dataset and a DCP base checkpoint converted from `nvidia/Cosmos3-Nano` (see [Inputs You Provide](#inputs-you-provide)). Validated end-to-end on H200: 1 node / 8 GPU and 2 nodes / 16 ranks (HSDP).
3
+
[Cosmos3-Nano-Policy-DROID](https://huggingface.co/nvidia/Cosmos3-Nano-Policy-DROID) is an action policy model post-trained from [Cosmos3-Nano](https://huggingface.co/nvidia/Cosmos3-Nano), a 16B Mixture-of-Transformers model, on the [Cosmos3-DROID](https://huggingface.co/datasets/nvidia/Cosmos3-DROID) dataset. The model predicts absolute joint-position actions conditioned on proprioceptive state and video observations at a resolution of 480p (`640×360`). This example reproduces the post-training procedure used to train the model.
4
+
5
+
Two external inputs are required: (1) a pre-downloaded Cosmos3-DROID dataset in LeRobotDataset v3.0 format, and (2) a DCP base checkpoint converted from Cosmos3-Nano.
6
+
7
+
The recipe runs multi-node via HSDP (single node / 8 GPUs and beyond).
-[FAQ](./faq.md) — troubleshooting (OOM during SFT, defaults), common pitfalls.
28
+
-[Environment Variables](./environment_variables.md) — set environment variables.
29
+
-[FAQ](./faq.md) — troubleshooting (OOM during SFT, defaults) and common pitfalls.
26
30
27
-
The runnable artifacts (TOML recipe, paired launch shell) live in [`examples/`](../examples/README.md); all commands below run from the repo root with the environment activated.
31
+
The runnable artifacts (TOML recipe, paired launch shell) live in [`examples/`](../examples); all commands below run from the repo root with the environment activated.
28
32
29
33
## Inputs You Provide
30
34
@@ -33,53 +37,44 @@ the DROID action dataset class with the recipe knobs (`action_space=joint_pos`,
33
37
`concat_view`), and the EMA warm-start in `checkpoint/dcp.py`. Two inputs are external and must
The recipe TOML (`examples/toml/sft_config/action_policy_droid_repro.toml`) sets the scalar
96
+
The recipe TOML ([`examples/toml/sft_config/action_policy_droid_repro.toml`](../examples/toml/sft_config/action_policy_droid_repro.toml)) sets the scalar
101
97
knobs (`max_iter`, `save_iter`, `grad_clip`, parallelism, wandb); the dataset/action knobs
102
98
(`joint_pos`, `use_state`, `concat_view`, 480p, chunk 32, count-based batch) live in the
103
99
registered `action_policy_droid_nano` experiment per the schema's design. For multi-node HSDP,
104
100
set `model.config.parallelism.data_parallel_replicate_degree = <num_nodes>` (intra-node shard stays 8).
105
101
106
-
The **keep-ranges filter** maps each DROID trajectory key to a list of `[start, end]` frame
102
+
The **keep_ranges_1_0_1.json filter** maps each DROID trajectory key to a list of `[start, end]` frame
107
103
ranges; only windows whose start falls inside a kept range are trained on (episodes absent from
108
104
the dict are dropped). To train on the full window set instead, leave `EXTRA_TAIL_OVERRIDES` unset.
0 commit comments