跳到正文
FunCoding

cosmos3-inference-simulation

官方

Entry skill for Cosmos3 Simulation inference (Cosmos Framework, vLLM-Omni, SGLang): routes a request to one of four Cosmos3-Nano models. Sim-Bimanual: video rollout of bimanual robot manipulation from an initial RGB frame, task description and action trajectory. Transfer-Auto: synchronized multi-camera driving video (joint mode adds LiDAR) from WSM controls and captions. Sim-Auto: the same outputs, generated chunk by chunk. Sim-Transfer: 480p video from a caption and one edge, blur, depth or segmentation control video. Use when the user asks "run a Cosmos3 Simulation model", "which Simulation model do I need", "simulate what my robot or vehicle would observe" or "how do I validate a Simulation rollout". Not for Generator Transfer (cosmos3-inference-transfer), action inference (cosmos3-inference-action), audiovisual generation (cosmos3-inference-generate-media) or post-training (cosmos3-post-train-simulation).

Star
674
最近提交
2026年11月30日

.agents/skills/cosmos3-inference-simulation/SKILL.md

在 GitHub 上查看

Cosmos3 Simulation Inference: Entry

Cosmos3 Simulation models generate what a robot or vehicle would observe, driven by a control signal: robot actions, per-camera driving controls, or a spatial control video.

This is the entry skill for Cosmos3 Simulation inference. It runs no command: it chooses the model, states what the four models share, and hands the request to one of three block skills (Sim-Bimanual, Auto, Sim-Transfer). Its source is the Simulation cookbook README, carried verbatim as the README copy. The paragraph above and every passage introduced below as "README, verbatim" are that README's text with only link targets re-pointed.

When to use this skill

  • Use when a request is about Cosmos3 Simulation and the model is not settled: pick the model under "Choose a model", then open its block skill from "Route to a block skill".
  • Use for what the four models share: "Shared prerequisites" (container images and tags, the --defaults-file note) and "Validate a rollout" (the four-point checklist).
  • Not for Generator Transfer (../cosmos3-inference-transfer/SKILL.md), which the README sets apart from Transfer-Auto, and not for post-training (see "Post-training").

Choose a model

README "Choose a model", verbatim. The guides it links were copied, and the notebooks converted 1:1, into the block skills' reference files; the links point there.

ModelGeneratesFromStart hereNotebooks
Cosmos3-Nano-Sim-BimanualVideo rollout of bimanual robot manipulationInitial RGB frame, task description, time-aligned action trajectoryBimanual guideFramework, vLLM-Omni, SGLang
Cosmos3-Nano-Transfer-AutoSynchronized multi-camera driving video, joint mode adds LiDARPer-camera WSM controls and captions, HD-map LiDAR controls for joint modeAuto overview, Transfer-Auto guideFramework, vLLM-Omni, SGLang
Cosmos3-Nano-Sim-AutoSame outputs as Transfer-Auto, generated chunk by chunkSame inputs as Transfer-AutoAuto overviewFramework, vLLM-Omni, SGLang
Cosmos3-Nano-Sim-Transfer480p videoCaption and one edge, blur, depth, or segmentation control videoSim-Transfer guideFramework, vLLM-Omni, SGLang

To drive the Auto models with your own scene, render WSM controls with generate_wsm.ipynb.

Sim-Bimanual renders the result of supplied actions. Pair it with a policy model for closed-loop simulation. The examples run open loop: they do not run a policy or feed generated frames back into one.

Transfer-Auto is driven like a transfer model (control video in, photoreal video out) but belongs to the Simulation family, so it lives here rather than under Generator Transfer. Sim-Auto is its causal, distilled student: a fixed four-step sampler with a rolling key/value cache.

FlashDreams support for Sim-Bimanual and Sim-Auto: the last paragraph of "Choose a model" in the README copy.

Route to a block skill

Open the block skill of the chosen model and follow it from the top; for the two Auto models, open the named section. Each block covers the three paths of the README's "Notebooks" column: Framework, vLLM-Omni and SGLang.

ModelBlock skillWhen a run fails
Sim-Bimanualcosmos3-inference-simulation-bimanualSim-Bimanual inference troubleshooting
Transfer-Autocosmos3-inference-simulation-auto, section Transfer-AutoAuto inference troubleshooting
Sim-Autocosmos3-inference-simulation-auto, section Sim-AutoAuto inference troubleshooting
Sim-Transfercosmos3-inference-simulation-transferSim-Transfer inference troubleshooting

For a failure that is not specific to one model, README, verbatim:

For environment problems shared by all models, use cosmos3-env-troubleshoot.

Shared prerequisites

README "Prerequisites", verbatim. "Guide" and "notebooks" mean the block skills' reference files (see "Choose a model"). The skill for setting up the Framework checkout is ../cosmos3-setup/SKILL.md.

  • Linux with an NVIDIA GPU. GPU count and class differ by model, see each guide.
  • A Hugging Face token in HF_TOKEN with access to the model.
  • Cosmos Framework: a checkout set up with the Framework setup guide. The CUDA dependency groups (cu130-train on CUDA 13, cu128-train on CUDA 12.8) require Python 3.13 and include FlashAttention-4, which Sim-Auto needs. Bimanual and Sim-Transfer add model-specific setup steps in their guides.
  • vLLM-Omni: Docker with the NVIDIA Container Toolkit. All four notebooks use the vllm/vllm-omni:cosmos3 image.
  • SGLang: Docker with the NVIDIA Container Toolkit. The four SGLang notebooks use the published lmsysorg/sglang:dev image; the Auto and Sim-Transfer notebooks read their inputs from the mounted cookbook root. The dev tag moves with SGLang's main branch; the notebooks were validated against SGLang commit ab580b2e, published as the fixed tag lmsysorg/sglang:nightly-dev-20261020-ab580b2e.

If you pass --defaults-file to Framework inference, it replaces the built-in sampling defaults rather than merging with them. Start from the defaults file the model's guide provides.

Validate a rollout

README "Validate a rollout", verbatim:

For each sample, check that:

  1. sample_outputs.json reports status: success.
  2. Every output video decodes fully at the requested frame count and FPS.
  3. The motion follows the control signal (actions, WSM controls, or the spatial control). Visual quality alone does not show control adherence.
  4. Generated data is labeled as synthetic before it enters any dataset.

Use a fixed seed when comparing checkpoints or runtime changes. Then run the model-specific checks: Bimanual (drift, action response), Transfer-Auto (all views present, LiDAR sweep count, cross-view consistency), Sim-Auto, and Sim-Transfer (control adherence, temporal consistency).

Post-training

Post-training is outside this skill and its three blocks. Its entry skill is cosmos3-post-train-simulation; it routes to the post-training skill of each model (Transfer-Auto and Sim-Auto are two sections of one skill):

Reference files

FileContent
references/simulation-readme.mdThe Simulation cookbook README, copied verbatim with link targets re-pointed: "Choose a model" (with the FlashDreams paragraph), "Prerequisites", "Validate a rollout", "Run and post-train with agent skills", "Related"
SkillWhen to use
../cosmos3-setup/SKILL.mdInstallation and environment setup of the Cosmos Framework checkout
../cosmos3-env-troubleshoot/SKILL.mdREADME: "environment problems shared by all models"
../cosmos3-inference/SKILL.mdGeneral Cosmos3 inference guidance: batch generation, serving, parallelism, sampling parameters
../cosmos3-inference-transfer/SKILL.mdREADME: "Generator Transfer", the transfer skill outside the Simulation family
../cookbooks/cosmos3/README.mdREADME "Related": "shared installation and backend guidance"

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,333 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,333 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,663 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 895 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 636 个 star