Skip to content

cosmos3-inference-action skills (cookbook → skill migration + eval fixes) - #382

Merged
lfengad merged 15 commits into
mainfrom
skills/inference-action-migration
Nov 11, 2026
Merged

lfengad merged 15 commits into
mainfrom
skills/inference-action-migration

Conversation

@christinayyw

@christinayyw christinayyw commented Nov 7, 2026 •

Copy link
Copy Markdown
Collaborator

MUST BE MERGED WITH NVIDIA/cosmos#396 (NVIDIA/cosmos#396) - THAT PR RE-POINTS THE COSMOS COOKBOOK INDEX TO PATHS THIS PR CREATES; MERGING ONE SIDE ALONE LEAVES DEAD LINKS

NVIDIA/cosmos#396 switches the COOKBOOK.md “Action Policy” row, the README gallery “Action policy” and “Action-conditioned World Model” links, and the “action cookbook” link on the four inference-benchmark pages to tracked short URLs nvda.ws/487IcM4 (the entry SKILL.md), nvda.ws/4CbbSFV (policy references/vllm-omni.md) and nvda.ws/4AjVK2R (forward-dynamics references/vllm-omni.md), which resolve to paths this PR creates on main, while this PR deletes the cookbook pages those links replace. Alone, this PR leaves the Cosmos index pointing at deleted pages; alone, #396 points at paths that do not exist yet. #396 touches only this skill's links, so the pair merges independently of the other rows.

Cookbook→skill migration of the Action row: .agents/skills/cookbooks/cosmos3/generator/action/ (its version on main at bbd4a67) becomes an entry skill, cosmos3-inference-action, and three block skills, cosmos3-inference-action-forward-dynamics, cosmos3-inference-action-inverse-dynamics and cosmos3-inference-action-policy, applied as a diff on main. No eval (GPU) job runs on push or merge; the skill eval is opt-in (/run-skill-eval) and has not been triggered on this branch.

What this PR delivers

  • One entry skill plus three blocks for the 15 action paths (5 forward-dynamics, 5 inverse-dynamics, 5 policy) — cosmos_framework, diffusers, TensorRT-LLM, vLLM-Omni, SGLang, TensorRT-Edge-LLM and the Cosmos Framework policy server. The entry skill (468 lines) holds the cookbook README (verbatim, references/action-readme.md), the Action Definition and guardrail rule, the FP8 table, the vendored sample assets and a routing table (task × backend → block, variant, eval case). Each block's SKILL.md (498 / 500 / 489 lines) has one variant per retired notebook and quotes the notebook's own commands; everything a skill adds is marked "Skill note (not in the source)". Four .claude/skills/ symlinks for Claude Code.
  • The 14 notebooks and the policy-server guide migrated 1:1 into the blocks' references/ (one file per backend). Markdown cells verbatim, code cells fenced, %%bash cells as bash without the magic line, outputs omitted (the notebooks have none), one marked provenance note per file; nothing corrected or rewritten. The only edits inside the migrated text are link-target rewrites for files this migration moved (link text unchanged), each listed in docs/cookbook_to_skill_migration.md. Where the pre-commit rumdl hook changed notebook text (the ### Set up HF Cache: headings of the three SGLang notebooks, the bare uv URL of the three diffusers notebooks) the text was restored and the rule disabled around that cell with a marked comment; the remaining hook changes are whitespace (table alignment, three collapsed blank lines). Checked cell by cell against the notebooks: 388 cells, all present; the 19 cells the check flags differ only by a link target or hook whitespace.
  • Assets: 44 files / 6.6 MiB vendored into the entry skill's assets/ (the cookbook's layout; a nested .gitattributes exempts assets/** from the repository's LFS rules, so the eval containers, which check out without git-lfs, get real files): the AV, camera-pose and UMI images, trajectories, prompts and clips, and the Bridge, Fractal, UMI, RoboMIND-Franka and egocentric-hand examples. Not vendored (too large; they stay as LFS objects in the cookbook's assets/): droid_lerobot_example/ (three clips, 4.0–5.3 MiB; read by every policy notebook and the DROID forward-dynamics sections), human_hand_pose_lerobot_example/, agibotworld_beta_lerobot_example/, robomind_lerobot_example/franka_dual/ and ur/, videos/av_1.mp4, videos/robolab_example_rollout.mp4. The entry skill documents both materialisation routes (git lfs pull, or the public repository's LFS objects at the pinned commit, checked against the pointers' size and sha256); the policy block carries the DROID download as one shell block.
  • eval/eval.config: 14 cases, one per notebook (5 + 5 + 4; the policy-server guide has none — it needs a simulator client). One GPU each, 60 min budget (90 for the policy block, driven by the TensorRT-Edge-LLM build), HF_TOKEN + GITHUB_TOKEN, docker: true for the nine server cases, setup = this repository (unpinned, as in cosmos3-generate-media).
Case Source notebook Backend / model GPU footprint, as the source states it Smoke data
framework-nano-fd-av run_fd_with_cosmos_framework.ipynb cosmos_framework (cosmos_framework.scripts.inference), Cosmos3-Nano 1 GPU; no figure stated entry assets/images/av_0.jpg + assets/actions/av_traj_forward.json
diffusers-nano-fd-av run_fd_with_diffusers.ipynb diffusers in-process, Cosmos3-Nano bf16 1 GPU; no figure stated same
trtllm-nano-fd-av run_fd_with_trt_llm.ipynb TensorRT-LLM trtllm-serve, Cosmos3-Nano (cosmos3-nano-1gpu.yaml) 1 GPU; no figure stated same
vllm-omni-nano-fd-av run_fd_with_vllm_omni.ipynb vLLM-Omni (vllm/vllm-omni:cosmos3), Cosmos3-Nano 1 GPU; no figure stated same
sglang-nano-fd-av run_fd_with_sglang.ipynb SGLang (lmsysorg/sglang:dev), Cosmos3-Nano 1 GPU; no figure stated same
diffusers-nano-id-av run_id_with_diffusers.ipynb diffusers in-process, Cosmos3-Nano bf16 1 GPU; no figure stated entry assets/videos/av_0.mp4
framework-nano-id-av run_id_with_cosmos_framework.ipynb cosmos_framework, Cosmos3-Nano 1 GPU; no figure stated same
vllm-omni-nano-id-av run_id_with_vllm_omni.ipynb vLLM-Omni, Cosmos3-Nano 1 GPU; no figure stated same
sglang-nano-id-av run_id_with_sglang.ipynb SGLang (/v1/actions/generations), Cosmos3-Nano 1 GPU; no figure stated same
trtllm-nano-id-av run_id_with_trt_llm.ipynb TensorRT-LLM trtllm-serve, Cosmos3-Nano 1 GPU; no figure stated same
diffusers-nano-policy-droid run_policy_with_diffusers.ipynb diffusers in-process, Cosmos3-Nano-Policy-DROID bf16 1 GPU; no figure stated cookbook droid_lerobot_example/ (LFS, materialised in-run)
vllm-omni-edge-policy-droid run_policy_with_vllm_omni.ipynb vLLM-Omni, Cosmos3-Edge-Policy-DROID 1 GPU; no figure stated same
sglang-nano-policy-droid run_policy_with_sglang.ipynb SGLang, Cosmos3-Nano-Policy-DROID (action request + rollout request) 1 GPU; no figure stated same
trt-edge-llm-edge-policy-droid run_policy_with_trt_edge_llm.ipynb TensorRT-Edge-LLM v0.11.0 (tensorrt-edgellm-build + cosmos3_policy_inference), Cosmos3-Edge-Policy-DROID "on the target GPU" (x86 developer build listed by the setup guide); no figure stated — blocker-tolerant wording same

No action source states a memory footprint or a runtime; every notebook runs one GPU (CUDA_VISIBLE_DEVICES=0, --gpus '"device=0"', cosmos3-nano-1gpu.yaml). The generate-media skill's measurements are cited only as audiovisual figures.

  • Docs: the "Action" section of docs/cookbook_to_skill_migration.md (file → destination, vendoring policy, every link rewrite, the formatter record); tools/docs/nav.yml ("Action" opens the entry SKILL.md) and docs/models/README.md re-pointed.

FP8

The row's FP8 content is the notebooks' own sections, carried 1:1 in the references and surfaced as the FP8 line of six variants: forward dynamics 2 / inverse dynamics 1 (diffusers, "Quantized Checkpoints (FP8)": COSMOS3_DIFFUSERS_PRECISION=fp8, nvidia/Cosmos3-Nano-FP8 and nvidia/Cosmos3-Super-FP8), forward dynamics 4 / inverse dynamics 3 (vLLM-Omni, "Quantized Checkpoints": a materialised local Edge/Nano/Super FP8 checkpoint served under the original --served-model-name) and forward dynamics 5 / inverse dynamics 4 (SGLang, "FP8": --model-path nvidia/Cosmos3-Nano-FP8). The entry skill's "FP8 checkpoints" table collects them, with the README's FP8 pointer verbatim. No policy, TensorRT-LLM or cosmos_framework notebook has an FP8 section, and none was added. The quantization steps are not copied: one canonical copy, ../cosmos3-quantization/SKILL.md (#385), which all four SKILL.md files point at.

What is deliberately not changed

  • 1:1 migration, no corrections. The reference files are the notebooks; the SKILL.md variants quote their commands as written, including launches the generate-media eval already found fragile on the same images (SGLang without -e SGLANG_DISABLE_COSMOS3_GUARDRAILS=1 / -e HF_TOKEN, vLLM-Omni without a Hugging Face cache mount or HF_TOKEN). The forward-dynamics and policy skills record those as skill notes next to the verbatim block; the inverse-dynamics skill shows the two -e lines inside its quoted vLLM-Omni and SGLang launches, each marked as a skill addition not re-verified for the action route — the reference text is untouched in every case (reviewer's call whether to align the two styles now or in the fixes round).
  • Eval-derived fixes go to a stacked PR after the eval, so the migration head and the fixes are measured on the same eval/eval.config.
  • Kept in place: the cookbook's assets/ (LFS) and finetune/, the shared setup guide cookbooks/cosmos3/README.md, the NIM pages — each touched only where one link needed a new target.

Retired from the cookbook

16 files of .agents/skills/cookbooks/cosmos3/generator/action/:

  • README.md → cosmos3-inference-action/references/action-readme.md
  • run_fd_with_{cosmos_framework,diffusers,trt_llm,vllm_omni,sglang}.ipynb → cosmos3-inference-action-forward-dynamics/references/{cosmos-framework,diffusers,trt-llm,vllm-omni,sglang}.md
  • run_id_with_{diffusers,cosmos_framework,vllm_omni,sglang,trt_llm}.ipynb → cosmos3-inference-action-inverse-dynamics/references/{diffusers,cosmos-framework,vllm-omni,sglang,trt-llm}.md
  • run_policy_with_{diffusers,vllm_omni,sglang,trt_edge_llm}.ipynb and run_policy_with_cosmos_framework.md → cosmos3-inference-action-policy/references/{diffusers,vllm-omni,sglang,trt-edge-llm,cosmos-framework}.md

Inbound links re-pointed (targets only, 9 links in 8 files): cookbooks/cosmos3/README.md (TensorRT-Edge-LLM section), generator/action/finetune/README.md, nim/action.md, docs/models/README.md, tools/docs/nav.yml, reasoner/README.md, reasoner/run_with_trt_edge_llm.ipynb, quantization/README.md (2). The last three are themselves retired by the Visual Reasoning and Quantization rows; they are re-pointed anyway so this PR leaves no dead link in a page the docs build stages (their deletion supersedes the edit — a trivial modify/delete conflict when rebasing after the sibling merges).

Cross-row links and merge order

One of five Inference-row migrations opened together: Visual Reasoning #381, Action (this PR), Transfer #383, NIM #384, Quantization #385. Each is self-consistent at its own head: every relative link resolves and pre-commit is green. Links from the migrated copies to pages a sibling row retires (the Reasoner TensorRT-Edge-LLM notebook in action-readme.md and the policy trt-edge-llm.md; the quantization README in action-readme.md and the forward-/inverse-dynamics sglang.md and vllm-omni.md) point at those pages' current location, go dead when that sibling merges and are re-pointed at that row's skill in the follow-up round (listed in the migration record). The ../cosmos3-quantization/SKILL.md pointers in the four SKILL.md files resolve once #385 merges — the evaluator's static "references resolve" check warns until then, so merging #385 first keeps the other four clean. The five PRs share edit sites (tools/docs/nav.yml, cookbooks/cosmos3/README.md, docs/models/README.md, docs/cookbook_to_skill_migration.md), so each merge needs a trivial rebase of the rest. The NIM pointer in Related skills (../cosmos3-inference-nim/SKILL.md) likewise resolves once #384 merges: that PR retires the nested cosmos3-nim-user copy this skill used to point at.

Rebase notes. If #385 merges first: keep its deletion of quantization/README.md over this PR's edits, and re-point the quantization-README links in cosmos3-inference-action/references/action-readme.md and the forward-/inverse-dynamics references/sglang.md and references/vllm-omni.md at ../../cosmos3-quantization/SKILL.md (the pre-commit rumdl link check fails on the dead link otherwise). If #381 merges first: keep its deletions of reasoner/README.md and reasoner/run_with_trt_edge_llm.ipynb, and re-point the Reasoner-notebook links in action-readme.md and the policy references/trt-edge-llm.md (2) at ../../cosmos3-inference-reasoning/references/trt-edge-llm.md. If #385 is already on main: this PR also re-points the Action row of cosmos3-quantization/references/quantization-readme.md (line 223, run_fd_with_vllm_omni.ipynb / run_id_with_vllm_omni.ipynb) at ../../cosmos3-inference-action-forward-dynamics/references/vllm-omni.md and ../../cosmos3-inference-action-inverse-dynamics/references/vllm-omni.md; if #381 is already on main: also re-point its links to generator/action/run_policy_with_trt_edge_llm.ipynb (cosmos3-inference-reasoning/references/reasoner-readme.md, references/trt-edge-llm.md) at ../../cosmos3-inference-action-policy/references/trt-edge-llm.md — the retiring PR rewrites every link to the file it retires.

Evaluation results

Runs on this PR: the baseline on the migration head c8cf576 (the 1:1 migration, no corrections) and the re-runs after the eval-derived fixes below, the last one on 50310b5; the "After the fixes" table compares the baseline with that final head. "First attempt" = the documented workflow worked without a self-correction.

Baseline — migration head c8cf576

cosmos3-inference-action-forward-dynamics

Case claude codex cursor opencode
diffusers-nano-fd-av ✅ PASS ⚠️ self-corrected (1) · report ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS · first attempt · report
trtllm-nano-fd-av ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (6) · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS · first attempt · report
framework-nano-fd-av ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (1) · report ✅ PASS · first attempt · report
sglang-nano-fd-av ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (2) · report
vllm-omni-nano-fd-av ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report

20/20 PASS, 10/20 first-attempt · group ci-pr382-c8cf576 · dashboard

cosmos3-inference-action-inverse-dynamics

Case claude codex cursor opencode
framework-nano-id-av ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS · first attempt · report
vllm-omni-nano-id-av ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report
trtllm-nano-id-av ✅ PASS ⚠️ self-corrected (6) · report ✅ PASS ⚠️ self-corrected (4) · report ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (4) · report
sglang-nano-id-av ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report
diffusers-nano-id-av ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (4) · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS ⚠️ self-corrected (2) · report

20/20 PASS, 10/20 first-attempt · group ci-pr382-c8cf576 · dashboard

cosmos3-inference-action-policy

Case claude codex cursor opencode
sglang-nano-policy-droid ✅ PASS · first attempt · report ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (1) · report ✅ PASS · first attempt · report
diffusers-nano-policy-droid ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS ⚠️ self-corrected (3) · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS ⚠️ self-corrected (5) · report
vllm-omni-edge-policy-droid ✅ PASS · first attempt · report ✅ PASS ⚠️ self-corrected (2) · report ✅ PASS · first attempt · report ✅ PASS · first attempt · report
trt-edge-llm-edge-policy-droid ✅ PASS ⚠️ self-corrected (6) · report ✅ PASS ⚠️ self-corrected (9) · report ✅ PASS ⚠️ self-corrected (9) · report ✅ PASS ⚠️ self-corrected (4) · report

16/16 PASS, 6/16 first-attempt · group ci-pr382-c8cf576 · dashboard

What failed and where it was fixed

Problems are the recurring first-attempt failures and self-corrections of the baseline (which cells, fatal vs self-correction); fixes are skill text only. Where = file:lines permalinks (rows from the earlier commits keep their own); problems found after the first fix round name the agent and case; SKILL.md and references/ are relative to the skill directory.

ID Pri Problem (eval evidence) Fix applied Where (permalink)
F1 P1 action-forward-dynamics — sglang-nano-fd-av, 0/4 first attempt (claude, codex, cursor, opencode): the runnable docker run block was the notebook's command without -e SGLANG_DISABLE_COSMOS3_GUARDRAILS=1 / -e HF_TOKEN and the note after it said the block was unchanged, so every agent launched it verbatim and the server exited with GatedRepoError… The two canonical -e lines are inside the quoted docker run block (SKILL.md and references/sglang.md); the intro sentence says the block is the notebook's two cells plus two skill-added -e lines; SKILL.md:393, SKILL.md:408-409, SKILL.md:422-424; references/sglang.md:28, references/sglang.md:36-37
F2 P1 action-forward-dynamics — framework-nano-fd-av, first attempt lost by codex and cursor (opencode detoured): uv sync in the checkout aborts unless uv is exactly 0.11.29, the hosts carry a package-managed 0.13, the quoted section 4 block only checks that uv exists, and the remedy the note delegated to (cosmos3-setup step 3, uv self update 0.11.29… The canonical uv guard (uv --version ... || { curl -LsSf https://astral.sh/uv/0.11.29/install.sh | sh; export PATH="$HOME/.local/bin:$PATH"; hash -r; }) is the skill-marked first line of the section 4 install block; the intro says 'plus a skill-added first line'; SKILL.md:106, SKILL.md:109, SKILL.md:122-125; references/cosmos-framework.md:313, references/cosmos-framework.md:316
F3 P1 action-forward-dynamics — diffusers-nano-fd-av, first attempt lost by claude and cursor (opencode also hit it): the headless libxcb fix was written as a reactive step ('if you see an error like ...') although Cosmos3OmniPipeline imports cosmos_guardrail -> cv2 even with guardrails off, and the quoted apt-get install had no apt-get update, so a… Variant 2 note now says: before the first run on any host without a desktop (every container) run apt-get update && apt-get install -y libxcb1 libgl1 libglib2.0-0, with the cv2 import reason; SKILL.md:230; references/diffusers.md:35
F4 P1 action-forward-dynamics — diffusers-nano-fd-av (cursor, opencode, codex corrections): the Variant 2 note's remedy for the uv pin pointed to generate-media skill-notes section 6, which never mentions --no-config, so agents improvised (UV_NO_CONFIG=1, --no-config, a standalone installer) when the host uv was not 0.11.29. The canonical uv guard is the skill-marked first line of the section 3 venv/install block (the notebook's own uv 0.11.29 requirement is then met inside the checkout); the intro says 'plus a skill-added first line'; the dead section 6 pointer is gone and the note explains the guard; SKILL.md:194, SKILL.md:197, SKILL.md:228-229; references/diffusers.md:39, references/diffusers.md:126
F5 P1 action-forward-dynamics — trtllm-nano-fd-av, first attempt lost by codex and cursor: Variant 3 documented only the README's devel-container source build with an unpinned devel tag and said of the wheel route 'whether that wheel serves action requests is unknown'; Variant 3 names ../cosmos3-generate-media/references/trt-llm.md section 7.2 Route A as the install (tensorrt_llm==1.3.0rc27 wheel with torch==2.13.0+cu130, the YAML-configs checkout bca6761 as TRTLLM_ROOT and the block's export CUDA_HOME line, serve lines as in section 7.7), states the three-cell result (HTTP 200, vide… SKILL.md:256-257, SKILL.md:269-272; references/trt-llm.md:24
F6 P2 action-forward-dynamics — sglang-nano-fd-av (claude): check_sglang_server() polls /v1/models for up to 600 s and never notices that the container exited, so a crashed launch burned the full tool timeout before the agent could react. Readiness sentence keeps the helper's facts and adds the canonical shell poll: timeout 600 bash -c 'until curl -sf localhost:30000/v1/models; do sleep 10; done' || docker logs cosmos3-sglang-notebook. SKILL.md:431-432
F7 P2 action-forward-dynamics — sglang and vllm-omni cells (codex, cursor, opencode; six corrections, no verdict flip): the Client line quotes the notebook's heavy %pip install ... lerobot[dataset] and av==18.0.0; Variant 4 Client carries the canonical headless client venv: uv venv --no-config .venv-client --python 3.12 --seed --managed-python && uv pip install --no-config --python .venv-client/bin/python requests pillow ipython av==18.0.0, then run the cells with .venv-client/bin/python (av 18 needs Python >= 3.11, the request… SKILL.md:346-348, SKILL.md:426
F8 P2 action-forward-dynamics — framework-nano-fd-av (opencode failed the result_summary assertion): the skill asked to record GPU memory but named no way to observe it for the framework CLI. Verify the output names the method per variant: framework CLI, nvidia-smi --query-gpu=memory.used --format=csv,noheader -lms 1000 > gpu_mem.csv & during the run, kill %1 after, report the max; diffusers, torch.cuda.max_memory_allocated(); SKILL.md:467-468
F9 P3 action-forward-dynamics — Cross-case apt rule (verifier-confirmed; opencode's framework cell hit 'Unable to locate package ffmpeg' until apt-get update): the Verify note quoted apt-get install -y ffmpeg without apt-get update. Zero-line in-place rewrite to apt-get update && apt-get install -y ffmpeg (matches generate-media SKILL.md Verify the output). SKILL.md:466
F10 P2 action-forward-dynamics — Entry skill ../cosmos3-inference-action/SKILL.md: frontmatter description was 1149 characters, above the Agent Skills limit of 1024. Description rewritten to 1018 characters (folded) with the same content: row scope, asset list, the three block skills and their backends, every trigger phrase, and the three not-for exclusions. ../cosmos3-inference-action/SKILL.md:3-13
F11 P1 action-inverse-dynamics — diffusers-nano-id-av, 0/4 first attempt (claude, codex, cursor, opencode): the headless-library fix was written as an after-the-error remedy, so every first run died at import (pipeline_cosmos3_omni -> cosmos_guardrail -> cv2 needs libxcb.so.1 even with COSMOS3_DIFFUSERS_GUARDRAILS=false); The pre-flight apt-get update && apt-get install -y libxcb1 libgl1 libglib2.0-0 is now a marked skill-note line at the end of the Variant 1 export block (run as ONE call with the § 3 install), with the import-chain reason; the Install paragraph says the block's last two lines run first; SKILL.md:123, SKILL.md:127-129, references/diffusers.md:33
F12 P1 action-inverse-dynamics — diffusers-nano-id-av (claude, cursor, opencode): the skill named uv self update 0.11.29 first, which a package-installed uv (host 0.13.0) refuses (Self-update is only available for uv binaries installed via the standalone installation scripts), so the install cell aborted with `Required uv version ==0.11.29 does no… Canonical uv guard as the last line of the Variant 1 export block: uv --version 2>/dev/null | grep -q '^uv 0\.11\.29' || { curl -LsSf https://astral.sh/uv/0.11.29/install.sh | sh; export PATH="$HOME/.local/bin:$PATH"; hash -r; }; SKILL.md:109-111, SKILL.md:124
F13 P1 action-inverse-dynamics — framework-nano-id-av, 2/4 first attempt (counted against claude and cursor; codex and opencode hit it too): uv sync aborts on any uv other than 0.11.29 and the skill mentioned the pin only as a cross-reference to the setup skill; The § 4 install sentence now states the abort message and tells the agent to put Variant 1's uv guard line first in the same shell call (location named precisely), not uv self update, which a package-installed uv refuses; the exact command stays single-sourced in SKILL.md. SKILL.md:177-180
F14 P1 action-inverse-dynamics — framework-nano-id-av (claude, cursor, opencode): the Variant 2 bash run block claimed its exports replace the notebook kernel's environment but omitted the LD_LIBRARY_PATH that § 5's configure_cosmos_framework_runtime_env() sets (canonical-name symlinks to PyAV's hashed av.libs FFmpeg libraries), so inference cra… Two lines inserted before the verbatim run cell: a skill-note comment and the verifier-corrected one-liner that links only the seven FFmpeg sonames (lib{avcodec,avdevice,avfilter,avformat,avutil,swresample,swscale}-*.so.*) into $COSMOS3_OUTPUT_ROOT/torchcodec_ffmpeg_links and prepends that directory plus av.libs… SKILL.md:209, SKILL.md:221-222 (trims: SKILL.md:162-165, SKILL.md:238-240)
F15 P1 action-inverse-dynamics — trtllm-nano-id-av, 0/4 first attempt (cursor, opencode, claude via the install text; codex via the remote Docker daemon): Variant 5 gave no runnable bare-host install, prescribed the setup guide's source build in an unpinned devel image (17 min clone + 33 min build, over the 60-min budget) and disclaimed generate-media… Install paragraph rewritten (10->7 lines): Route A of ../cosmos3-generate-media/references/trt-llm.md § 7.2 as ONE shell call verbatim (rc27 wheel, its CUDA_HOME line with the _find_cuda_home() failure named, checkout bca6761 as TRTLLM_ROOT) is the bare-host install, 'verified for this action route by the eva… SKILL.md:390-396, references/trt-llm.md:196-262
F16 P1 action-inverse-dynamics — trtllm-nano-id-av (claude; same failure in a forward-dynamics cell): the setup guide leaves the devel tag open; a public tag newer than the checkout (devel:1.4.0rc3 for cc63e66) ships a torch linked against a newer NCCL than the checkout's nvidia-nccl-cu13==2.30.7 pin, so cmake configure reports torch absent (`undefi… Generic failure->fix row (verifier's wording) as comment lines right after the quoted '# Pick a devel tag ...' line in this skill's references/trt-llm.md: a newer devel tag fails at cmake configure with that symbol error; references/trt-llm.md:215-219
F17 P1 action-inverse-dynamics — trtllm-nano-id-av (opencode; verifier correction to the Variant 5 fix): the notebook's serve block runs in a new shell call where § 7.2's CUDA_HOME export and venv activation are gone — exactly opencode's AssertionError in _find_cuda_home() — and trtllm-serve is not on PATH; One marked skill-note line before the notebook's verbatim serve lines: `export TRTLLM_VENV="${TRTLLM_VENV:-$PWD/.venv-trtllm}"; export TRTLLM_ROOT="${TRTLLM_ROOT:-$PWD/TensorRT-LLM}"; export PATH="$TRTLLM_VENV/bin:$PATH"; SKILL.md:398-399, SKILL.md:402
F18 P2 action-inverse-dynamics — trtllm-nano-id-av (claude): the client install line omitted ipython although the helper cell, run verbatim headless, imports IPython.display (ModuleNotFoundError); the client's uv venv under the framework checkout also tripped the required-version = "==0.11.29" pin (claude here and in the vllm-omni cell). Client line is now the canonical headless client venv with this route's packages: uv venv --no-config .venv-client --python 3.12 --seed --managed-python && uv pip install --no-config --python .venv-client/bin/python requests safetensors torch imageio imageio-ffmpeg pillow ipython av==18.0.0, with the notebook's origi… SKILL.md:417, references/trt-llm.md:272-274
F19 P3 action-inverse-dynamics — Verifier finding on the Variant 5 rewrite: 'its action weights are not served by this pipeline' was attributed to the setup guide at SKILL.md:93 and in Variant 5, but the sentence is the generate-media TensorRT-LLM notebook's (cosmos3-generate-media/references/trt-llm.md:13, 66, 403); the setup guide has no such text. Zero-line in-place rewrite of the model table's Edge row ('TensorRT-LLM (the generate-media notebook, ../cosmos3-generate-media/references/trt-llm.md): ...'; 'Edge is the compact 4B checkpoint' stays attributed to the setup guide, README:281) and of the Variant 5 Edge sentence; SKILL.md:90-95 (row 93), SKILL.md:396
F20 P1 action-policy — diffusers-nano-policy-droid (0/4 first attempt; 3 of 4 agents died in the install cell, the fourth pre-empted it): the notebook's install cell aborts at uv venv on any host uv other than 0.11.29 because the checkout's pyproject pins [tool.uv] required-version = "==0.11.29" from any cwd, the hosts ship uv 0.13.0, th… Skill note rewritten: any other uv aborts the cell at uv venv (quotes the error), uv self update works only for a standalone-installer uv, and the canonical guard is given as the first line of the same shell call, before the unchanged cell: `uv --version 2>/dev/null | grep -q '^uv 0.11.29' || { curl -LsSf https:/… SKILL.md:155-156, SKILL.md:211-214
F21 P1 action-policy — diffusers-nano-policy-droid (4/4 first attempts hit it): the notebook's headless-server remedy was quoted as a reactive 'if you see an error like libxcb.so.1 ...' step, but on a bare container the first import always fails because Cosmos3OmniPipeline imports cosmos_guardrail -> cv2 even with guardrails disabled,… The Headless-servers sentence now runs the remedy as a pre-flight before the first run with the canonical line apt-get update && apt-get install -y libxcb1 libgl1 libglib2.0-0, marked as a skill note with the import-time reason and the apt-get update requirement; SKILL.md:139-142
F22 P1 action-policy — trt-edge-llm-edge-policy-droid (0/4 first attempt; 13 skill-attributed corrections across the four agents): neither the skill nor the notebook stated (a) the TensorRT version v0.11.0's direct builder needs -- the NGC pytorch 25.09/25.12 images ship 10.13/10.14, which lack INetworkDefinition.add_rotary_embedding; New skill-note paragraph plus a 4-row 'symptom if skipped -> what to run' x86 pre-flight table at the top of references/trt-edge-llm.md (eval 2026-11-08, one H100, CUDA 13): row 1 quotes all three v0.11.0-qualified pins from tensorrt_edgellm/_native/dependencies.py (10.16.0.72 / 10.16.1.11 DGX Spark / 11.0.0.114 Tens… references/trt-edge-llm.md:32-39
F23 P1 action-policy — trt-edge-llm-edge-policy-droid: SKILL.md's Variant 4 skill note said only 'needs a CUDA toolkit and TensorRT on the build host' -- no version and no pointer to the artifact/extras/packages pre-flight -- so an agent reading the Variant 4 section built with whatever the container shipped; § 3 had no package hint at all. Note now reads: needs a CUDA toolkit and a v0.11.0-qualified TensorRT (10.16.0.72 or 11.0.0.114 on x86, tensorrt_edgellm/_native/dependencies.py); the eval's task container has neither, so build inside a CUDA development container (e.g. SKILL.md:363-365, SKILL.md:378
F24 P2 action-policy — sglang-nano-policy-droid (1 of 4 first attempts failed, 3/4 passed): the quoted SGLang launch carried no server-wide guardrail switch; executed verbatim it loads the gated nvidia/Cosmos-1.0-Guardrail and exits with GatedRepoError 401 so /v1/models never answers. Two canonical lines inside the quoted docker run block right after the notebook's -e lines: -e SGLANG_DISABLE_COSMOS3_GUARDRAILS=1 \ and -e HF_TOKEN \ (no trailing comment after the continuation backslash). The introducing sentence says the second block is the notebook's 'plus two skill-added -e lines'; SKILL.md:126-130, SKILL.md:304, SKILL.md:319-320, SKILL.md:334-338, references/sglang.md:37
F25 P2 action-policy — trt-edge-llm-edge-policy-droid: the skill's own 'Verify the output' one-liner read keys values/data, but Variant 4's action.json is keyed action (with a shape field), so the checker printed () False for a genuine result; Checker now reads (d.get('action') or d.get('values') or d.get('data')) (Variant 2's file is keyed data, Variant 3's values/data, so the order is safe); SKILL.md:25, SKILL.md:456-457, SKILL.md:3-16
F26 P2 action-policy — trt-edge-llm-edge-policy-droid: SKILL.md said '§ 1 defaults (the setup cell exports them)', but the Python cell only sets its own os.environ; In-place rewrite: '§ 1 defaults (skill note: the setup cell sets them in its own os.environ only -- export them in the shell that runs § 2 and § 4, and OBSERVATION_IMAGE after § 3)'. SKILL.md:367
F27 P2 action-policy — All cases: the frontmatter description was 1116 characters, over the Agent Skills 1024-character limit; one agent's CLI rejected the skill at startup (the eval still ran because the harness names the file path). Description rewritten to 978 characters, keeping every 'Use when ...' trigger phrase, the four 'Not for' pointers and the row entry point, and stating the 16-step chunk with the TensorRT-Edge-LLM 32-step exception; folded to 13 lines (-2). SKILL.md:3-16
F28 P2 action-policy — diffusers-nano-policy-droid: the 'Verify the output' bullets called Variant 1's (16, 10) shape 'inferred ... not printed by the notebook' and the rollout frame sizes 'unverified', although every run observed them (view_policy prints '16 steps x 10D'; 640x528 for Variants 1 and 3, 736x544 for Variant 2). In-place rewrite to the observed facts: frame size follows the request size, observed 736x544 for Variant 2 (Edge) and 640x528 for Variants 1 and 3 (eval 2026-11-08); Variant 1 (16, 10) normalised, observed, view_policy prints '16 steps x 10D'. SKILL.md:454, SKILL.md:457
F29 P3 action-policy — vllm-omni-edge-policy-droid and sglang-nano-policy-droid (no first-attempt failure; one correction each): both notebook launch blocks end in a one-shot curl .../v1/models that runs while the model still loads (80-125 s), so the documented readiness step fails every time (curl: (52) Empty reply); Zero-line in-place rewrites of both Readiness sentences with the canonical bounded poll: `timeout 600 bash -c 'until curl -sf localhost:8001/v1/models; do sleep 10; SKILL.md:271-272, SKILL.md:334-336
F30 P1 The uv installer honours XDG_BIN_HOME / XDG_DATA_HOME and then writes uv next to that tree; an agent sandbox that exports XDG_DATA_HOME (opencode) kept running the pre-installed system uv 0.13.0 after a successful install and hit Required uv version ==0.11.29 does not match (round 1: opencode on #382's diffusers forward-dynamics case; every skill carries the same line) The installer line pins the directory the PATH export expects: curl -LsSf …/install.sh | env UV_INSTALL_DIR="$HOME/.local/bin" sh forward-dynamics/SKILL.md:109,197, forward-dynamics/references/diffusers.md:126, forward-dynamics/references/cosmos-framework.md:316, inverse-dynamics/SKILL.md:124,180, policy/SKILL.md:153
F31 P1 opencode / policy trt-edge-llm-edge-policy-droid needed six corrections to build TensorRT-Edge-LLM v0.11.0 on x86: a --depth 1 clone without submodules (CMake: missing xgrammar.h), CMake defaulting to CUDA 12.8 on the 13.2 image (CUDA_RUNTIME_API_INCLUDE_DIR-NOTFOUND), .[builder,export] replacing the image's torch, imageio_ffmpeg missing for § 3, and a DROID_ASSET_ROOT that still held LFS pointers. The three first-attempt agents did the same build in one go The symptom table in the reference is now preceded by that one-call build sequence (clone --recurse-submodules, nvcr.io/nvidia/pytorch:26.03-py3, the pip set incl. huggingface-hub / pillow / imageio-ffmpeg, -DCUDA_CTK_VERSION=13.2 -DCUDA_DIR=/usr/local/cuda and the documented flags), plus a one-line note after the § 1 cell on an asset root that still holds pointers; SKILL.md's Variant 4 paragraph points at the block policy/references/trt-edge-llm.md:35, policy/references/trt-edge-llm.md:137, policy/SKILL.md:366
F32 P2 Round 2 (28d6e84), claude / FD trtllm-nano-fd-av: the client script failed at from IPython.display import Video, display — the notebook's client install line (pip install requests safetensors torch imageio imageio-ffmpeg pillow) assumes a Jupyter kernel SKILL.md's quote of that line now says to add ipython; one-line note after the install cell in the reference forward-dynamics/SKILL.md:275, forward-dynamics/references/trt-llm.md:32
F33 P2 QA (2026-11-09) hit the TensorRT-LLM NVDEC prerequisite on another cluster (transfer PR #383); here Variant 5 only mentioned "host NVDEC/NVENC driver libraries available" inside the eval-measurement parenthesis, and the reference bullet lacked the bare-host remedy and the version-mismatch signature (2026-11-08: two ID trtllm-nano-id-av cells self-corrected on it) Variant 5 states it as a prerequisite (the ldconfig -p check, NVIDIA_DRIVER_CAPABILITIES=compute,utility,video at container creation, HTTP 500 signature) and points at the reference bullet, which gains the exact-driver-version codec packages and the HTTP 400 cuvidGetDecoderCaps returned error 100 signature inverse-dynamics/SKILL.md:395; inverse-dynamics/references/trt-llm.md:276
F34 P2 NVBug 7070902 (QA, 2026-11-10): the four Action SKILL.md files routed FP8 / quantize-your-own requests to cosmos3-inference-quantization, a name that no longer exists: the companion PR #385 renamed the skill to cosmos3-quantization on 2026-11-09, after the review round, and the pointers were due to be rewritten only at this PR's rebase Every prose mention and ../cosmos3-quantization/SKILL.md route in the four skills and in docs/cookbook_to_skill_migration.md now uses the canonical name (same change applied to #381, #383, #384); the links resolve once #385 merges cosmos3-inference-action/SKILL.md:144,466; inverse-dynamics/SKILL.md:95,499

After the fixes — 50310b5

cosmos3-inference-action-forward-dynamics

Case Metric claude codex cursor opencode
framework-nano-fd-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ⚠️→✅ ⚠️→✅ ✅→✅
sglang-nano-fd-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ⚠️→✅ ⚠️→✅ ⚠️→✅
vllm-omni-nano-fd-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ✅→✅ ✅→✅ ✅→✅
diffusers-nano-fd-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ✅→✅ ⚠️→✅ ✅→✅
trtllm-nano-fd-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ⚠️→✅ ⚠️→✅ ✅→✅

A group:ci-pr382-c8cf576: 20/20 PASS, 10 first-attempt · B group:ci-pr382-50310b5: 20/20 PASS, 20 first-attempt · compare

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR). First time success: before → after (✅ passed on the first attempt, ⚠️ passed only after a self-correction, ❌ did not pass).

cosmos3-inference-action-inverse-dynamics

Case Metric claude codex cursor opencode
framework-nano-id-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ✅→✅ ⚠️→✅ ✅→✅
trtllm-nano-id-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ⚠️→✅ ⚠️→✅ ⚠️→✅
diffusers-nano-id-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ⚠️→✅ ⚠️→✅ ⚠️→✅
vllm-omni-nano-id-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ✅→✅ ✅→✅ ✅→✅
sglang-nano-id-av Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ✅→✅ ✅→✅ ✅→✅

A group:ci-pr382-c8cf576: 20/20 PASS, 10 first-attempt · B group:ci-pr382-28d6e84: 20/20 PASS, 20 first-attempt · compare

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR). First time success: before → after (✅ passed on the first attempt, ⚠️ passed only after a self-correction, ❌ did not pass).

cosmos3-inference-action-policy

Case Metric claude codex cursor opencode
vllm-omni-edge-policy-droid Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ⚠️→✅ ✅→✅ ✅→✅
sglang-nano-policy-droid Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ✅→✅ ✅→✅ ⚠️→✅ ✅→✅
diffusers-nano-policy-droid Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ⚠️→✅ ⚠️→✅ ⚠️→✅
trt-edge-llm-edge-policy-droid Completion ✅→✅ ✅→✅ ✅→✅ ✅→✅
First time success ⚠️→✅ ⚠️→✅ ⚠️→✅ ⚠️→✅

A group:ci-pr382-c8cf576: 16/16 PASS, 6 first-attempt · B group:ci-pr382-28d6e84: 16/16 PASS, 16 first-attempt · compare

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR). First time success: before → after (✅ passed on the first attempt, ⚠️ passed only after a self-correction, ❌ did not pass).

QA follow-up (2026-11-09/10): 341342a states the TensorRT-LLM NVDEC prerequisite in the inverse-dynamics skill (row F33; a0ea5ab switches the check to /sbin/ldconfig). Force re-run of cosmos3-inference-action-inverse-dynamics/claude/trtllm-nano-id-av on 341342a (group ci-pr382-341342a, dashboard): PASS first attempt, static 95; the other 36 cells were reused. a0ea5ab is a prose-only change to the same sentence and was not re-run.

QA follow-up (2026-11-10, NVBug 7070902): f82b8bb renames every quantization pointer to the canonical cosmos3-quantization (row F34; name-only, no command or eval change).

Companion-name follow-up (2026-11-10): c3ad0cd/9c1899b name the generation skill cosmos3-inference-generate-media in this PR's own skills and migration-record section (the directory is renamed by #385; the pointers resolve once #385 merges). Name-only, no command or eval change.

Rebase for landing (2026-11-10, 2d817e1): merged main after #381, #385 (+ the generation-skill rename) and #384. Landing rule applied in both directions — this PR's five quantization-README links (forward-/inverse-dynamics sglang.md/vllm-omni.md, action-readme.md:5) now point at ../../cosmos3-quantization/SKILL.md; its three links to the retired Reasoner TensorRT-Edge notebook (policy trt-edge-llm.md:10/:362, action-readme.md:338) at the reasoning skill's references/trt-edge-llm.md; inbound, the reasoning skill's reasoner-readme.md:410 and trt-edge-llm.md:218 now point at the policy skill's references/trt-edge-llm.md, and the quantization table's Action row at the forward-/inverse-dynamics references/vllm-omni.md. The six retired notebooks stay deleted; the migration record keeps all four sections; tools/docs/nav.yml keeps the renamed Generation entry and the Action skill entry. Checks: every markdown link in the four skills and the edited sibling files resolves against the merged tree, no stale skill names, SKILL.md 467/497/500/493 lines, all three eval/eval.config byte-identical, pre-commit green on 29 files. Link-only, no eval re-run needed. Pair NVIDIA/cosmos#396 rebased too (aad95a5): Visual Reasoning row and [gen]/[reason] kept from main, the four benchmark pages carry both the #399 audiovisual and this PR's action link, and the action link in benchmark_methodology.md (added by cosmos #400) is re-pointed.

Deliberately unchanged

  • eval/eval.config of cosmos3-inference-action-forward-dynamics, cosmos3-inference-action-inverse-dynamics, cosmos3-inference-action-policy: byte-identical to the migration head c8cf576 — before and after are measured on the same prompts, assertions and checks (the fixes change the skill content hash, so the re-run opens a new dashboard group).
  • Source-quoted notebook/README text stays verbatim; every addition is marked "Skill note (not in the source)".
  • The uv installer line this skill quotes from cosmos3-setup step 3 is corrected at its origin in fix(cosmos3-setup): uv installer line — export PATH instead of sourcing the installer's env file #386 (both copies).

Follow-ups (not in this PR)

  • Non-vendored LFS assets: the DROID, hand-pose, AgiBotWorld, RoboMIND dual-arm / UR examples and av_1.mp4 need the documented materialisation step; every policy case depends on it for DROID. Decide after the eval whether to vendor DROID (+13.9 MiB).
  • Open PR docs: clarify action state and normalization #353 (clarify action state and normalization; +25 lines to the retired action README): re-apply to cosmos3-inference-action/references/action-readme.md and the SKILL.md quotes when it merges, or retarget it if this PR lands first. Enable Intel XPU support for Cosmos3-Edge #352 touches only the shared setup guide, which stays in place.
  • Companion NVIDIA/cosmos PR docs: rename the Action row to Action Policy and point it at the cosmos3-inference-action skill (merge with cosmos-framework #382) cosmos#396 renames the COOKBOOK row ("Action" → "Action Policy") and points it at this skill through the tracked short links nvda.ws/487IcM4 (→ .agents/skills/cosmos3-inference-action/SKILL.md; also the four inference-benchmark pages), nvda.ws/4CbbSFV (README gallery → policy references/vllm-omni.md) and nvda.ws/4AjVK2R (README gallery → forward-dynamics references/vllm-omni.md); the two PRs merge together (header above).

🤖 Generated with Claude Code

christinayyw and others added 3 commits November 7, 2026 13:59
…s, inverse-dynamics and policy blocks (action cookbook → skills)

Action row of the Inference Cookbook migration. The entry skill holds the README (verbatim), the action definition, the FP8 table, the routing table and 44 sample assets vendored as plain blobs (nested .gitattributes); each block skill has one variant per retired notebook, references/ with the notebooks converted 1:1 (the policy-server guide copied verbatim) and eval/eval.config with one case per notebook (5 + 5 + 4). Four .claude/skills symlinks. Nothing in the sources was corrected or reworded; every addition is marked as a skill note.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
…tion; record the migration

Link targets only in the shared setup guide, docs/models/README.md, the NIM action page, the action finetune README and tools/docs/nav.yml; the Action section of docs/cookbook_to_skill_migration.md lists every file move, the vendoring policy, every link rewrite and the formatter record.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
…ated to the cosmos3-inference-action skills)

The 14 notebooks, README.md and run_policy_with_cosmos_framework.md now live under the cosmos3-inference-action entry and block skills. The cookbook keeps assets/ (LFS) and finetune/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
christinayyw and others added 2 commits November 7, 2026 14:08
…cs build stays green

The docs build (tools/docs/stage.py) fails on a dead relative link in a staged page. The cookbook pages that link this row's retired files and are themselves retired by a sibling row of the migration now point at this row's skill as well; the sibling row's deletion supersedes these one-line edits (a trivial modify/delete conflict when rebasing after it merges). The migration record lists them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
The nested cosmos3-nim-user skill inside the NIM cookbook is retired by the NIM row's change (#384); this skill's 2 pointer(s) to it now name the promoted skill's path, which resolves once that change merges (the same merge-order dependency as the quantization pointer).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Skill eval — c8cf576 · run #42471675086 · mode force · cells=cosmos3-inference-action-forward-dynamics/opencode/diffusers-nano-fd-av,cosmos3-inference-action-policy/codex/diffusers-nano-policy-droid,cosmos3-inference-action-policy/opencode/diffusers-nano-policy-droid (3 selected, 53 reused)

56 / 56 cells done · 56 passed · 0 failed · 0 no report · 0 errors · 53 reused · started 2026-11-08 10:42:24 UTC · updated 2026-11-08 11:22:33 UTC

cosmos3-inference-action-forward-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
framework-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
diffusers-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-inverse-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
framework-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-policy · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trt-edge-llm-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Not evaluated

  • cookbooks — eval.config not found at .agents/skills/cookbooks/eval/eval.config
  • cosmos3-inference-action — eval.config not found at .agents/skills/cosmos3-inference-action/eval/eval.config

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 56/56 passed (0 failed, 0 no report, 0 errors)

@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-inference-action-forward-dynamics/opencode/diffusers-nano-fd-av,cosmos3-inference-action-policy/codex/diffusers-nano-policy-droid,cosmos3-inference-action-policy/opencode/diffusers-nano-policy-droid

@lfengad lfengad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 14 notebooks' code cells are preserved in the migrated references, and the latest skill-eval bot report for this head reports 56/56 PASS. Please replace the stale 'Not run yet' evaluation section in the PR description with these results.

Merge-order follow-up: after #385/#381 land, this PR's migrated references must be rebased to the new targets before merging. Eight links currently resolve but will point to retired files in the combined tree:

  • forward-dynamics/references/{sglang.md:51,vllm-omni.md:93}, inverse-dynamics/references/{sglang.md:56,vllm-omni.md:84}, and action/references/action-readme.md:5 link the quantization README; redirect to cosmos3-inference-quantization.
  • action-policy/references/trt-edge-llm.md:10 and :340, and action/references/action-readme.md:338 link the retired Reasoner TRT-Edge notebook; redirect to cosmos3-inference-reasoning/references/trt-edge-llm.md.

Please include these rewrites in the rebased migration rather than leaving a broken-link window for a later fixes PR. This is a sibling-merge requirement; these eight targets still exist at this PR's current head.

…ilures of the 2026-11-08 baseline

Skill text only; eval/eval.config is byte-identical to the migration head. Every addition is marked
"Skill note (not in the source)"; source-quoted notebook text stays verbatim except where the quoted
command was wrong. Fix table with evidence, locations and the baseline/after tables: PR description.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw christinayyw changed the title cosmos3-inference-action skills (cookbook → skill migration) cosmos3-inference-action skills (cookbook → skill migration + eval fixes) Nov 8, 2026
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval cells=cosmos3-inference-action-forward-dynamics//,cosmos3-inference-action-inverse-dynamics//,cosmos3-inference-action-policy//

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Skill eval — 9fed730 · run #42548901688 · mode force · cells=cosmos3-inference-action-inverse-dynamics/opencode/sglang-nano-id-av (1 selected, 55 reused)

56 / 56 cells done · 56 passed · 0 failed · 0 no report · 0 errors · 55 reused · started 2026-11-09 02:43:14 UTC · updated 2026-11-09 02:58:22 UTC

cosmos3-inference-action-forward-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
framework-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
diffusers-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-inverse-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
framework-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-policy · dashboard overview · static 90/100

Case claude codex cursor opencode
diffusers-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trt-edge-llm-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Not evaluated

  • cookbooks — eval.config not found at .agents/skills/cookbooks/eval/eval.config
  • cosmos3-inference-action — eval.config not found at .agents/skills/cosmos3-inference-action/eval/eval.config

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 56/56 passed (0 failed, 0 no report, 0 errors)

@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-inference-action-inverse-dynamics/opencode/sglang-nano-id-av

…rified TensorRT-Edge-LLM x86 build block, DROID asset-root note)

Skill-eval re-run on 9fed730: 56 cells, 55 PASS, 53 first-attempt (one report-less opencode exit re-run separately). What changes:
- opencode / diffusers-nano-fd-av: the uv installer wrote uv under XDG_DATA_HOME (opencode exports it), so the PATH export missed it and the system uv 0.13.0 failed the ==0.11.29 pin. Every guard line now pins UV_INSTALL_DIR=$HOME/.local/bin.
- opencode / trt-edge-llm-edge-policy-droid (6 corrections: shallow clone without submodules, CMake defaulting to CUDA 12.8 on the 13.2 image, .[export] replacing the image's torch, missing imageio-ffmpeg, LFS-pointer asset root): the pre-flight symptom table in references/trt-edge-llm.md is now preceded by the one-call build sequence the three first-attempt agents used (clone --recurse-submodules, NGC pytorch:26.03-py3, the pip set, CUDA_CTK_VERSION/CUDA_DIR, cmake flags), plus a one-line note after the § 1 cell on a DROID_ASSET_ROOT that still holds LFS pointers.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Skill eval — 28d6e84 · run #42556496388

56 / 56 cells done · 55 passed · 0 failed · 0 no report · 1 errors · 0 reused · started 2026-11-09 03:27:40 UTC · updated 2026-11-09 10:56:27 UTC

cosmos3-inference-action-forward-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
framework-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ⛔ ERROR · report
diffusers-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-inverse-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
framework-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-policy · dashboard overview · static 90/100

Case claude codex cursor opencode
diffusers-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trt-edge-llm-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Not evaluated

  • cookbooks — eval.config not found at .agents/skills/cookbooks/eval/eval.config
  • cosmos3-inference-action — eval.config not found at .agents/skills/cosmos3-inference-action/eval/eval.config

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

❌ done — 55/56 passed (0 failed, 0 no report, 1 errors)

@christinayyw

Copy link
Copy Markdown
Collaborator Author

Eval section is updated (56/56 PASS, 54 first-attempt after the fixes; round 2 running). The five quantization-README links get rewritten in this PR's rebase after #385 lands; the three links to the reasoner TRT-Edge notebook are rewritten by #381's rebase when it retires that notebook (merge order #385 → #382 → #381 → #383 → #384).

…RT-LLM client dependencies

Round 2 (28d6e84), claude / trtllm-nano-fd-av: the client script failed at 'from IPython.display import Video, display' because the notebook's client install line assumes a Jupyter kernel. SKILL.md's quote of that line now says to add ipython, and the reference carries a one-line note after the install cell. Nothing else changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval cells=cosmos3-inference-action-forward-dynamics//

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Skill eval — 50310b5 · run #42687414193 · mode force · cells=cosmos3-inference-action-inverse-dynamics/codex/framework-nano-id-av (1 selected, 55 reused)

56 / 56 cells done · 56 passed · 0 failed · 0 no report · 0 errors · 55 reused · started 2026-11-09 19:52:12 UTC · updated 2026-11-09 20:10:43 UTC
♻️ Cache: 1 published result of this skill version not reused — environment changed (image v20261109 → v20261110); the cells run again

cosmos3-inference-action-forward-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
framework-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
diffusers-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-inverse-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
framework-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-id-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-policy · dashboard overview · static 90/100

Case claude codex cursor opencode
diffusers-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trt-edge-llm-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Not evaluated

  • cookbooks — eval.config not found at .agents/skills/cookbooks/eval/eval.config
  • cosmos3-inference-action — eval.config not found at .agents/skills/cosmos3-inference-action/eval/eval.config

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 56/56 passed (0 failed, 0 no report, 0 errors)

@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-inference-action-inverse-dynamics/codex/framework-nano-id-av

@christinayyw
christinayyw marked this pull request as ready for review November 9, 2026 20:34
christinayyw added a commit to christinayyw/cosmos that referenced this pull request Nov 9, 2026
…-framework NVIDIA#382)

COOKBOOK.md `[action]` → https://nvda.ws/487IcM4 (Action Policy row); README gallery “Action policy” https://nvda.ws/4ses7Nz → https://nvda.ws/4CbbSFV (policy vLLM-Omni reference) and “Action-conditioned World Model” https://nvda.ws/4srp0C7 → https://nvda.ws/4AjVK2R (forward-dynamics vLLM-Omni reference); the four inference-benchmark pages’ “action cookbook” link https://nvda.ws/4dUeBsJ → https://nvda.ws/487IcM4.

The new short URLs resolve to the skill paths that NVIDIA/cosmos-framework#382 creates on main; the old cookbook pages they replace are deleted by that PR, so the two merge together. Links not tied to that PR are untouched.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
…EC prerequisite as a requirement, with the check and remedies

The parenthesis 'host NVDEC/NVENC driver libraries available' read as an eval measurement.
Variant 5 now names it as a prerequisite: video_reference is decoded on NVDEC, so the driver's
libnvcuvid.so.1 and libnvidia-encode.so.1 must load where trtllm-serve runs (ldconfig check,
NVIDIA_DRIVER_CAPABILITIES=compute,utility,video for containers); the reference bullet gains
the bare-host exact-driver-version remedy and the HTTP 400 cuvidGetDecoderCaps signature.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

Copy link
Copy Markdown
Collaborator Author

/run-skill-eval force cells=cosmos3-inference-action-inverse-dynamics/claude/trtllm-nano-id-av

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Skill eval — 341342a · run #42732641506 · mode force · cells=cosmos3-inference-action-inverse-dynamics/claude/trtllm-nano-id-av (1 selected, 36 reused)

37 / 37 cells done · 37 passed · 0 failed · 0 no report · 0 errors · 36 reused · started 2026-11-10 01:01:19 UTC · updated 2026-11-10 01:54:31 UTC

cosmos3-inference-action-forward-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
framework-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
diffusers-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trtllm-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-fd-av ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

cosmos3-inference-action-inverse-dynamics · dashboard overview · static 95/100

Case claude codex cursor opencode
diffusers-nano-id-av — not selected — not selected — not selected — not selected
framework-nano-id-av — not selected — not selected — not selected — not selected
vllm-omni-nano-id-av — not selected — not selected — not selected — not selected
sglang-nano-id-av — not selected — not selected — not selected — not selected
trtllm-nano-id-av ✅ PASS · report — not selected — not selected — not selected

cosmos3-inference-action-policy · dashboard overview · static 90/100

Case claude codex cursor opencode
diffusers-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
vllm-omni-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
sglang-nano-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report
trt-edge-llm-edge-policy-droid ✅ PASS · report ✅ PASS · report ✅ PASS · report ✅ PASS · report

Not evaluated

  • cookbooks — eval.config not found at .agents/skills/cookbooks/eval/eval.config
  • cosmos3-inference-action — eval.config not found at .agents/skills/cosmos3-inference-action/eval/eval.config

Previous runs on this PR

Legend: ⏳ queued · 🟢 running · ✅ PASS · ❌ FAIL · ⚠️ PARTIAL · ❔ NO-REPORT (the agent finished without writing a report) · ⛔ ERROR (model gateway / agent / node error, see the report) · 💥 error (launcher failed before publishing) · reused (progress line) = cells this run did not execute: another run's newest result of this skill version, shown like a fresh one · (not selected) = outside the trigger's cells= with no result of this skill version yet · (not re-run: n report-less attempts) = 3 consecutive NO-REPORT/ERROR results for this skill version, treated as a harness-side failure (force or cells= re-runs it) · not run = the runner lost docker (job stopped)

✅ done — 37/37 passed (0 failed, 0 no report, 0 errors)

@satishra-ai satishra-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #382 - P2 nvBug 7070902 filed

Overall result: All 14 backend tests passed: 5 Forward Dynamics, 5 Inverse Dynamics, and 4 DROID Policy cases.
Environment: High-priority Lepton jobs, using one H200 GPU at a time.
GPU usage: Approximately 1.85 GPU-hours, within the approved 16 GPU-hour budget.
Runtime validation: Independently checked generated video frames/FPS, finite action values and shapes, required artifacts, and file hashes.
Migration validation: Confirmed preservation of 388 notebook cells and 44 vendored assets.
Confirmed defect: Quantization routing references a nonexistent skill name. Filed as Nvbug 7070902. No runtime product defect was confirmed.
Source coverage: GPU tests used commit 50310b5; the subsequent documentation-only change at 341342a was reviewed separately.
Completion: Evidence checksums verified and temporary resources cleaned up. Results qualify the selected smoke-test scope, not full PR or release acceptance.

christinayyw and others added 2 commits November 9, 2026 17:58
…nfig (works without /sbin on PATH)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
…osmos3-quantization (NVBug 7070902)

The companion PR #385 renamed cosmos3-inference-quantization to cosmos3-quantization on
2026-11-09; every prose mention and ../cosmos3-quantization/SKILL.md route in this PR's skills
and in docs/cookbook_to_skill_migration.md now uses that name. The links resolve once #385 merges.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
lfengad added a commit that referenced this pull request Nov 10, 2026
…fixes) (#381)

# MUST BE MERGED WITH NVIDIA/cosmos#395
(NVIDIA/cosmos#395) - THAT PR RE-POINTS THE
COSMOS COOKBOOK INDEX TO PATHS THIS PR CREATES; MERGING ONE SIDE ALONE
LEAVES DEAD LINKS

NVIDIA/cosmos#395 switches the COOKBOOK.md “Visual Reasoning” row and
the README gallery “World reasoning” link to tracked short URLs
`nvda.ws/4sZUgbF` (this skill's `SKILL.md`) and `nvda.ws/4kFUrXs`
(`references/vllm.md`), which resolve to paths this PR creates on
`main`, while this PR deletes the cookbook pages those links replace.
Alone, this PR leaves the Cosmos index pointing at deleted pages; alone,
#395 points at paths that do not exist yet. #395 touches only this
skill's links, so the pair merges independently of the other rows.

Cookbook→skill migration of the **Visual Reasoning** row: the six
Reasoner notebooks, the Reasoner README and the prompt guide of
`.agents/skills/cookbooks/cosmos3/reasoner/` become
**`cosmos3-inference-reasoning`**, applied as a diff on `main`
(`bbd4a67`, the sources' version). No eval (GPU) job runs on push or
merge; the skill eval is opt-in (`/run-skill-eval`) and has not been
triggered on this branch.

### What this PR delivers

- **One skill for the six Reasoner inference paths** — Cosmos Framework,
vLLM, SGLang, TensorRT-LLM, Transformers, TensorRT-Edge-LLM — for the
Edge / Nano / Super checkpoints. `SKILL.md` (500 lines) summarises each
variant by quoting the notebook's smoke path (install, launch,
readiness, request, shutdown), the README's memory-footprint figures and
the prompt guide's rules, and makes the reference file required reading
before the first command. `.claude/skills/cosmos3-inference-reasoning`
symlink for Claude Code (Codex and Cursor read `.agents/skills/`
natively).
- **The cookbook migrated 1:1 into `references/`**: one file per
notebook (`cosmos-framework.md`, `vllm.md`, `sglang.md`,
`tensorrt-llm.md`, `transformers.md`, `trt-edge-llm.md`) plus the README
(`reasoner-readme.md`) and the prompt guide (`prompt-guide.md`) copied
verbatim. Every markdown and code cell in notebook order, code cells
fenced, `%%bash` cells as `bash` without the magic line, outputs omitted
(the committed notebooks have none); nothing corrected, re-pinned or
reworded. Each file carries one marked provenance note; the only other
edits are link-target rewrites (link text unchanged, each listed in the
migration record) and the pre-commit hook's whitespace (one table
re-aligned, blank lines between headings; `transformers.md` § 1 keeps
the notebook's bare uv URL inside a `rumdl-disable MD034` comment pair).
Checked cell by cell against the notebooks: 254 cells, all present; the
10 cells the check flags differ only by a link target or hook
whitespace.
- **Assets**: 12 of the cookbook's 15 sample files (3.9 MiB:
`robot_153.jpg`, 4 PNGs, 7 clips) are vendored under `assets/` as plain
blobs; a nested `.gitattributes` exempts them from the repository's LFS
rules because the eval containers check out without git-lfs. Not
vendored: `drive_scene_next_action.mp4` (3.3 MiB),
`temporal_localization_1.mp4` (14.0 MiB) and
`temporal_localization_2.mp4` (3.5 MiB) stay in the cookbook's `assets/`
as LFS objects; the prompt guide links them there and `SKILL.md`
"Bundled assets" says how to materialise them.
- **`eval/eval.config`: 6 cases, one per notebook** — 1 GPU, 60 min / 3M
tokens, `HF_TOKEN` + `GITHUB_TOKEN`, `docker: true` for the three server
cases, `setup` = this repository (unpinned, as in
`cosmos3-generate-media`). Every case is the notebooks' image-caption
smoke on the bundled `assets/robot_153.jpg`.

| Case | Source notebook | Backend / model | GPU footprint (as the
source states it) | Smoke data |
| --- | --- | --- | --- | --- |
| `framework-nano-image-caption` | `run_with_cosmos_framework.ipynb` |
`cosmos_framework.scripts.inference`, Cosmos3-Nano; fresh clone of this
repository's `main` + `uv sync` in the run | one GPU,
`--parallelism-preset=latency`; README: "~34 GB with the Cosmos
Framework backend" | `assets/robot_153.jpg`, the notebook's `nano_image`
input ("Describe what is happening in this image in one sentence.") |
| `vllm-edge-image-caption` | `run_with_vllm.ipynb` |
`vllm/vllm-openai:cosmos3`, Cosmos3-Edge | one GPU (`--gpus
'"device=0"'`); "the smaller tier and runs on a single GPU" |
`assets/robot_153.jpg`, "Caption the image in detail." |
| `sglang-edge-image-caption` | `run_with_sglang.ipynb` |
`lmsysorg/sglang:dev`, Cosmos3-Edge | one GPU (`--tp-size 1`); same
statement | same |
| `tensorrt-llm-nano-image-caption` | `run_with_tensorrt_llm.ipynb` |
`nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc22`, Cosmos3-Nano | one GPU;
README: "~16–17 GB with vLLM / TensorRT-LLM / Transformers / NIM" | same
|
| `transformers-nano-image-caption` | `run_with_transformers.ipynb` |
Transformers (git main) in the notebook's uv venv, Cosmos3-Nano Reasoner
tower, bf16 | one GPU (`device_map="auto"`); README: "~16–17 GB" | same
|
| `trt-edge-llm-edge-onnx-export` | `run_with_trt_edge_llm.ipynb` |
TensorRT-Edge-LLM v0.11.0, Cosmos3-Edge — host-side part only (CPU ONNX
export + the request `input.json`) | none in the evaluated part; the
engine build and `llm_inference` need the C++ runtime (Jetson Thor/Orin,
DRIVE, DGX Spark or an x86 developer build), which the eval host does
not provide — blocker-tolerant wording for the export itself |
`assets/robot_153.jpg` in the notebook's request |

- **Docs**: the "Visual Reasoning" section of
`docs/cookbook_to_skill_migration.md` (source → destination table, asset
policy, the non-source edits, every link rewrite); `tools/docs/nav.yml`
entries "Prompting the Reasoner" and "Reasoner" and
`docs/models/README.md` point at the skill.

### FP8

Three variants carry the notebooks' own released-FP8 routes (already on
`main`: vLLM via #329 / #345 / #341; the framework and Transformers
sections came with the cookbook), surfaced per variant in `SKILL.md` and
kept 1:1 in the references: Variant 1 (`cosmos-framework.md` § 7a,
`nvidia/Cosmos3-Nano` at revision `fp8`), Variant 2 (`vllm.md`
"Quantized Checkpoints": `nvidia/Cosmos3-Edge-FP8` on
`vllm/vllm-openai:nightly`, `nvidia/Cosmos3-Super-FP8` on
`vllm/vllm-openai:v0.31.0`) and Variant 5 (`transformers.md` § 3a / § 6,
ModelOpt FP8 for the Nano/Super `fp8` revision; "Edge has none"). The
SGLang, TensorRT-LLM and TensorRT-Edge-LLM notebooks have no FP8
section. Nothing is folded in from the quantization cookbook: its
README's Inference section defers to the vLLM notebook for Reasoner FP8
serving (its generic `vllm serve <local FP8 dir> --served-model-name …`
line is the only sentence not repeated here). Making your own FP8
checkpoint is the quantization skill's job: `SKILL.md` points at
`../cosmos3-quantization/SKILL.md` (#385).

### What is deliberately not changed

- 1:1 migration: the references carry the notebooks' text and pins as
they stand on `main` (TensorRT-LLM `release:1.3.0rc22` / `1.4.0rc2`,
`transformers` from git main, uv 0.11.29, `--max_num_tokens 32768`, …)
with no corrections; everything the skill adds is marked "Skill note
(not in the source)". Eval-derived fixes go to a stacked fixes PR after
the eval, for separate review; `eval/eval.config` is frozen from here so
before and after are measured on the same prompts.
- The cookbook keeps `reasoner/assets/` (LFS; the NIM examples and the
three non-vendored clips use it) and `reasoner/finetune/`; the NIM pages
(`cookbooks/cosmos3/nim/`) and their nested skill are unchanged; the
README's NIM quickstart stays inside `references/reasoner-readme.md`.
- No `.github` changes.

### Retired from the cookbook

`.agents/skills/cookbooks/cosmos3/reasoner/`: `README.md`,
`reasoner_prompt_guide.md`, `run_with_cosmos_framework.ipynb`,
`run_with_vllm.ipynb`, `run_with_sglang.ipynb`,
`run_with_tensorrt_llm.ipynb`, `run_with_transformers.ipynb`,
`run_with_trt_edge_llm.ipynb` (8 files).

Inbound links re-pointed at the skill (17 targets in 9 files, link text
unchanged): `cookbooks/cosmos3/README.md` (5), `docs/models/README.md`
(2), `tools/docs/nav.yml` (2), `cookbooks/cosmos3/nim/reasoning.md` (2),
`cookbooks/cosmos3/nim/examples/reasoner_cases.yaml`
(`prompt_source.path`),
`evaluation/cosmos3/reasoner/vlmevalkit/README.md`,
`cookbooks/cosmos3/generator/action/README.md`,
`generator/action/run_policy_with_trt_edge_llm.ipynb` (2),
`cookbooks/cosmos3/quantization/README.md`. The last three are
themselves retired by the Action and Quantization rows; they are
re-pointed anyway so this PR leaves no dead link in a page the docs
build stages (their deletion supersedes the edit — a trivial
modify/delete conflict when rebasing after the sibling merges).

### Cross-row links and merge order

One of five Inference-row migrations opened together: Visual Reasoning
(this PR), Action #382, Transfer #383, NIM #384, Quantization #385. Each
is self-consistent at its own head: every relative link resolves and
pre-commit is green. Links from this skill's references to pages a
sibling row retires (the quantization README in `reasoner-readme.md` and
`vllm.md`; the policy TensorRT-Edge-LLM notebook in `reasoner-readme.md`
and `trt-edge-llm.md`) point at those pages' current location, go dead
when that sibling merges and are re-pointed in the follow-up round
(listed in the migration record). The `../cosmos3-quantization/SKILL.md`
pointer in `SKILL.md` resolves once #385 merges — the evaluator's static
"references resolve" check warns until then, so merging #385 first keeps
the other four clean. The five PRs share edit sites
(`tools/docs/nav.yml`, `cookbooks/cosmos3/README.md`,
`docs/models/README.md`, `docs/cookbook_to_skill_migration.md`), so each
merge needs a trivial rebase of the rest. The NIM pointer in Related
skills (`../cosmos3-inference-nim/SKILL.md`) likewise resolves once #384
merges: that PR retires the nested `cosmos3-nim-user` copy this skill
used to point at.

**Rebase notes.** If #385 merges first: keep its deletion of
`quantization/README.md` over this PR's one-line edit, and re-point the
quantization-README links in `references/reasoner-readme.md` and
`references/vllm.md` at `../../cosmos3-quantization/SKILL.md` (the
pre-commit `rumdl` link check fails on the dead link otherwise). If #382
merges first: keep its deletions of `generator/action/README.md` and
`run_policy_with_trt_edge_llm.ipynb`, and re-point the policy-notebook
links in `references/reasoner-readme.md` and
`references/trt-edge-llm.md` at
`../../cosmos3-inference-action-policy/references/trt-edge-llm.md`. If
#385 is already on `main`: this PR also re-points the Reasoner row of
`cosmos3-quantization/references/quantization-readme.md` (line 225,
`reasoner/run_with_vllm.ipynb`) at
`../../cosmos3-inference-reasoning/references/vllm.md`; if #382 is
already on `main`: also re-point its links to
`reasoner/run_with_trt_edge_llm.ipynb`
(`cosmos3-inference-action/references/action-readme.md`, policy
`references/trt-edge-llm.md` ×2) at
`../../cosmos3-inference-reasoning/references/trt-edge-llm.md` — the
retiring PR rewrites every link to the file it retires.

### Evaluation results

Runs on this PR: the **baseline** on the migration head `bf4aaa3` (the
1:1 migration, no corrections) and the re-runs after the eval-derived
fixes below, the last one on `e728fd2`; the "After the fixes" table
compares the baseline with that final head. "First attempt" = the
documented workflow worked without a self-correction.

#### Baseline — migration head `bf4aaa3`

| Case | claude | codex | cursor | opencode |
|---|---|---|---|---|
| `sglang-edge-image-caption` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T050941Z-cosmos3-inference-reasoning-ab62d7/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T050811Z-cosmos3-inference-reasoning-17f180/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044324Z-cosmos3-inference-reasoning-6e54de/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T042318Z-cosmos3-inference-reasoning-cf90a9/)
|
| `vllm-edge-image-caption` | ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T043510Z-cosmos3-inference-reasoning-0c3d42/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T045751Z-cosmos3-inference-reasoning-633a23/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044749Z-cosmos3-inference-reasoning-018753/)
| ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041026Z-cosmos3-inference-reasoning-c54e32/)
|
| `framework-nano-image-caption` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T045115Z-cosmos3-inference-reasoning-c46831/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041021Z-cosmos3-inference-reasoning-73ed6f/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044031Z-cosmos3-inference-reasoning-1dadc0/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041020Z-cosmos3-inference-reasoning-0d4784/)
|
| `tensorrt-llm-nano-image-caption` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T050749Z-cosmos3-inference-reasoning-7d1f33/)
| ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041021Z-cosmos3-inference-reasoning-f99a36/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041913Z-cosmos3-inference-reasoning-3a86e5/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T105837Z-cosmos3-inference-reasoning-7657f4/)
|
| `trt-edge-llm-edge-onnx-export` | ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T043013Z-cosmos3-inference-reasoning-34d537/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044351Z-cosmos3-inference-reasoning-199804/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T045640Z-cosmos3-inference-reasoning-91f11c/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T041021Z-cosmos3-inference-reasoning-017818/)
|
| `transformers-nano-image-caption` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044528Z-cosmos3-inference-reasoning-e2e759/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T051556Z-cosmos3-inference-reasoning-8476f0/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T044708Z-cosmos3-inference-reasoning-6c9b08/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T045202Z-cosmos3-inference-reasoning-064bea/)
|

**24/24 PASS, 9/24 first-attempt** · group `ci-pr381-bf4aaa3` ·
[dashboard](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-reasoning/groups/ci-pr381-bf4aaa3/)

#### What failed and where it was fixed

Problems are the recurring first-attempt failures and self-corrections
of the baseline (which cells, fatal vs self-correction); fixes are skill
text only. Where = `file:lines` permalinks (rows from the earlier
commits keep their own); problems found after the first fix round name
the agent and case; `SKILL.md` and `references/` are relative to the
skill directory.

| ID | Pri | Problem (eval evidence) | Fix applied | Where (permalink) |
|---|---|---|---|---|
| F1 | P1 | Read-this-first item 5 told the agent to `source
$HOME/.local/bin/env` after installing uv 0.11.29, but the installer
writes that file only when it modifies PATH; on a host that already has
`~/.local/bin` on PATH it sets NO_MODIFY_PATH and the documented line
exits 1 (`No such file or directory`). | The install line now reads
`curl -LsSf https://astral.sh/uv/0.11.29/install.sh \| sh; export
PATH="$HOME/.local/bin:$PATH"` (the shared canonical form, same line,
zero lines added); the PATH prepend also makes 0.11.29 win over any
pre-installed uv found elsewhere on PATH. |
[SKILL.md:49](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L49)
|
| F2 | P1 | The Variant 2 request block, which Variants 3 and 4 reuse,
sends a `file://` URL for `assets/robot_153.jpg` and relies on the `-v
"$COSMOS_ROOT:$COSMOS_ROOT"` bind mount. | One shared skill note in the
request paragraph: before the first request run `docker exec
"$CONTAINER" test -r "$COSMOS_REASONER_ASSETS/robot_153.jpg" \|\| docker
cp "$COSMOS_REASONER_ASSETS" "$CONTAINER:$COSMOS_ROOT/"` (with the
explicit container-name mapping cosmos3-reasoner-vllm / -sglang /
-trtllm and the symptom). |
[SKILL.md:218-221](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L218-L221)
(budget trim
[SKILL.md:21-22](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L21-L22))
|
| F3 | P1 | The TensorRT-Edge-LLM notebook's "after `pip install -e .`
in the TensorRT-Edge-LLM checkout" is insufficient at v0.11.0: the base
package depends only on cuda-python and numpy (`No module named torch`),
and the `[export]` extra lacks nvidia-modelopt, which the visual half of
`tensorrt-edgellm-export --task reasoning`… | SKILL.md Variant 6 keeps
the notebook quote (including "It downloads `nvidia/Cosmos3-Edge` on
first use.") and adds the skill note that at v0.11.0 the install must be
`pip install -e ".[tools]"` in a venv of the v0.11.0 checkout (plain `-e
.` lacks torch, `[export]` lacks nvidia-modelopt), pointing at section 2
for the… |
[SKILL.md:422-423](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L422-L423);
[references/trt-edge-llm.md:97-101](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/references/trt-edge-llm.md#L97-L101)
(budget trim
[SKILL.md:65-66](https://github.com/NVIDIA/cosmos-framework/blob/41f2440/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L65-L66))
|
| F4 | P1 | The uv installer honours `XDG_BIN_HOME` / `XDG_DATA_HOME`
and then writes uv next to that tree; an agent sandbox that exports
`XDG_DATA_HOME` (opencode) kept running the pre-installed system uv
0.13.0 after a successful install and hit `Required uv version ==0.11.29
does not match` (round 1: opencode on #382's diffusers forward-dynamics
case; every skill carries the same line) | The installer line pins the
directory the PATH export expects: `curl -LsSf …/install.sh \| env
UV_INSTALL_DIR="$HOME/.local/bin" sh` |
[SKILL.md:49](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L49)
|
| F5 | P2 | cursor / `tensorrt-llm-nano-image-caption`: the notebook's
`find_repo_root()` raised `FileNotFoundError` from the skill directory
and the agent had to work out the asset path itself; Read this first 3
already prescribes `Path.cwd() / "assets"`, but the reference cell gave
no hint | A one-line skill note before every repo-root cell of the
references (also the vLLM cell's `COSMOS_REASONER_ASSETS` assertion)
pointing at the Read-this-first replacement |
[references/tensorrt-llm.md:35](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/tensorrt-llm.md#L35),
[references/sglang.md:34](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/sglang.md#L34),
[references/trt-edge-llm.md:31](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/trt-edge-llm.md#L31),
[references/transformers.md:66,181](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/transformers.md#L66,L181),
[references/cosmos-framework.md:63](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/cosmos-framework.md#L63),
[references/vllm.md:36](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/vllm.md#L36)
|
| F6 | P2 | claude / `trt-edge-llm-edge-onnx-export`: the skill-note
install command (`pip install -e ".[tools]"`) downloaded the CUDA wheels
for 10 minutes and hit the tester's tool limit (exit 143); the second
correction, a transient Hugging Face connection reset, has no skill side
| The same install through `uv pip install --python venv/bin/python -e
".[tools]"` (parallel, cached downloads; uv 0.11.29 is already required
by Read this first 5) |
[references/trt-edge-llm.md:102](https://github.com/NVIDIA/cosmos-framework/blob/e728fd2ffc8ad876a368bba4d11c3841ce37786c/.agents/skills/cosmos3-inference-reasoning/references/trt-edge-llm.md#L102)
|
| F7 | P2 | NVBug 7070640 (QA, 2026-11-09): the cookbook README quoted
in `references/reasoner-readme.md` and in SKILL.md "Model sizes vs GPU"
says the Framework backend always loads the full omni weights and needs
~34 GB for Nano, but since framework #146
`cosmos_framework.scripts.inference` applies `reasoner_only_overrides()`
when every sample is a reasoner sample (vision tokenizer, generation
heads and generation tower not built, tensors never read); the
2026-11-08 eval measured ~19 GiB peak for the Framework Nano
image-caption cells (grader LV2 suggestion at the time, not acted on) |
A marked skill note next to the quote in SKILL.md (same lines, 500-line
cap) and a blockquote after the README paragraph in the reference state
the reasoner-only loading rule, the log line and the measured figure;
the Nano table row carries the measured peak. The README quotation
itself stays verbatim |
[SKILL.md:102](https://github.com/NVIDIA/cosmos-framework/blob/e9cdfaa2b395f860f14d78e2d5ea883dbf32619f/.agents/skills/cosmos3-inference-reasoning/SKILL.md#L102);
[references/reasoner-readme.md:36](https://github.com/NVIDIA/cosmos-framework/blob/e9cdfaa2b395f860f14d78e2d5ea883dbf32619f/.agents/skills/cosmos3-inference-reasoning/references/reasoner-readme.md#L36)
|

#### After the fixes — `e728fd2`

| Case | Metric | claude | codex | cursor | opencode |
|---|---|---|---|---|---|
| `tensorrt-llm-nano-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅
|
| | First time success | ✅→✅ | ⚠️→✅ | ⚠️→✅ | ✅→✅ |
| `framework-nano-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ✅→✅ | ⚠️→✅ | ⚠️→✅ | ✅→✅ |
| `vllm-edge-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ |
| `trt-edge-llm-edge-onnx-export` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ |
| `sglang-edge-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ✅→✅ | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ |
| `transformers-nano-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅
|
| | First time success | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |

**A** `group:ci-pr381-bf4aaa3`: 24/24 PASS, 9 first-attempt · **B**
`group:ci-pr381-e728fd2`: 24/24 PASS, 24 first-attempt ·
[compare](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-reasoning/compare?a=group%3Aci-pr381-bf4aaa3&b=group%3Aci-pr381-e728fd2)

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR).
First time success: before → after (✅ passed on the first attempt, ⚠️
passed only after a self-correction, ❌ did not pass).

QA follow-up (2026-11-09): `e9cdfaa` corrects the Framework memory claim
for reasoner-only batches (NVBug 7070640, row F7); prose only, no
command or eval change, so the 24/24 table above stands.

Companion-name follow-up (2026-11-10): `7d5ca72` renames the
quantization pointers to the canonical `cosmos3-quantization` (the skill
was renamed in #385 on 2026-11-09; QA filed NVBug 7070902 on #382 for
the same stale name). Name-only, no command or eval change; the links
resolve once #385 merges.



#### Deliberately unchanged

- `eval/eval.config` of `cosmos3-inference-reasoning`: byte-identical to
the migration head `bf4aaa3` — before and after are measured on the same
prompts, assertions and checks (the fixes change the skill content hash,
so the re-run opens a new dashboard group).
- Source-quoted notebook/README text stays verbatim; every addition is
marked "Skill note (not in the source)".
- The uv installer line this skill quotes from `cosmos3-setup` step 3 is
corrected at its origin in #386 (both copies).

### Follow-ups (not in this PR)

- #349 (open; +36/−2 on the retired `reasoner/README.md` and
`reasoner_prompt_guide.md`: `media_io_kwargs` video sampling for raw
vLLM requests) — re-apply to `references/reasoner-readme.md` and
`references/prompt-guide.md` when it merges, or retarget it at those
files if this PR lands first.
- The three non-vendored LFS clips: the Temporal Localization, Event
Timeline / Timestamp Query / Interval Question and Drive Scene Next
Action prompts need the documented materialisation step first.
- Companion NVIDIA/cosmos PR NVIDIA/cosmos#395 renames the COOKBOOK row
("Reasoning" → "Visual Reasoning") and points it at this skill through
the tracked short links nvda.ws/4sZUgbF (→
`.agents/skills/cosmos3-inference-reasoning/SKILL.md`) and
nvda.ws/4kFUrXs (README gallery → `references/vllm.md`); the two PRs
merge together (header above).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: lfengad <liangf@nvidia.com>

@satishra-ai satishra-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA bugs verified and closed.

christinayyw and others added 3 commits November 10, 2026 11:49
…enamed in #385)

Text-only sweep of the pointers to the audiovisual generation skill; the directory itself is
renamed by #385 and these links resolve once that PR merges.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
The shared files (cookbook READMEs, skill-authoring skill, docs, nav, skill-eval README/test/config)
are renamed by #385 itself; this PR only re-points its own skills and its migration-record section.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
christinayyw added a commit that referenced this pull request Nov 10, 2026
…+ rename cosmos3-generate-media → cosmos3-inference-generate-media (#385)

# MUST BE MERGED WITH NVIDIA/cosmos#399
(NVIDIA/cosmos#399) - THAT PR RE-POINTS THE
COSMOS COOKBOOK INDEX TO PATHS THIS PR CREATES; MERGING ONE SIDE ALONE
LEAVES DEAD LINKS — #399 ALSO RE-POINTS THE COOKBOOK "GENERATION" ROW,
README GALLERY AND BENCHMARK-PAGE LINKS AT THE RENAMED
`cosmos3-inference-generate-media` SKILL (nvda.ws/4iGZxA5 →
`.agents/skills/cosmos3-inference-generate-media/SKILL.md`)

NVIDIA/cosmos#399 switches the COOKBOOK.md “Quantization” row to the
tracked short URL `nvda.ws/4zcsEl5` (this skill's `SKILL.md`; the
interim `nvda.ws/4zwUnxL`, which targeted the pre-rename path, was
retired from the register), which resolves to a path this PR creates on
`main`, while this PR deletes the cookbook pages those links replace.
Alone, this PR leaves the Cosmos index pointing at deleted pages; alone,
#399 points at paths that do not exist yet. #399 touches only this
skill's links, so the pair merges independently of the other rows.

**Renamed 2951bd2:** the skill directory is now
`.agents/skills/cosmos3-quantization` (was
`cosmos3-inference-quantization`); text, `eval/eval.config` and the
SKILL.md body are byte-identical apart from the name. The eval tables
below were produced under the old name (dashboard groups and permalinks
keep it); the renamed skill is registered on the dashboard by a one-cell
run (group `ci-pr385-2951bd2`, static score 90,
`framework-edge-quantize-fp8` / claude PASS first attempt). The Cosmos
cookbook row's tracked short link is being re-created for the new path.

**Merged `main` (907aff9) and renamed the generation skill (372bd9e,
review ask on this PR):** after #381 landed, this branch merged `main`
and applied the landing rule (the retiring PR rewrites every link to the
file it retires): the reasoning skill's two quantization-README links
now point at `../../cosmos3-quantization/SKILL.md`
(`references/reasoner-readme.md`, `references/vllm.md`), the Reasoner
row of `references/quantization-readme.md` points at the reasoning
skill's `references/vllm.md`, and the retired `run_with_vllm.ipynb`
stays deleted. Then `cosmos3-generate-media` →
**`cosmos3-inference-generate-media`** (git mv, `.claude/skills`
symlink, frontmatter name, every in-repo reference incl. cookbook
READMEs, docs, nav, migration record and the skill-eval
README/test/config example; skill text and `eval/eval.config` otherwise
byte-identical; the skill-eval unit test's hard-coded expectation is now
order-independent, 109 tests pass). The dashboard registers the renamed
skill with the two-cell run on `a7e2d76`
(`cosmos3-inference-generate-media/claude/diffusers-distilled-payload-cpu`,
`cosmos3-quantization/claude/framework-edge-quantize-fp8`). Sibling PRs
#382/#383/#384 already carry the new pointer name in their own skills.
The Cosmos index side (seven links that resolved to the old path, today
`nvda.ws/4zd0fw5`) moves to the tracked `nvda.ws/4iGZxA5` in
NVIDIA/cosmos#399, which merges together with this PR.

Cookbook→skill migration of the **Quantization** row (COOKBOOK row
"Quantized (FP8)"): the Cosmos3 FP8 quantization cookbook
`.agents/skills/cookbooks/cosmos3/quantization/` (README + three
notebooks) becomes **`cosmos3-quantization`**, applied as a diff on
`main` (`bbd4a67`). It carries **part 2** of the cookbook only — making
your own FP8 checkpoint; part 1, inference with the published FP8
checkpoints, stays in the inference skills (see "FP8" below). No eval
(GPU) job runs on push or merge; the skill eval is opt-in
(`/run-skill-eval`) and has not been triggered on this branch.

### What this PR delivers

- **One skill for the three quantization paths** — Variant 1 Edge / Nano
/ Super video (`t2v`), Variant 2 Super Text-to-Image base + 4-step
student (`t2i`), Variant 3 Super Image-to-Video base + 4-step student
(`i2v`) — one `quantize_fp8_checkpoint` call each, one output layout,
ModelOpt 0.44.0 as the README pins it. `SKILL.md` (500 lines) quotes the
README's Setup (once) block, Demo vs. full runs table, What gets
produced tree and Inference notes 1:1 and makes the reference file
required reading before the first command.
`.claude/skills/cosmos3-quantization` symlink for Claude Code. Also in
this PR (review request 2026-11-07): the missing
`.claude/skills/cosmos3-generate-media` symlink — the first migrated
skill shipped without one in #324, so Claude Code could not discover it
(Codex and Cursor read `.agents/skills/` natively).
- **The cookbook migrated 1:1 into `references/`**:
`quantization-readme.md` (the README copied whole, including its
Inference, Mixed activation precision and What gets produced sections,
because the inference skills and `docs/inference.md` link to it) and one
file per notebook (`quantize-cosmos3.md`,
`quantize-super-text2image.md`, `quantize-super-image2video.md`): every
markdown and code cell in notebook order, code cells as `python` fences,
the one `%%bash` cell per notebook as a `bash` fence with the magic line
removed, outputs omitted (the committed notebooks carry none), one
provenance note after each notebook's first cell. Only link targets
changed (21 inside `references/`: 15 in the README copy, 2 in each
notebook reference, each listed in the migration record); link text is
untouched. Checked cell by cell against the notebooks: 75 cells, all
present; the 5 cells the check flags differ only by a link target or the
hook's table alignment.
- **The one structural addition, marked as skill notes**: the README's
`jupyter nbconvert` Run commands execute the retired `.ipynb` files, so
they are kept as quoted text and each variant gets a run block that
writes the reference's `python` fences (by index, with a fence-count
guard) into one script under `RUN_ARTIFACTS` and runs it with the venv's
python from the framework root — the notebook's cells, unchanged, in one
process. The other skill notes name facts the notebooks do not state,
read from `cosmos_framework/quantization/*.py` and attributed inline:
the calibration prompts stream from the public Hugging Face dataset
`WenhaoWang/VideoUFO`, the DEMO / full shapes, the `[calib]` / `[quant]`
/ `[assemble]` progress lines, the export's staging directory, the
`quant_algo FP8` / `quant_method modelopt` the inspect step must show,
and where the inspect summary lands (`$RUN_ARTIFACTS/<name>.log`). None
changes a notebook sentence.
- **No assets vendored, by design**: the cookbook shipped none; the
prompts and the I2V fallback images are datasets the recipe fetches at
run time, so every run needs Hub egress and `HF_TOKEN` (gated
checkpoints). No LFS object is involved.
- **`eval/eval.config`: 3 cases, one per notebook**; `gpus: 1`, budget
60 min / 3M tokens, `HF_TOKEN` + `GITHUB_TOKEN`, `setup` = this
repository (unpinned, as in `cosmos3-generate-media`).

| Case | Source notebook | Backend / model | GPU footprint (as the
source states it) | Smoke data |
| --- | --- | --- | --- | --- |
| `framework-edge-quantize-fp8` | `quantize_cosmos3.ipynb`, Edge section
only (the prompt excludes Nano and Super) |
`cosmos_framework.quantization` + ModelOpt 0.44.0 in the framework venv;
`nvidia/Cosmos3-Edge`, profile `t2v`, `SAMPLER_VIDEO_BASE`, `DEMO=1` (1
prompt, 480×720×29) | "Edge (4B) uses the same recipe with a smaller
checkpoint; allow room for those components too" (§ 1): bf16 model +
quantizers on one GPU; unmeasured | one calibration prompt streamed from
`WenhaoWang/VideoUFO`; nothing vendored |
| `framework-super-t2i-quantize-fp8` | `quantize_super_text2image.ipynb`
(base, then the 4-step student) | `nvidia/Cosmos3-Super-Text2Image`
(`t2i`, `SAMPLER_IMAGE_BASE`), then `-4Step` (`SAMPLER_DISTILLED`),
`DEMO=1` | "Quantizing the Super (64B) checkpoints needs a GPU with
enough memory to hold the model in bf16 plus the quantizers" (§ 1);
`DEMO=1` "still loads the full checkpoint" (README) | same prompt stream
|
| `framework-super-i2v-quantize-fp8` |
`quantize_super_image2video.ipynb` (base, then the 4-step student) |
`nvidia/Cosmos3-Super-Image2Video` (`i2v`, `SAMPLER_VIDEO_BASE`), then
`-4Step` (`SAMPLER_DISTILLED`), `DEMO=1` | as above | prompts as above;
conditioning images from `I2V_COND_DIR` (the agent may download a small
public image and must say which) or the notebook's
`nemotron_vlm_dataset_v2` fallback |

The Edge case checks the inspect summary (`FP8 weights`, `quant_algo :
FP8`) and the copied `hf_quant_config.json` (`quant_algo`). The two
Super cases are blocker-tolerant the way generate-media's distilled case
is: the recipe loads the full bf16 checkpoint even with `DEMO=1`
(generate-media measured 131.4 GB of bf16 safetensors per 4-step
student, which no single 80 GB / 94 GB runner holds), so the prompt asks
the agent to compare the base checkpoint's bf16 size from Hub metadata
with the GPU memory `nvidia-smi` reports first — when the checkpoint
alone exceeds the GPU, that measured comparison is the blocker and
nothing is downloaded; when it fits, a genuine attempt follows — and
forbids fabricated outputs; checks are `result_summary.md` and
`transcript.md` only. The 60-minute budget (uv sync + Edge download +
DEMO calibration) is an estimate; no run of this skill has measured
anything yet.

- **Docs**: a Quantization section appended to
`docs/cookbook_to_skill_migration.md` (file map, every link rewrite, the
inbound re-points, the nav statement); the `docs/inference.md` § Model
Arguments link re-pointed. No nav entry: the cookbook had none in
`tools/docs/nav.yml`; the skill is reached through the agent-skills
table and the re-pointed links.

### FP8: what moved here, what stays in the inference skills

The cookbook has two parts: (1) inference with the published FP8
checkpoints `nvidia/Cosmos3-Edge-FP8`, `-Nano-FP8`, `-Super-FP8`, and
(2) making your own FP8 checkpoint. This skill is part 2; its
description says so and routes part 1 elsewhere. Part 1 already lives in
the inference skills' own FP8 sections, which this PR leaves untouched
except for the link line: `cosmos3-generate-media` Variant 1 diffusers
(`COSMOS3_DIFFUSERS_PRECISION=fp8`, `references/diffusers.md` §
Quantized Checkpoints (FP8)), Variant 2 cosmos_framework (the Nano FP8
`revision fp8` run), Variant 3 vLLM-Omni (`references/vllm-omni.md` §
Quantized Checkpoints: local directory, `--served-model-name`,
`--revision` alone not honored, the activation-policy paragraph, the
seven output-directory → served-model mapping), Variant 4 SGLang
(`references/sglang.md` § FP8), Variant 6 distilled TensorRT-LLM (the
`fp8` branch, Text2Image-4Step only) and Variant 7 NIM ("Generator
prefers FP8 when compatible"). Those sections already carry everything
the cookbook README's Inference section says about serving, so no
FP8-inference text is folded in from this cookbook and no separate
FP8-inference skill is opened; the README's Inference text is kept in
`references/quantization-readme.md` and quoted in `SKILL.md` § Serving
the FP8 output, which points back at those variants. The Reasoner,
Action and Transfer skills (#381, #382, #383) surface their notebooks'
own "Quantized Checkpoints" sections the same way.

### What is deliberately not changed

- **1:1 migration, no corrections.** Notebook and README text are
verbatim, including what the eval will probably stumble on: the
notebook's default `OUTPUT_ROOT` (`QUANTIZE_ROOT / "outputs"`, inside
the retired cookbook directory), the Setup block's `uv sync` that needs
the repository's pinned uv 0.11.29, the Super sections on one GPU. Each
has a skill note that says what to do; none is rewritten. Eval-found
fixes go to a stacked fixes PR after the eval, with a fix table, so
content owners can review notebook vs skill first and fixes second.
- **No eval-derived content.** Nothing in the skill comes from a run;
the model-size table carries only the sources' figures and is marked
unverified.
- **The Setup (once) block is the README's**: it predates the
`quantization` extra of `pyproject.toml` (#339) and installs ModelOpt
with `uv pip install`; kept as is.
- **`eval/eval.config` is frozen from here on**, so the first run and
any fixes are measured on the same prompts.

### Retired from the cookbook; inbound links re-pointed

- **Retired** (the directory is gone):
`.agents/skills/cookbooks/cosmos3/quantization/README.md`,
`quantize_cosmos3.ipynb`, `quantize_super_text2image.ipynb`,
`quantize_super_image2video.ipynb` (last changed on `main` by #341).
- **Re-pointed to `.agents/skills/cosmos3-quantization/SKILL.md`**, link
text unchanged, one line each (8 files):
`.agents/skills/cookbooks/cosmos3/README.md`, `docs/inference.md`,
`cosmos3-generate-media/references/payloads.md`, `sglang.md`,
`vllm-omni.md`, and the cookbook pages `generator/action/README.md`,
`generator/transfer/README.md`, `reasoner/README.md` — the docs build
stages those three pages and fails on a dead link, so they are
re-pointed although the Action, Transfer and Visual Reasoning rows
retire them (their deletion supersedes the edit — a trivial
modify/delete conflict when rebasing after the sibling merges).
- **Left as they are**: seven notebooks
(`generator/action/run_fd_with_sglang.ipynb`,
`run_fd_with_vllm_omni.ipynb`, `run_id_with_sglang.ipynb`,
`run_id_with_vllm_omni.ipynb`,
`generator/transfer/run_video_transfer_with_sglang.ipynb`,
`run_video_transfer_with_vllm_omni.ipynb`,
`reasoner/run_with_vllm.ipynb`) still link the retired README; notebooks
are not docs pages, and the Action, Transfer and Visual Reasoning rows
retire all of them. Until those rows land, the links in those notebooks
are dead on GitHub rendering (a merge-order dependency, recorded in the
migration record). Nothing else in the repository references the retired
directory.

### Cross-row links and merge order

One of five Inference-row migrations opened together: Visual Reasoning
#381, Action #382, Transfer #383, NIM #384, Quantization (this PR). Each
is self-consistent at its own head: every relative link resolves and
pre-commit is green. The four Inference-table links in
`references/quantization-readme.md` (the Action, Transfer and Reasoner
vLLM / vLLM-Omni notebooks) point at the notebooks' current location, go
dead when those rows merge and are re-pointed at their `references/` in
the follow-up round. The other four PRs point at
`../cosmos3-quantization/SKILL.md`, which resolves once this PR merges —
the evaluator's static "references resolve" check warns on them until
then, so merging this PR first keeps the other four clean. The five PRs
share edit sites (`cookbooks/cosmos3/README.md`,
`docs/cookbook_to_skill_migration.md`), so each merge needs a trivial
rebase of the rest.

**Rebase notes.** If #381, #382 or #383 merges first: keep its deletion
of `reasoner/README.md`, `generator/action/README.md` or
`generator/transfer/README.md` over this PR's one-line edit, and
re-point the matching Inference-table link in
`references/quantization-readme.md` at that row's reference
(`../../cosmos3-inference-reasoning/references/vllm.md`,
`../../cosmos3-inference-action-forward-dynamics/references/vllm-omni.md`
and
`../../cosmos3-inference-action-inverse-dynamics/references/vllm-omni.md`,
`../../cosmos3-inference-transfer/references/vllm-omni.md`), since the
pre-commit `rumdl` link check fails on the dead link.

### Evaluation results

Runs on this PR: the **baseline** on the migration head `476f6b5` (the
1:1 migration, no corrections) and the re-runs after the eval-derived
fixes below, the last one on `6c2e408`; the "After the fixes" table
compares the baseline with that final head. "First attempt" = the
documented workflow worked without a self-correction.

#### Baseline — migration head `476f6b5`

| Case | claude | codex | cursor | opencode |
|---|---|---|---|---|
| `framework-super-t2i-quantize-fp8` | ❌ FAIL ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102310Z-cosmos3-inference-quantization-ed05b1/)
| ❌ FAIL ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T101404Z-cosmos3-inference-quantization-805bb8/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102040Z-cosmos3-inference-quantization-2a1209/)
| ❌ FAIL ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T103338Z-cosmos3-inference-quantization-fc30c7/)
|
| `framework-edge-quantize-fp8` | ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T101646Z-cosmos3-inference-quantization-819e48/)
| ✅ PASS ⚠️ self-corrected (6) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102944Z-cosmos3-inference-quantization-f01676/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T103837Z-cosmos3-inference-quantization-d07d21/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102618Z-cosmos3-inference-quantization-dfbf51/)
|
| `framework-super-i2v-quantize-fp8` | ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T103751Z-cosmos3-inference-quantization-59455b/)
| ❌ FAIL ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T101743Z-cosmos3-inference-quantization-7ca5d8/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102351Z-cosmos3-inference-quantization-e1a0cf/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T102816Z-cosmos3-inference-quantization-d7c859/)
|

**8/12 PASS, 4/12 first-attempt** · group `ci-pr385-476f6b5` ·
[dashboard](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-quantization/groups/ci-pr385-476f6b5/)

#### What failed and where it was fixed

Problems are the recurring first-attempt failures and self-corrections
of the baseline (which cells, fatal vs self-correction); fixes are skill
text only. Where = `file:lines` permalinks (rows from the earlier
commits keep their own); problems found after the first fix round name
the agent and case; `SKILL.md` and `references/` are relative to the
skill directory.

| ID | Pri | Problem (eval evidence) | Fix applied | Where (permalink) |
|---|---|---|---|---|
| F1 | P1 | The pinned-uv prerequisite lived only in prose (Read this
first item 5 and the Setup heading) and the command it quoted was wrong:
`curl -LsSf https://astral.sh/uv/0.11.29/install.sh \| sh && source
$HOME/.local/bin/env` exits 1 because the uv installer writes no
`~/.local/bin/env` when `~/.local/bin` is already on PATH… | The Setup
(once) block now opens with an executable guard, marked as a skill note:
`uv --version 2>/dev/null \| grep -q '^uv 0\.11\.29' \|\| { curl -LsSf
https://astral.sh/uv/0.11.29/install.sh \| sh; export
PATH="$HOME/.local/bin:$PATH"; hash -r; |
[SKILL.md:56-58](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L56-L58)
(item 5),
[SKILL.md:108-109](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L108-L109)
(Setup heading note),
[SKILL.md:115](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L115)
(guard line, first line of the Setup block); trim at
[SKILL.md:85-87](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L85-L87)
(heading now directly followed by the table) |
| F2 | P3 | The Verify-the-output bullet sampled GPU memory with
`nvidia-smi ... -l 10`, but an Edge DEMO=1 run finishes in about 80 s,
so the peak reading the eval asks for in result_summary.md rested on
roughly 8 samples (claude framework-edge improvement suggestion; no
correction was caused, accuracy fix). | `-l 10` -> `-l 1` (one sample
per second); zero-line in-place change. |
[SKILL.md:406](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L406)
|
| F3 | P3 | The same bullet told the agent to read the calibration shape
off the `[calib]` log line, which prints only `<mode> diffusion
calibration - <n> prompts x <steps> steps`
(cosmos_framework/quantization/calibration.py:545); | The bullet now
says `[calib]` prints prompts x steps, no shape, and points at
`recipe.shape` in `quantization_metadata.json`; a wrong prompt count or
shape is still called a configuration error, not a result. Same two
lines (the verifier's 2-line version; |
[SKILL.md:408-409](https://github.com/NVIDIA/cosmos-framework/blob/764fa53/.agents/skills/cosmos3-inference-quantization/SKILL.md#L408-L409)
|
| F4 | P1 | The uv installer honours `XDG_BIN_HOME` / `XDG_DATA_HOME`
and then writes uv next to that tree; an agent sandbox that exports
`XDG_DATA_HOME` (opencode) kept running the pre-installed system uv
0.13.0 after a successful install and hit `Required uv version ==0.11.29
does not match` (round 1: opencode on #382's diffusers forward-dynamics
case; every skill carries the same line) | The installer line pins the
directory the PATH export expects: `curl -LsSf …/install.sh \| env
UV_INSTALL_DIR="$HOME/.local/bin" sh` |
[SKILL.md:115](https://github.com/NVIDIA/cosmos-framework/blob/6c2e408/.agents/skills/cosmos3-inference-quantization/SKILL.md#L115)
|

#### Known limitation — Super FP8 cases

The two Super cases (`framework-super-t2i-quantize-fp8`,
`framework-super-i2v-quantize-fp8`) cannot complete on the CI GPU:
`quantize_fp8_checkpoint` loads the full bf16 checkpoint even with
`DEMO=1` (notebook § 1: the Super run "needs a GPU with enough memory to
hold the model in bf16 plus the quantizers"). Hub metadata puts the
Super Text-to-Image base at 123.4 GiB and the Super Image-to-Video base
at 121.6 GiB of bf16 safetensors (4-step students 122.4 / 120.5 GiB)
against the 79.6 GiB a single H100 80 GB reports; no GPU in the eval
fleet fits them. The eval prompts therefore ask the agent to measure
that comparison first and, when the checkpoint exceeds the GPU, to
record both numbers and stop without downloading or quantizing. The
baseline did exactly that in all 8 Super cells (4 agents × 2 cases):
every cell recorded the measured blocker, none fabricated an output, no
checkpoint was downloaded. 4 of the 8 cells self-reported FAIL ("no
checkpoint quantized") and 4 PASS ("blocker documented") on the same
documented blocker (two of the four FAILs, both codex, additionally
never completed `uv sync` because of a GitHub release-asset 5xx),
because the cases' `expected_outcome` is written for a GPU that fits the
model. The Edge case — the recipe this hardware can execute — passed 4/4
with the FP8 checkpoint written and its inspect summary and
`hf_quant_config.json` in artifacts. The Super cases stay as written so
they run unchanged on a ≥128 GiB GPU (H200/B200); aligning their
`expected_outcome` with the prompt's blocker path is deferred to the
next `eval.config` edit, since any `eval.config` change resets the
dashboard group. The baseline's other non-PASS outcomes on this skill
were environment-side and were re-run rather than recorded: upstream
wheel downloads failing with HTTP 502/504 on a cold cache (codex Super
T2I and I2V, opencode Super T2I) and the unconditional `source
$HOME/.local/bin/env` after the uv install (claude Super T2I), which F1
removes. No successful Super quantization is established by these runs;
a PASS in a Super row means the agent measured the blocker, recorded
both numbers and stopped, as the case asks.

#### After the fixes — `6c2e408`

| Case | Metric | claude | codex | cursor | opencode |
|---|---|---|---|---|---|
| `framework-super-i2v-quantize-fp8` | Completion | ✅→✅ | ❌→❌ | ✅→✅ |
✅→✅ |
| | First time success | ⚠️→✅ | ❌→✅ | ✅→✅ | ✅→✅ |
| `framework-super-t2i-quantize-fp8` | Completion | ❌→✅ | ❌→❌ | ✅→✅ |
❌→✅ |
| | First time success | ❌→✅ | ❌→✅ | ✅→✅ | ❌→✅ |
| `framework-edge-quantize-fp8` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ | ✅→✅ |

**A** `group:ci-pr385-476f6b5`: 8/12 PASS, 4 first-attempt · **B**
`group:ci-pr385-6c2e408`: 10/12 PASS, 12 first-attempt ·
[compare](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-quantization/compare?a=group%3Aci-pr385-476f6b5&b=group%3Aci-pr385-6c2e408)

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR).
First time success: before → after (✅ passed on the first attempt, ⚠️
passed only after a self-correction, ❌ did not pass).

#### Deliberately unchanged

- `eval/eval.config` of `cosmos3-quantization`: byte-identical to the
migration head `476f6b5` — before and after are measured on the same
prompts, assertions and checks (the fixes change the skill content hash,
so the re-run opens a new dashboard group).
- Source-quoted notebook/README text stays verbatim; every addition is
marked "Skill note (not in the source)".
- The uv installer line this skill quotes from `cosmos3-setup` step 3 is
corrected at its origin in #386 (both copies).

### Follow-ups (not in this PR)

- **Open PRs**: none touch the retired sources or
`cosmos_framework/quantization`. #352 (`cookbooks/cosmos3/README.md`)
and #337 (`docs/inference.md`) touch files in which this PR re-points
one link line — a one-line re-apply for whichever merges second.
- **Links that move again**: the four Inference-table links in
`references/quantization-readme.md` and the seven notebook links above
move with the Action, Transfer and Visual Reasoning rows.
- Companion NVIDIA/cosmos PR NVIDIA/cosmos#399 gives Quantization its
own COOKBOOK.md section (the row leaves the Inference table; first
column "Quantized (FP8)" → "Quantization") and points it at this skill
through the tracked short link nvda.ws/4zcsEl5 (→
`.agents/skills/cosmos3-quantization/SKILL.md`); the two PRs merge
together (header above).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
christinayyw added a commit that referenced this pull request Nov 11, 2026
…#384)

# MUST BE MERGED WITH NVIDIA/cosmos#398
(NVIDIA/cosmos#398) - THAT PR POINTS THE COSMOS
COOKBOOK “NIM DEPLOYMENT” ROW AT THE SKILL THIS PR PROMOTES; UNTIL THIS
PR IS ON `main` THAT LINK RETURNS 404

NVIDIA/cosmos#398 switches the COOKBOOK.md “NIM deployment” row from the
NIM cookbook README to the tracked short URL `nvda.ws/3WU5suo`, which
resolves to `.agents/skills/cosmos3-inference-nim/SKILL.md`, the skill
this PR promotes from the cookbook's nested skill. The NIM cookbook
pages stay, so the old link remains valid; the pairing is about the new
link, which exists only once this PR is merged. #398 touches only this
skill's link, so the pair merges independently of the other rows.

Promotion of the Cosmos3 NIM cookbook's own agent skill into a
root-level skill, **`cosmos3-inference-nim`** (the **NIM** row), with an
opt-in eval, applied as a diff on `main` (`bbd4a67`).The skill eval
(`/run-skill-eval`) ran on this branch: see “Evaluation results” below
(8/8 PASS first attempt at the final head, QA-approved).

The NIM row of the Inference Cookbook migration has no notebooks:
`run_with_nim.ipynb` was retired by #296 in favour of the NIM cookbook
pages and example clients under `.agents/skills/cookbooks/cosmos3/nim/`.
That cookbook ships its skill (`cosmos3-nim-user`) in a hidden folder
inside the cookbook directory, which agents started at the repository
root do not discover. This PR promotes it and **retires the nested
copy** (review request 2026-11-07), so one copy exists; the pages and
example clients stay where they are as the source of truth.

### What this PR delivers

- **One skill for the Cosmos3 NIM (`nvcr.io/nim/nvidia/cosmos3:2.1.0`),
Generator and Reasoner**: deploy, verify an existing endpoint, choose
model / precision / profile for the hardware, run the cookbook's example
clients, troubleshoot. `.agents/skills/cosmos3-inference-nim/` plus the
`.claude/skills/cosmos3-inference-nim` symlink. `SKILL.md` is 499 lines;
the longer skill-authored notes are in `references/skill-notes.md`.
- **The source migrated 1:1.** Sections 1–6 of `SKILL.md` are the nested
skill's text unchanged; the Quickstart is the README's "Use an Existing
NIM Endpoint" verbatim; the four deployment sections quote
deployment.md's bash blocks verbatim, in page order (NGC login, image
pin, model cache; Nano Generator preflight + launch; Nano Reasoner
preflight + launch; readiness + selection); the hardware-floors table
and "Verify the output" quote support-matrix.md, deployment.md,
generation.md, reasoning.md and operations.md, naming the page for every
quotation. Conversion rules, link targets only: the ten
`../../../<page>#<anchor>` targets became
`../cookbooks/cosmos3/nim/<page>#<anchor>`, the bare backticked page and
example names (`deployment.md`, `examples/t2i.py`, …) became links to
the same files, and the quickstart's `prerequisites.md#client-tooling`
gained the cookbook prefix; link text unchanged. Frontmatter: `name` =
the directory, `description` gains a "Use when …" trigger clause and the
"do not use for" list, `license` kept. Every addition is marked "Skill
note (not in the source)". Every relative link resolves.
- **No `references/` conversion and no assets vendored.** The NIM
cookbook is Markdown pages plus Python clients, not notebooks, so the
pages are linked (Reference files table), not copied. The clients read
their inputs from sibling cookbook directories
(`generator/audiovisual/assets/`: JSON plain, JPEG/MP4 git-LFS;
`reasoner/assets/`: all git-LFS; `generator/action/assets/`,
`generator/transfer/assets/`), so nothing is duplicated here. `SKILL.md`
"Read this first" item 4 and `skill-notes.md` § 1 say how to materialise
an LFS object in a checkout made without git-lfs (`git lfs pull
--include=<path>`, or the `media.githubusercontent.com` blob).
- **`eval/eval.config`: 2 cases, one per runtime.** No notebook exists
for this row, so each case is anchored to a deployment.md launch block
plus the README quickstart client. `docker: true`, one GPU, credential
`NGC_API_KEY`, 60 min / 3M tokens per cell, `setup` = this repository
(unpinned, as in `cosmos3-generate-media`).

| Case | Source (no notebook) | Backend / model | GPU footprint, as the
support matrix states it | Smoke data |
| --- | --- | --- | --- | --- |
| `nim-generator-nano-t2i` | deployment.md "Launch Generator"
(`NIM_MODEL_TYPE=generator`, `NIM_MODEL_VARIANT=nano`,
`NIM_PERF_PROFILE=latency`) + README quickstart `uv run python
examples/t2i.py` | NIM 2.1.0 Generator, `nano`, precision unset
("Generator prefers FP8 when compatible") | 1 GPU; Generator `nano` FP8
resident: 44 GiB VRAM, 35 GiB system RAM (BF16: 58 / 40 GiB); not
measured |
`generator/audiovisual/assets/prompts/text2image/robot_draping.json`
(plain file, read by `t2i.py` itself) → `outputs/t2i_nim.jpg` ≥ 10,000 B
|
| `nim-reasoner-nano-image-caption` | deployment.md "Launch Reasoner"
Nano block (`NIM_MODEL_TYPE=reasoner`, `NIM_MODEL_VARIANT=nano`, no
`NIM_PERF_PROFILE`) + README quickstart `uv run python
examples/reasoner.py --case image_caption` | NIM 2.1.0 Reasoner, `nano`,
precision unset (FP8 on compute capability 8.9–9.x), DFlash default | 1
GPU; Reasoner `nano` FP8: 23.1 GiB VRAM, 17 GiB system RAM (BF16: 23.1 /
24 GiB); not measured | `reasoner/assets/robot_153.jpg` (git-LFS object,
279,410 B; the prompt asks for it to be materialised first) →
`outputs/reasoner_image_caption.txt` ≥ 50 B,
`outputs/reasoner_image_caption_report.md` contains `## Final answer` |

- **Docs**: a "NIM deployment → `cosmos3-inference-nim`" section
appended to `docs/cookbook_to_skill_migration.md` (source → destination
table, the link-rewrite list, sources pinned at `main` `bbd4a67`). No
nav change: "Deploy with NIM" stays on the cookbook README, and the
Agent skills table is built from every `SKILL.md` under
`.agents/skills/`.

### FP8

The NIM carries its own FP8 route and takes nothing from the
quantization cookbook. Generator `nano` and `super` have BF16 and FP8
profiles (the DROID specialists are BF16 only); Reasoner `edge`, `nano`
and `super` have BF16 and FP8 profiles (`nano` and `super` also NVFP4).
Selection is automatic (deployment.md "Precision Selection": "Omit
`NIM_PRECISION` normally. Generator prefers FP8 when compatible.
Reasoner prefers BF16 on compute capability 8.0 through 8.8, FP8 on 8.9
through 9.x, and NVFP4 on 10.0 or newer"); `-e NIM_PRECISION=fp8` pins
it, and a bring-your-own checkpoint has its precision inferred from
`transformer/config.json`. The skill quotes these rules and the FP8 /
BF16 floors; both eval cases leave the precision unset, so on an H100
(compute capability 9.0) the pages' rule picks FP8 for both, and the
selected profile is recorded from `/v1/metadata`. Making an FP8
checkpoint is `../cosmos3-quantization/SKILL.md` (#385; a Related-skills
row); serving a published FP8 checkpoint through the Hugging Face
backends is `cosmos3-generate-media`'s FP8 route.

### What is deliberately not changed

- 1:1 migration, no corrections: the nested skill's text and the quoted
page blocks stay as written, even where an unattended run needs more (a
readiness loop that exits when the container dies, logs saved before
`docker rm -f`, a cache mount writable by uid 1000). Those are marked
skill notes in `skill-notes.md` § 2, pointing at the eval-verified
Variant 7 of `cosmos3-generate-media`; the quoted blocks are the page's.
Eval-found fixes go to a stacked PR after the eval, so the migration
head and the fixes are measured on the same `eval/eval.config` (frozen
once this PR is open).
- The NIM cookbook's pages, `examples/`, `pyproject.toml` and `uv.lock`
are untouched (`AGENTS.md` changes one line: the skill it tells agents
to load).

### Retired from the cookbook

The nested skill
`cookbooks/cosmos3/nim/.agents/skills/cosmos3-nim-user/SKILL.md` (its
text lives on as sections 1–6 of the promoted skill). Re-pointed to
`cosmos3-inference-nim`: the cookbook's `AGENTS.md`, the three
`cosmos3-generate-media` links (Variant 7 text, Reference files, Related
skills) and the Codex note in `tools/docs/site/agent_skills.md`; the
sibling PRs #381–#383 point their Related-skills NIM row at the promoted
skill as well. No notebooks to retire; the pages are the product
documentation (the docs site publishes them as extra pages), so
`tools/docs/nav.yml` "Deploy with NIM", `docs/deploy/serving.md`,
`docs/models/README.md` and the site index keep pointing at
`.agents/skills/cookbooks/cosmos3/nim/README.md`. Moving the pages and
the example clients into the skill directory and deleting the folder is
a later housekeeping change: the clients find the shared assets through
their position in the cookbook tree, and #356/#379 edit those pages
today.

### Cross-row links and merge order

One of five Inference-row migrations opened together: Visual Reasoning
#381, Action #382, Transfer #383, NIM (this PR), Quantization #385. This
PR touches `cosmos3-generate-media/SKILL.md` (three link targets) and
`docs/cookbook_to_skill_migration.md`; #385 also edits generate-media's
references, so one of the two rebases trivially after the other. Its
only cross-row pointer is the Related-skills row
`../cosmos3-quantization/SKILL.md`, which resolves once #385 merges (the
evaluator's static "references resolve" check warns until then).

### Evaluation results

Runs on this PR: the **baseline** on the migration head `04d2223` (the
1:1 migration, no corrections) and the re-runs after the eval-derived
fixes below, the last one on `1d2c966`; the "After the fixes" table
compares the baseline with that final head. "First attempt" = the
documented workflow worked without a self-correction.

#### Baseline — migration head `04d2223`

| Case | claude | codex | cursor | opencode |
|---|---|---|---|---|
| `nim-reasoner-nano-image-caption` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T105202Z-cosmos3-inference-nim-4ac24b/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T103951Z-cosmos3-inference-nim-fb381f/)
| ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T105632Z-cosmos3-inference-nim-96a180/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T104623Z-cosmos3-inference-nim-594c31/)
|
| `nim-generator-nano-t2i` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T104412Z-cosmos3-inference-nim-ab34fd/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T104242Z-cosmos3-inference-nim-90c128/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T104819Z-cosmos3-inference-nim-4b51a9/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T105437Z-cosmos3-inference-nim-a1c96c/)
|

**8/8 PASS, 5/8 first-attempt** · group `ci-pr384-04d2223` ·
[dashboard](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-nim/groups/ci-pr384-04d2223/)

#### What failed and where it was fixed

Problems are the recurring first-attempt failures and self-corrections
of the baseline (which cells, fatal vs self-correction); fixes are skill
text only. Where = `file:lines` permalinks (rows from the earlier
commits keep their own); problems found after the first fix round name
the agent and case; `SKILL.md` and `references/` are relative to the
skill directory.

| ID | Pri | Problem (eval evidence) | Fix applied | Where (permalink) |
|---|---|---|---|---|
| F1 | P1 | Cache mount when Docker is driven from a container: the
quoted deployment.md cache block (`mkdir -p` + `chmod -R a+rwX
"$LOCAL_NIM_CACHE"`) runs inside the agent's own container while the
Docker daemon creates the host-side bind source root-owned, so the NIM
(uid 1000) cannot write its cache and the first launch dies w… |
references/skill-notes.md section 2 now carries the exact two-line test
and repair in a fenced block, to run after the cache block and before
EITHER launch (Generator and Reasoner alike): `cache_ok()` writes a
probe file as the NIM image's default user (uid 1000); |
[SKILL.md:192](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/SKILL.md#L192)
(Skill note after the cache block),
[SKILL.md:265](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/SKILL.md#L265)
(Reasoner clause);
[references/skill-notes.md:38-54](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L38-L54)
(cache bullet; commands at 45-46),
[references/skill-notes.md:5](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L5)
(provenance clause) |
| F2 | P2 | Request latency: 'Read this first' item 7 and the eval's
final assertion require the request latency actually observed, but
neither the skill nor the clients give a way to measure it (t2i.py posts
with timeout=1800, reasoner.py opens its OpenAI client with
timeout=1800, no timing printed). | Item 7 now says: 'the clients print
none, so run the client as `time uv run python examples/<client>.py ...`
and report its `real` line as client wall time'. `time` is a bash
keyword, so no bc or GNU time is needed; 'as client wall time' labels
the number the way the grader asked for. |
[SKILL.md:78](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/SKILL.md#L78)
|
| F3 | P3 | Two pointers sent agents away from the commands they needed:
the 3-line readiness Skill note in SKILL.md duplicated item 6 and
referred to an 'eval-verified Generator form' living in another skill,
and skill-notes section 2's 'Eval-verified form' bullet said
generate-media's skill-notes section 4 'says why each line is… |
SKILL.md's readiness note is one line: 'an unattended run adds three
things the page lacks: a container-exit check in the until loop, logs
saved before docker rm -f, the uid-1000 cache_ok test before launch, as
exact commands in references/skill-notes.md section 2' (true now that F1
landed). |
[SKILL.md:308](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/SKILL.md#L308);
[references/skill-notes.md:55-58](https://github.com/NVIDIA/cosmos-framework/blob/7919859/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L55-L58)
|
| F4 | P1 | cursor / `nim-reasoner-nano-image-caption` and opencode /
`nim-generator-nano-t2i`: the launch died with `ManifestDownloadError …
Permission denied (os error 13)` although `cache_ok` had passed — the
host cache was root-owned (created by the daemon) or populated by an
earlier run as another uid, the test only touched one file at the top
level, and the repair only handled an empty cache; both agents
relaunched with a fresh cache directory | The repair (`cache_fix`,
`chown -R 1000:1000` + `chmod -R u+rwX`) now runs first and
unconditionally, and `cache_ok` then creates a directory and a file and
walks the tree (`find ! -writable`) before either launch; SKILL.md's
note wording follows |
[references/skill-notes.md:45](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L45),
[references/skill-notes.md:46](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L46),
[references/skill-notes.md:51](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/references/skill-notes.md#L51),
[SKILL.md:192](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/SKILL.md#L192)
|
| F5 | P2 | Round 2 (b8eca22), opencode /
`nim-reasoner-nano-image-caption`: the launch's `--gpus '"device=0"'`
reached Docker with its quotes mangled by the agent's shell (`invalid
reference format`); the other three agents passed it through intact |
The four launch lines use the equivalent single-device form `--gpus
device=0`; the GPU-selection note says when the nested-quote form is
needed |
[SKILL.md:203,222,250,272](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/SKILL.md#L203,L222,L250,L272),
[SKILL.md:366](https://github.com/NVIDIA/cosmos-framework/blob/1d2c96671e1af5fb134ab70238123bfce2d9751d/.agents/skills/cosmos3-inference-nim/SKILL.md#L366)
|

#### After the fixes — `1d2c966`

| Case | Metric | claude | codex | cursor | opencode |
|---|---|---|---|---|---|
| `nim-generator-nano-t2i` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ✅→✅ | ✅→✅ | ⚠️→✅ | ✅→✅ |
| `nim-reasoner-nano-image-caption` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅
|
| | First time success | ✅→✅ | ✅→✅ | ⚠️→✅ | ⚠️→✅ |

**A** `group:ci-pr384-04d2223`: 8/8 PASS, 5 first-attempt · **B**
`group:ci-pr384-1d2c966`: 8/8 PASS, 8 first-attempt ·
[compare](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-nim/compare?a=group%3Aci-pr384-04d2223&b=group%3Aci-pr384-1d2c966)

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR).
First time success: before → after (✅ passed on the first attempt, ⚠️
passed only after a self-correction, ❌ did not pass).

Note: opencode / `nim-generator-nano-t2i` is the result of a single-cell
re-run — the first run on this head completed the whole workflow (launch
on the first try, image generated and verified) and the agent process
then exited non-zero before writing its report; the re-run passed on the
first attempt.

Static score 55 → 95 at 6a6ccbd (prose only): the static tier read the
backticked cookbook link texts (`examples/t2i.py`, `dynamo/README.md`,
…) as paths relative to the skill directory; the link texts are now
plain and the targets under `../cookbooks/cosmos3/nim/` are unchanged.
Confirmed by one-cell run 42687405502 (claude / t2i, PASS first
attempt). The remaining deduction is the
`../cosmos3-quantization/SKILL.md` sibling link, which resolves once
#385 merges.

Companion-name follow-up (2026-11-10): `98fda20` renames the
quantization pointers to the canonical `cosmos3-quantization` (the skill
was renamed in #385 on 2026-11-09; QA filed NVBug 7070902 on #382 for
the same stale name). Name-only, no command or eval change; the links
resolve once #385 merges.

Companion-name follow-up (2026-11-10): `34fde6e`/`dd4143f`/`aa7b5b6`
name the generation skill `cosmos3-inference-generate-media` in this
PR's own skill and migration-record section (the directory is renamed by
#385). One real markdown link, `references/skill-notes.md:57`, keeps
today's path so pre-commit's relative-link check stays green and is
re-pointed at `../../cosmos3-inference-generate-media/SKILL.md` when
this PR rebases after #385. Name-only, no command or eval change.

Rebase for landing (2026-11-10, `7324513`): merged `main` after #381 and
#385 — the migration record keeps every section (rename note, Visual
Reasoning, Quantization, NIM), `references/skill-notes.md:57` now points
at `../../cosmos3-inference-generate-media/SKILL.md` (the directory
exists on main), and git carried this PR's three link edits into the
renamed `cosmos3-inference-generate-media/SKILL.md`. Checks after the
merge: every link and backticked path in the two NIM skill files
resolves against the merged tree, no stale skill names, SKILL.md 498
lines, `eval/eval.config` byte-identical, nested `cosmos3-nim-user`
SKILL.md retired; the cosmos pair #398 merges clean onto cosmos main and
`nvda.ws/3WU5suo` resolves to this skill. Link-only changes, no eval
re-run needed.




#### Deliberately unchanged

- `eval/eval.config` of `cosmos3-inference-nim`: byte-identical to the
migration head `04d2223` — before and after are measured on the same
prompts, assertions and checks (the fixes change the skill content hash,
so the re-run opens a new dashboard group).
- Source-quoted notebook/README text stays verbatim; every addition is
marked "Skill note (not in the source)".
- The uv installer line this skill quotes from `cosmos3-setup` step 3 is
corrected at its origin in #386 (both copies).

### Follow-ups (not in this PR)

- **LFS inputs are not vendored**: the clients read the cookbook's
assets, and the JPEG / MP4 inputs are git-LFS objects (pointer files in
a checkout without git-lfs); for now the skill documents the
materialisation step.
- **Re-sync after the open PRs on the sources merge**: #356 (draft:
multiview Generator guide; edits the nested `cosmos3-nim-user/SKILL.md`,
the README, deployment.md, support-matrix.md and more) and #379
(configuration.md). #356 now conflicts on the retired nested file (one
file): its edits to that file belong in `cosmos3-inference-nim/SKILL.md`
sections 1–6; the page edits do not conflict.
- **Eval coverage**: the two cases exercise T2I and the Reasoner
catalog; Action, Transfer, the Responses API, streaming and Dynamo have
no case yet.
- Companion NVIDIA/cosmos PR NVIDIA/cosmos#398 keeps the COOKBOOK row
name ("NIM deployment") and points it at this skill through the tracked
short link nvda.ws/3WU5suo (→
`.agents/skills/cosmos3-inference-nim/SKILL.md`; the NIM cookbook pages
and their old link stay); the two PRs merge together (header above).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…o the action branch

Applies the landing rule in both directions (the retiring PR rewrites every link to the file it
retires): the five quantization-README links of the forward-/inverse-dynamics references and
action-readme.md now point at ../../cosmos3-quantization/SKILL.md; the three links to the retired
Reasoner TensorRT-Edge notebook (policy trt-edge-llm.md x2, action-readme.md) point at the reasoning
skill's references/trt-edge-llm.md; inbound, the reasoning skill's reasoner-readme.md and
trt-edge-llm.md links to the retired policy notebook point at the policy skill's
references/trt-edge-llm.md, and the quantization table's Action row points at the forward- and
inverse-dynamics references/vllm-omni.md. The six retired notebooks stay deleted, the migration
record keeps all four sections plus the rename note, nav.yml keeps the renamed Generation entry and
the Action skill entry.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Christina Wang <christwang@nvidia.com>
@christinayyw

christinayyw commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator Author

@lfengad — closing out your review of 2026-11-08, point by point:

Please replace the stale 'Not run yet' evaluation section in the PR description with these results.

Done on 2026-11-09: “Evaluation results” now holds the baseline table, the combined fix table and the final compare block — 56/56 PASS and 56/56 first-attempt at the final heads (50310b5 forward dynamics, 28d6e84 inverse dynamics and policy), plus @satishra-ai's QA approval (14/14 backend tests, NVBug 7070902 closed-verified).

Eight links currently resolve but will point to retired files in the combined tree: […] link the quantization README; redirect to cosmos3-inference-quantization. […] link the retired Reasoner TRT-Edge notebook; redirect to cosmos3-inference-reasoning/references/trt-edge-llm.md. Please include these rewrites in the rebased migration rather than leaving a broken-link window.

Done in the rebase merge 2d817e11353b3d5668bbf6203eaeec5981cbdc13 (on main after #381, #385 and #384), using the canonical name cosmos3-quantization (the skill was renamed in #385; this PR's pointers followed in f82b8bb, NVBug 7070902; the five quantization links route to the skill entry SKILL.md, the same target #385 gave these links in the notebooks before they were retired):

Every link in the four skills and the edited sibling files resolves against the merged tree; the 14 retired action notebooks and the policy guide stay deleted, as does the Reasoner TensorRT-Edge notebook retired by #381; the three eval/eval.config files (forward dynamics, inverse dynamics, policy; the entry skill has none by design) are byte-identical to the evaluated heads. Checks on 2d817e11353b3d5668bbf6203eaeec5981cbdc13 are running: https://github.com/NVIDIA/cosmos-framework/pull/382/checks. The cosmos pair NVIDIA/cosmos#396 is rebased alongside (aad95a5).

@lfengad lfengad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed the current head after the sibling migrations landed. The canonical skill references and inbound links for the retired pages are updated, and the previously raised executable-guidance issues are addressed. Current CI is green and the external QA approval is recorded. Approving the content; preserve both migrations when updating the shared documentation during sequential landing, and land the matching NVIDIA/cosmos index PR with this change.

@lfengad
lfengad merged commit 3a84cd3 into main Nov 11, 2026
15 checks passed
@lfengad
lfengad deleted the skills/inference-action-migration branch November 11, 2026 05:03
lfengad pushed a commit to NVIDIA/cosmos that referenced this pull request Nov 11, 2026
…os3-inference-action skill (merge with cosmos-framework #382) (#396)

# MUST BE MERGED WITH NVIDIA/cosmos-framework#382
(NVIDIA/cosmos-framework#382) - THE SHORT LINKS
BELOW RESOLVE TO SKILL PATHS THAT PR CREATES ON `main`, AND THAT PR
DELETES THE COOKBOOK PAGES THEY REPLACE; MERGING ONE SIDE ALONE LEAVES
DEAD LINKS

## Summary

Inference Cookbook migration of the **Action Policy** row: the cookbook
pages move into an agent skill in NVIDIA/cosmos-framework#382. This PR
re-points every link in this repository that belongs to that skill, and
nothing else, so it can merge together with #382 and independently of
the other cookbook-row PRs.

| Where | Old | New (tracked short URL) | Resolves to (cosmos-framework
`main`) |
|---|---|---|---|
| COOKBOOK.md `[action]` (Action Policy row) | https://nvda.ws/4dUeBsJ |
https://nvda.ws/487IcM4 |
`.agents/skills/cosmos3-inference-action/SKILL.md` |
| README.md gallery “Action policy” | https://nvda.ws/4ses7Nz |
https://nvda.ws/4CbbSFV |
`…/cosmos3-inference-action-policy/references/vllm-omni.md` |
| README.md gallery “Action-conditioned World Model” |
https://nvda.ws/4srp0C7 | https://nvda.ws/4AjVK2R |
`…/cosmos3-inference-action-forward-dynamics/references/vllm-omni.md` |
|
`docs/reference/inference_benchmarks/cosmos3-{nano,nano-fp8,super,super-fp8}-generator.md`
“action cookbook” (4 pages) | https://nvda.ws/4dUeBsJ |
https://nvda.ws/487IcM4 |
`.agents/skills/cosmos3-inference-action/SKILL.md` |
| `docs/reference/inference_benchmarks/benchmark_methodology.md` “action
cookbook” (line added to `main` by cosmos #400; re-pointed in the rebase
merge `aad95a5`) | https://nvda.ws/4dUeBsJ | https://nvda.ws/487IcM4 |
`.agents/skills/cosmos3-inference-action/SKILL.md` |

The row's first column is renamed `Action` → `Action Policy`; link text
and description are otherwise unchanged. The skill is the row's entry
point and routes to the forward-dynamics, inverse-dynamics and policy
block skills. The short URLs are tracked; report trackers are in the
“Cosmos Framework short URL mapping” sheet. Until #382 is on `main` the
new links return 404, which is why the two merge in the same window.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
lfengad added a commit that referenced this pull request Nov 11, 2026
…ixes) (#383)

# MUST BE MERGED WITH NVIDIA/cosmos#397
(NVIDIA/cosmos#397) - THAT PR RE-POINTS THE
COSMOS COOKBOOK INDEX TO PATHS THIS PR CREATES; MERGING ONE SIDE ALONE
LEAVES DEAD LINKS

NVIDIA/cosmos#397 switches the COOKBOOK.md “Transfer” row and the README
gallery “Transfer” link to tracked short URLs `nvda.ws/4iGFnpY` (this
skill's `SKILL.md`) and `nvda.ws/4sM8jBr` (`references/vllm-omni.md`),
which resolve to paths this PR creates on `main`, while this PR deletes
the cookbook pages those links replace. Alone, this PR leaves the Cosmos
index pointing at deleted pages; alone, #397 points at paths that do not
exist yet. #397 touches only this skill's links, so the pair merges
independently of the other rows.

Cookbook→skill migration of the **Transfer** row: the Cosmos3
video-transfer (control-to-video) cookbook
`.agents/skills/cookbooks/cosmos3/generator/transfer/` becomes
**`cosmos3-inference-transfer`**, applied as a diff on `main`
(`bbd4a67`, the sources' version), with the `cosmos3-generate-media`
(#324) rules. No eval (GPU) job runs on push or merge; the skill eval is
opt-in (`/run-skill-eval`) and has not been triggered on this branch.

### What this PR delivers

- **One skill for the five Cosmos3 transfer paths** — Cosmos Framework
(`cosmos_framework.scripts.inference`), Diffusers
(`Cosmos3OmniModularPipeline`), vLLM-Omni, SGLang and TensorRT-LLM — for
Cosmos3-Nano (single GPU) and Cosmos3-Super (multi-GPU), the five
controls (edge, blur, depth, segmentation, WSM) and the framework's
multi-control spec. `SKILL.md` (499 lines) quotes each backend's smoke
path from the sources, adds one "Paths" block that replaces the
notebooks' `find_repo_root()`-derived directories with the skill
directory, and marks everything it adds as "Skill note (not in the
source)". `.claude/skills/cosmos3-inference-transfer` symlink for Claude
Code.
- **The cookbook README and the five notebooks migrated 1:1 into
`references/`** (`transfer-readme.md` plus one file per backend). Every
markdown and code cell in notebook order, code fenced (`%%bash` cells as
`bash` with the magic line removed), outputs omitted (the committed
notebooks have none), licence header kept, one marked provenance note
per file. Nothing corrected or reworded. The only hand edits are
link-target re-points to files this PR moved or that now sit two levels
deeper (19 in the README copy, 9 across the notebook copies; link text
unchanged), each listed in `docs/cookbook_to_skill_migration.md`; the
pre-commit `rumdl` hook re-aligned table whitespace in three copies and
wrapped the bare uv URL in `diffusers.md` in angle brackets. Checked
cell by cell against the notebooks: 190 cells, all present; the 11 cells
the check flags differ only by a link target or hook whitespace.
- **`scripts/preview_helpers.py` and `specs/*.json`**: byte-identical
copies of the cookbook's helper and framework specs; the specs sit next
to `assets/` so their `../assets/...` paths resolve exactly as in the
cookbook (the framework validates a spec inside its own folder).
- **Assets vendored as plain blobs** (a nested `.gitattributes` exempts
`assets/**` from the repository's LFS rules, because the eval CI and the
agents' task containers check the tree out without git-lfs):
`edge/control_edge.mp4` (0.66 MiB), `blur/control_blur.mp4` (0.39 MiB),
`depth/control_depth.mp4` (1.00 MiB), every `prompt.json` and
`negative_prompt.json` — 2.1 MiB, sha256-identical to the cookbook's LFS
objects. **Not vendored** (over the ~1.2 MiB per-file limit):
`seg/control_seg.mp4` (4.77 MiB) and `wsm/control_wsm.mp4` (3.44 MiB)
stay in the cookbook's `assets/` as LFS objects; `SKILL.md` § "Bundled
assets" gives the fetch step (the public repository's LFS media at the
pinned commit — verified today: HTTP 200, sizes and sha256 match the
pointers — or `git lfs pull`). Multi-control needs no control file (the
framework derives edge and blur from the spec's `vision_path`).
- **`eval/eval.config`: 5 cases, one per notebook**, all Nano, all the
edge control (121 frames @ 30 fps, 1280×720, 50 steps, seed 2026),
guardrails disabled the way each source documents it. Shared settings: 1
GPU, 60 min / 3M tokens, `HF_TOKEN` + `GITHUB_TOKEN`, `docker: true` for
the three server cases, `setup` = this repository (unpinned, as in
`cosmos3-generate-media`); checks: the MP4 ≥ 200 kB plus
`result_summary.md` and `transcript.md`.

| Case | Source notebook (→ reference) | Backend / model | GPU
footprint, as the sources state it | Smoke data |
| --- | --- | --- | --- | --- |
| `framework-nano-edge-transfer` |
`run_video_transfer_with_cosmos_framework.ipynb` → `cosmos-framework.md`
| `cosmos_framework.scripts.inference --checkpoint-path Cosmos3-Nano
--parallelism-preset=latency --no-guardrails` from the framework venv |
"Nano (single GPU)"; no memory figure in the sources | `specs/edge.json`
→ `assets/edge/control_edge.mp4`, `assets/edge/prompt.json`,
`assets/negative_prompt.json` |
| `diffusers-nano-edge-transfer` |
`run_video_transfer_with_diffusers.ipynb` → `diffusers.md` |
`Cosmos3OmniModularPipeline`, `nvidia/Cosmos3-Nano` bf16, safety checker
off for edge (as the notebook's `run_transfer` does) | one GPU; no
memory figure in the sources | same edge set |
| `vllm-omni-nano-edge-transfer` (docker) |
`run_video_transfer_with_vllm_omni.ipynb` → `vllm-omni.md` |
`vllm/vllm-omni:cosmos3`, `vllm serve nvidia/Cosmos3-Nano --omni …
--no-guardrails`; multipart `POST /v1/videos/sync`, control as a
server-readable `control_path` through the skill-directory mount | one
GPU (the notebook's Docker launch) | same edge set |
| `sglang-nano-edge-transfer` (docker) |
`run_video_transfer_with_sglang.ipynb` → `sglang.md` |
`lmsysorg/sglang:dev`, `sglang serve --model-path nvidia/Cosmos3-Nano`,
`SGLANG_DISABLE_COSMOS3_GUARDRAILS=1`; asynchronous `POST /v1/videos`,
polled, clip from `/content` | one GPU (the notebook's Docker launch) |
same edge set |
| `trtllm-nano-edge-transfer` (docker) |
`run_video_transfer_with_trt_llm.ipynb` → `trt-llm.md` | `trtllm-serve
nvidia/Cosmos3-Nano` with `cosmos3-nano-1gpu.yaml`,
`TRTLLM_DISABLE_COSMOS3_GUARDRAILS=1`; `POST /v1/videos/sync` with the
control base64-encoded inside `extra_params` | "Nano: one GPU" | same
edge set |

- **Docs**: `tools/docs/nav.yml` "Control-to-video transfer" →
`SKILL.md`; the "Transfer" section of
`docs/cookbook_to_skill_migration.md` (destination table, vendoring
policy, every link re-point).

### FP8

The skill carries exactly the FP8 inference routes the transfer sources
already had: **Variant 2 (Diffusers)** `COSMOS3_DIFFUSERS_PRECISION=fp8`
→ `nvidia/Cosmos3-Nano-FP8` / `nvidia/Cosmos3-Super-FP8` with the
notebook's ModelOpt loader (`references/diffusers.md` § "Quantized
Checkpoints (FP8)"); **Variant 3 (vLLM-Omni)** "Quantized Checkpoints" —
the published Nano FP8 checkpoint materialised to a local directory and
served with the original `--served-model-name` (`--revision` alone is
not honoured); **Variant 4 (SGLang)** "FP8" — `--model-path
nvidia/Cosmos3-Nano-FP8` or a local quantized directory. Variants 1
(Cosmos Framework) and 5 (TensorRT-LLM) have no FP8 route in their
sources; the README's pointer to the quantization cookbook is kept.
Nothing was folded in from the quantization cookbook (1:1 rule).
Quantizing a checkpoint yourself is `../cosmos3-quantization/SKILL.md`
(#385).

### What is deliberately not changed

- **1:1 migration, no corrections.** The copied text keeps its own paths
and rough edges: the README quickstarts still set `transfer_root =
Path(".agents/skills/cookbooks/cosmos3/generator/transfer")`, "Notebook
(self-contained)" still says `cd` into the cookbook directory and
`jupyter execute`, `specs/wsm.json` says `num_frames: 101` where the
README table says "100 frames @ 10 FPS", and the TensorRT-LLM install
stays the setup guide's documented source build. `SKILL.md` § "Paths"
says what replaces the directories; everything else waits for the eval.
Eval-found fixes go to a stacked PR after the eval, so the migration
head and the fixes are measured on the same `eval/eval.config`.
- **The cookbook keeps `assets/` (the LFS originals, including the two
non-vendored videos), `specs/` and `.gitignore`**:
`cosmos_framework/inference/transfer_cookbook_specs_test.py`,
`transfer_shipped_specs_test.py` and the NIM example client
`nim/examples/transfer.py` read them from there.
- No `.github` change; no framework code change.

### Retired from the cookbook
(`.agents/skills/cookbooks/cosmos3/generator/transfer/`)

`README.md`, `run_video_transfer_with_cosmos_framework.ipynb`,
`run_video_transfer_with_diffusers.ipynb`,
`run_video_transfer_with_vllm_omni.ipynb`,
`run_video_transfer_with_sglang.ipynb`,
`run_video_transfer_with_trt_llm.ipynb`, `preview_helpers.py` (7 files).

Inbound links re-pointed (link text unchanged): `tools/docs/nav.yml`
("Control-to-video transfer") and
`cookbooks/cosmos3/simulation/README.md` ("Generator Transfer") →
`SKILL.md`; the Generator · Transfer row of
`cookbooks/cosmos3/quantization/README.md` →
`references/vllm-omni.md#quantized-checkpoints` (that README is itself
retired by the Quantization row; its deletion supersedes this one-line
edit — a trivial modify/delete conflict when rebasing after #385
merges). No other reference to the retired files remains in the tree.

### Cross-row links and merge order

One of five Inference-row migrations opened together: Visual Reasoning
#381, Action #382, Transfer (this PR), NIM #384, Quantization #385. Each
is self-consistent at its own head: every relative link resolves and
pre-commit is green. The three quantization-README links inside
`references/` (`transfer-readme.md`, `sglang.md`, `vllm-omni.md`) point
at the README's current location, go dead when #385 merges and are
re-pointed at `.agents/skills/cosmos3-quantization/SKILL.md` in the
follow-up round (listed in the migration record). The
`../cosmos3-quantization/SKILL.md` pointers in `SKILL.md` resolve once
#385 merges — the evaluator's static "references resolve" check warns
until then, so merging #385 first keeps the other four clean. The five
PRs share edit sites (`tools/docs/nav.yml`,
`docs/cookbook_to_skill_migration.md`), so each merge needs a trivial
rebase of the rest. The NIM pointer in Related skills
(`../cosmos3-inference-nim/SKILL.md`) likewise resolves once #384
merges: that PR retires the nested `cosmos3-nim-user` copy this skill
used to point at.

**Rebase notes.** If #385 merges first: keep its deletion of
`quantization/README.md` over this PR's one-line edit, and re-point the
quantization-README links in `SKILL.md` (Variant 1's quoted README
sentence — `SKILL.md` is a staged docs page, so the docs build fails on
the dead link) and in `references/transfer-readme.md`,
`references/sglang.md`, `references/vllm-omni.md` at
`../cosmos3-quantization/SKILL.md` /
`../../cosmos3-quantization/SKILL.md`. If #385 is already on `main`:
this PR also re-points the Transfer row of
`cosmos3-quantization/references/quantization-readme.md` (line 224,
`run_video_transfer_with_vllm_omni.ipynb`) at
`../../cosmos3-inference-transfer/references/vllm-omni.md` — the
retiring PR rewrites every link to the file it retires.

### Evaluation results

Runs on this PR: the **baseline** on the migration head `448545a` (the
1:1 migration, no corrections) and the re-runs after the eval-derived
fixes below, the last one on `a51c5f4`; the "After the fixes" table
compares the baseline with that final head. "First attempt" = the
documented workflow worked without a self-correction.

#### Baseline — migration head `448545a`

| Case | claude | codex | cursor | opencode |
|---|---|---|---|---|
| `sglang-nano-edge-transfer` | ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T054737Z-cosmos3-inference-transfer-33c214/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T051620Z-cosmos3-inference-transfer-be280e/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T052259Z-cosmos3-inference-transfer-0914f7/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T062512Z-cosmos3-inference-transfer-76101d/)
|
| `diffusers-nano-edge-transfer` | ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T063929Z-cosmos3-inference-transfer-678326/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T062351Z-cosmos3-inference-transfer-d0c3ff/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T052424Z-cosmos3-inference-transfer-b3be6c/)
| ✅ PASS ⚠️ self-corrected (5) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T054831Z-cosmos3-inference-transfer-e596b5/)
|
| `vllm-omni-nano-edge-transfer` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T053330Z-cosmos3-inference-transfer-23f76b/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T060633Z-cosmos3-inference-transfer-2dadef/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T055446Z-cosmos3-inference-transfer-90e84c/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T070106Z-cosmos3-inference-transfer-457d3b/)
|
| `trtllm-nano-edge-transfer` | ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T065344Z-cosmos3-inference-transfer-c6b732/)
| ✅ PASS ⚠️ self-corrected (5) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T071550Z-cosmos3-inference-transfer-e2ce50/)
| ✅ PASS ⚠️ self-corrected (2) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T053655Z-cosmos3-inference-transfer-416e01/)
| ✅ PASS ⚠️ self-corrected (3) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T062754Z-cosmos3-inference-transfer-d5422d/)
|
| `framework-nano-edge-transfer` | ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T070732Z-cosmos3-inference-transfer-108d39/)
| ✅ PASS ⚠️ self-corrected (1) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T065523Z-cosmos3-inference-transfer-792c34/)
| ✅ PASS · first attempt ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T061131Z-cosmos3-inference-transfer-aa6464/)
| ✅ PASS ⚠️ self-corrected (4) ·
[report](http://internal-cosmos-skills-eval.nvidia.com/runs/20261108T060457Z-cosmos3-inference-transfer-41db41/)
|

**20/20 PASS, 6/20 first-attempt** · group `ci-pr383-448545a` ·
[dashboard](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-transfer/groups/ci-pr383-448545a/)

#### What failed and where it was fixed

Problems are the recurring first-attempt failures and self-corrections
of the baseline (which cells, fatal vs self-correction); fixes are skill
text only. Where = `file:lines` permalinks (rows from the earlier
commits keep their own); problems found after the first fix round name
the agent and case; `SKILL.md` and `references/` are relative to the
skill directory.

| ID | Pri | Problem (eval evidence) | Fix applied | Where (permalink) |
|---|---|---|---|---|
| F1 | P1 | diffusers-nano-edge-transfer: 3 of 4 agents (claude, cursor,
opencode) failed the first `Cosmos3OmniModularPipeline` import with
`ImportError: libxcb.so.1` because `cosmos_guardrail` imports `cv2` at
pipeline import even with the safety checker disabled. | Variant 2 now
quotes the § 1 note and adds a skill note: run `apt-get update &&
apt-get install -y libxcb1 libgl1 libglib2.0-0` BEFORE the first python
run, not after the error (cosmos_guardrail imports cv2 at pipeline
import, safety checker on or off; eval 2026-11-08: 3 of 4 first runs
failed here). |
[SKILL.md:225-230](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L225-L230);
[references/diffusers.md:27-28](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/references/diffusers.md#L27-L28)
|
| F2 | P1 | framework-nano-edge-transfer: the § 3 export block defaulted
`COSMOS3_UV_GROUP` to `cu128-train` (the notebook's x86_64 default)
while 'Read this first' and the setup guide pick the tag from the
driver's CUDA major (13.x -> cu130). | The export now defaults to
`cu130-train` (the verifier's minimal form) with a comment quoting the
setup guide ('The notebooks honor `COSMOS3_UV_GROUP` (default
`cu130-train`); set `export COSMOS3_UV_GROUP=cu128-train` … on CUDA 12.x
systems'; aarch64 always cu130-train for natten) and naming the failure.
|
[SKILL.md:197](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L197);
[references/cosmos-framework.md:407](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/references/cosmos-framework.md#L407)
|
| F3 | P1 | sglang-nano-edge-transfer (claude: first-attempt FAIL) and
vllm-omni-nano-edge-transfer (claude: correction): the notebooks' § 2
cells and the TensorRT-LLM helper cell import `IPython.display`, but the
skill told agents to run the cells unchanged without naming a client
python or its dependencies, so a literal run fail… | The Paths block's
first comment line now names the interpreter: Variant 2 =
`"$COSMOS3_DIFFUSERS_VENV/bin/python"`; Variants 3-5 = a client venv
built once with the canonical line `uv venv --no-config .venv-client
--python 3.12 --seed --managed-python && uv pip install --no-config
--python .venv-client/bin/python reque… |
[SKILL.md:122](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L122)
|
| F4 | P1 | trtllm-nano-edge-transfer: Variant 5 gave no verified
install. It led with the setup guide's source build and the
`TRTLLM_USE_PRECOMPILED=1 pip install -e .` shortcut and called the
sibling skill's prebuilt-wheel route 'unverified — not a route'. | The
Install paragraph is rewritten in place (8 -> 8 lines): the install is
the Route A block of `../cosmos3-generate-media/references/trt-llm.md` §
7.2 run as ONE script (stock uv with `--no-config`, OpenMPI,
`tensorrt_llm==1.3.0rc27` from pypi.nvidia.com + `torch==2.13.0+cu130`
from the cu130 torch index, its `CUDA_HO… |
[SKILL.md:396-403](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L396-L403);
[references/trt-llm.md:17](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/references/trt-llm.md#L17)
|
| F5 | P2 | vllm-omni-nano-edge-transfer (codex: first-attempt FAIL):
SKILL.md described the request as 'multipart' (Variant 3 heading and the
Request sentence) although the notebook and the README quickstart send
plain form fields with `data=form` (URL-encoded), which the server
accepts — three agents passed with the unmodified l… | Heading now reads
'## Variant 3 — vLLM-Omni (Docker server, form `POST /v1/videos/sync`)';
the Request sentence reads '— form fields sent as `data=form` (skill
note: URL-encoded, as the README quickstart does; not multipart — keep
the line as written) with `prompt` and `negative_prompt` …'. Zero added
lines. |
[SKILL.md:269](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L269);
[SKILL.md:316](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L316)
|
| F6 | P2 | diffusers-nano-edge-transfer (claude, opencode): the skill
stated uv 0.11.29 as a preference ('matching the version pinned by
Cosmos Framework'), but from this skill directory the checkout's
`pyproject.toml` `[tool.uv] required-version = "==0.11.29"` makes it
mandatory: a preinstalled uv 0.13.0 aborted the § 3 cell (`e… | Variant
2 marks the pin mandatory (skill note) and tells the agent to open the §
3 call with the canonical guard `uv --version 2>/dev/null \| grep -q
'^uv 0\.11\.29' \|\| { curl -LsSf
https://astral.sh/uv/0.11.29/install.sh \| sh; export
PATH="$HOME/.local/bin:$PATH"; hash -r; }`. |
[SKILL.md:226-228](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/SKILL.md#L226-L228);
[references/diffusers.md:31-32](https://github.com/NVIDIA/cosmos-framework/blob/05b7a7b/.agents/skills/cosmos3-inference-transfer/references/diffusers.md#L31-L32)
|
| F7 | P1 | cursor and opencode / `vllm-omni-nano-edge-transfer`: `POST
/v1/videos/sync` returned HTTP 504 "Video generation timed out after
600.0s" — the server's default `VLLM_OMNI_VIDEO_SYNC_TIMEOUT` is 600 s
while Nano edge transfer took 700–810 s on one H100; both agents
relaunched the container with the variable raised. The baseline's
first-attempt passes on this case were simply faster runs | `-e
VLLM_OMNI_VIDEO_SYNC_TIMEOUT=3600` in the Variant 3 launch block,
explained in the prose note under it, and a matching note after the
reference's launch cell |
[SKILL.md:291](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L291),
[SKILL.md:303](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L303),
[references/vllm-omni.md:43](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/references/vllm-omni.md#L43)
|
| F8 | P1 | The uv installer honours `XDG_BIN_HOME` / `XDG_DATA_HOME`
and then writes uv next to that tree; an agent sandbox that exports
`XDG_DATA_HOME` (opencode) kept running the pre-installed system uv
0.13.0 after a successful install and hit `Required uv version ==0.11.29
does not match` (round 1: opencode on #382's diffusers forward-dynamics
case; every skill carries the same line) | The installer line pins the
directory the PATH export expects: `curl -LsSf …/install.sh \| env
UV_INSTALL_DIR="$HOME/.local/bin" sh` |
[SKILL.md:228](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L228)
|
| F9 | P1 | Round-2 regression on `90c945d` (claude and cursor /
`vllm-omni-nano-edge-transfer`): the first version of that `-e` line
carried its comment after the continuation backslash, so `docker run`
saw a literal space as the image name (`invalid reference format`, `-p:
command not found`) and both agents had to relaunch | Comment moved into
the prose note; the block is plain `\`-continued lines again (`bash -n`
clean) |
[SKILL.md:303](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L303)
|
| F10 | P2 | opencode / `sglang-nano-edge-transfer` (round 2): the agent
ran the launch block from its own skills folder, a path the shared
Docker daemon does not see, so the control video was unreadable in the
server container and it re-mounted the skill from a shared path | The
note now says to run the block from the skill directory inside the
framework checkout, a path the daemon shares with the shell |
[SKILL.md:303](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L303)
|
| F11 | P1 | Round 2 (85fd1c0, superseded run), opencode /
`framework-nano-edge-transfer`: the § 6 cell's verbatim `curl …
install.sh | sh` put uv 0.11.29 under the sandbox's `XDG_DATA_HOME`
while the cell's PATH line expects `~/.local/bin`, so the system uv
0.13.0 kept running and the agent crashed out without a report | `export
UV_INSTALL_DIR="$HOME/.local/bin"` in the skill-authored § 3 exports
block (the installer honours it; the source cell stays verbatim); the
diffusers reference's guard line gets the same env form |
[SKILL.md:198](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L198),
[references/diffusers.md:32](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/references/diffusers.md#L32)
|
| F12 | P1 | QA (2026-11-09, another GPU cluster) and the 2026-11-08
baseline (all 4 `trtllm-nano-edge-transfer` first runs): the first `POST
/v1/videos/sync` returned HTTP 500 `Failed to load NVENC library:
libnvidia-encode.so.1` — `trtllm-serve` decodes the control video on
NVDEC (PyNvVideoCodec) and needs the driver's `libnvcuvid.so.1` /
`libnvidia-encode.so.1`, which a container only gets with the `video`
driver capability; the skill did not document the prerequisite (the eval
runner image had been given the capability instead) | Variant 5 Install
names the prerequisite: the `ldconfig -p` check,
`NVIDIA_DRIVER_CAPABILITIES=compute,utility,video` at container
creation, the exact-driver-version codec packages for a bare host, both
failure signatures; the TensorRT-LLM reference points at it (no new
SKILL.md lines, 500-line cap) |
[SKILL.md:403](https://github.com/NVIDIA/cosmos-framework/blob/6166baddf7579f50e0a5509c9393827604f4b30d/.agents/skills/cosmos3-inference-transfer/SKILL.md#L403);
[references/trt-llm.md:17](https://github.com/NVIDIA/cosmos-framework/blob/6166baddf7579f50e0a5509c9393827604f4b30d/.agents/skills/cosmos3-inference-transfer/references/trt-llm.md#L17)
|
| F13 | P2 | NVBug 7070483 (QA): the `vllm-omni-nano-edge-transfer`
assertion said the request goes "as a multipart form" while SKILL.md
Variant 3 and `references/vllm-omni.md` send URL-encoded form fields
(`data=form`, F5); the 2026-11-08 codex cell switched the documented
line to multipart only to satisfy that wording | The assertion now reads
"as URL-encoded form fields (data=form)" — the only `eval.config` change
of this PR (owner-approved); the four cells were force re-run |
[eval/eval.config:75](https://github.com/NVIDIA/cosmos-framework/blob/6166baddf7579f50e0a5509c9393827604f4b30d/.agents/skills/cosmos3-inference-transfer/eval/eval.config#L75)
|
| R | — | Review ask (not eval-derived): the exports block filters
`LD_LIBRARY_PATH` instead of unsetting it (keeps a cuda-compat dir;
`torch.cuda.init()` check); reference note before the configure cell |
See the review thread |
[SKILL.md:201](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/SKILL.md#L201),
[references/cosmos-framework.md:87](https://github.com/NVIDIA/cosmos-framework/blob/a51c5f4cfda2b68d7e611f3e07e32a9af6f26470/.agents/skills/cosmos3-inference-transfer/references/cosmos-framework.md#L87)
|

#### After the fixes — `a51c5f4`

| Case | Metric | claude | codex | cursor | opencode |
|---|---|---|---|---|---|
| `sglang-nano-edge-transfer` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ |
| `framework-nano-edge-transfer` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ✅→✅ | ⚠️→✅ | ✅→✅ | ⚠️→✅ |
| `diffusers-nano-edge-transfer` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ✅→✅ | ⚠️→✅ | ⚠️→✅ |
| `trtllm-nano-edge-transfer` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ | ⚠️→✅ |
| `vllm-omni-nano-edge-transfer` | Completion | ✅→✅ | ✅→✅ | ✅→✅ | ✅→✅ |
| | First time success | ✅→✅ | ⚠️→✅ | ✅→✅ | ✅→✅ |

**A** `group:ci-pr383-448545a`: 20/20 PASS, 6 first-attempt · **B**
`group:ci-pr383-a51c5f4`: 20/20 PASS, 20 first-attempt ·
[compare](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-transfer/compare?a=group%3Aci-pr383-448545a&b=group%3Aci-pr383-a51c5f4)

Completion: overall verdict before → after (✅ PASS, ❌ FAIL, ⛔ ERROR).
First time success: before → after (✅ passed on the first attempt, ⚠️
passed only after a self-correction, ❌ did not pass).

Static score 65 → 85 at bf66d22 (prose only): four sentences named
run-time outputs (`outputs/vllm_omni/edge/transfer_edge.mp4`, …) that
the static tier read as package files; they are now written from the
directory the cells run in (`$PWD/outputs/…`). Confirmed by one-cell run
42687409175 (cursor / framework edge, PASS first attempt). The two
sibling links (`../cosmos3-inference-nim/SKILL.md`,
`../cosmos3-quantization/SKILL.md`) resolve once #384 and #385 merge.

QA follow-up (2026-11-09/10): `244ff66` documents the TensorRT-LLM NVDEC
prerequisite (row F12; `6166bad` switches the check to `/sbin/ldconfig`
so it also works without `/sbin` on PATH) and `bfd7f16` rewords the
vllm-omni assertion (NVBug 7070483, row F13). Force re-run on `bfd7f16`
(group `ci-pr383-bfd7f16`,
[dashboard](http://internal-cosmos-skills-eval.nvidia.com/skills/cosmos3-inference-transfer/groups/ci-pr383-bfd7f16/)):
`vllm-omni-nano-edge-transfer` 4/4 PASS first attempt with the reworded
assertion passing in every cell, `trtllm-nano-edge-transfer` claude PASS
first attempt (the transcript shows the documented library check before
`trtllm-serve`); static 85 unchanged. `6166bad` is a prose-only change
to the same sentence and was not re-run.

Companion-name follow-up (2026-11-10): `604f4a4` renames the
quantization pointers to the canonical `cosmos3-quantization` (the skill
was renamed in #385 on 2026-11-09; QA filed NVBug 7070902 on #382 for
the same stale name). Name-only, no command or eval change; the links
resolve once #385 merges.

Companion-name follow-up (2026-11-10): `51c3a54`/`870c707` name the
generation skill `cosmos3-inference-generate-media` in this PR's own
skill and migration-record section (the directory is renamed by #385;
the pointers resolve once #385 merges). Name-only, no command or eval
change.

Rebase for landing (2026-11-10, `2e52976`): merged `main` after #381,
#385 (+ the generation-skill rename) and #384. Landing rule applied:
this PR's four links to the retired quantization README (`SKILL.md`
Variant 1, `references/sglang.md`, `references/transfer-readme.md`,
`references/vllm-omni.md`) now point at the `cosmos3-quantization`
skill, and inbound, the quantization table's Transfer row points at this
skill's `references/vllm-omni.md#quantized-checkpoints`. The two
transfer notebooks main had re-pointed stay deleted; the migration
record keeps every section plus the rename note; `tools/docs/nav.yml`
keeps the Transfer skill entry and main's Reasoner skill entry. Checks:
every markdown link in the skill and the edited sibling files resolves
against the merged tree (the README's bundled-asset mentions are prose,
not links), no stale skill names, SKILL.md 500 lines, `eval/eval.config`
byte-identical, pre-commit green on 11 files. Link-only, no eval re-run
needed. Pair NVIDIA/cosmos#397 rebased too (`28e3ec8`): main's rows and
definitions kept, this PR's Transfer row and `[transfer]` definition.
Whichever of #382/#383 lands second re-merges the migration record and
nav.yml (trivial).





#### Deliberately unchanged

- `eval/eval.config` of `cosmos3-inference-transfer`: byte-identical to
the migration head `448545a` — before and after are measured on the same
prompts, assertions and checks (the fixes change the skill content hash,
so the re-run opens a new dashboard group).
- Source-quoted notebook/README text stays verbatim; every addition is
marked "Skill note (not in the source)".
- The uv installer line this skill quotes from `cosmos3-setup` step 3 is
corrected at its origin in #386 (both copies).
- `vllm-omni-nano-edge-transfer`, assertion 2 still says "as a multipart
form" while the skill now states the notebook's `data=form` encoding;
the assertion wording is left for the owner (changing it is an
`eval.config` edit).

### Follow-ups (not in this PR)

- Non-vendored LFS assets: `seg/control_seg.mp4` and
`wsm/control_wsm.mp4` stay in the cookbook; decide after the eval
whether to vendor them (8.2 MiB) or keep the fetch step.
- Open PRs: none touches the retired files (checked 2026-11-07); #359
and #133 change framework transfer code, not the cookbook.
- Companion NVIDIA/cosmos PR NVIDIA/cosmos#397 keeps the COOKBOOK row
name ("Transfer") and points it at this skill through the tracked short
links nvda.ws/4iGFnpY (→
`.agents/skills/cosmos3-inference-transfer/SKILL.md`) and
nvda.ws/4sM8jBr (README gallery → `references/vllm-omni.md`); the two
PRs merge together (header above).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Christina Wang <christwang@nvidia.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: liang.feng <liangf@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Eval Evaluation harness or benchmark changes Skill New skill or updating existing skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants