cosmos3-inference

โดย nvidia

แนะนำผู้ใช้ผ่านการรัน Cosmos3 inference — การสร้างแบบแบตช์แบบออฟไลน์, การให้บริการออนไลน์ด้วย Ray และ Gradio, ตัวเลือกความขนาน, รูปแบบอินพุต, การสุ่มตัวอย่าง…

npx skills add https://github.com/nvidia/cosmos-framework --skill cosmos3-inference

Cosmos3 Inference

When to use this skill

  • Use when a user wants to generate images or videos with Cosmos3
  • Use when a user asks about inference parameters, input formats, or parallelism
  • Use when a user wants to set up online serving (Ray Serve, Gradio)
  • Use when a user asks about prompt engineering or upsampling
  • For environment or import errors, hand off to cosmos3-env-troubleshoot

Path convention

All paths below are relative to the cosmos3 package root (../../../ from this skill file). All uv run / python commands should also be run from there.

Where to find answers

User questionGo to
How do I run inference? (single-GPU, multi-GPU)README.md § Inference
Which model should I use? (Nano vs Super, memory, shift)README.md § Models
Which modality? (t2i, t2v, i2v, examples)README.md § Modalities
What parallelism preset? (latency vs throughput)README.md § Inference
What input fields are available? (prompt, vision_path, num_frames, ...)docs/inference.md § Sample Arguments
What are the default parameter values?cosmos_framework/inference/defaults/<model_mode>/sample_args.json (per-modality JSON)
How do I use custom defaults?docs/inference.md § Custom Defaults
How do I override a parameter? (precedence)docs/faq.md § How do I override a default parameter?
What is the shift parameter?docs/faq.md § What is the shift parameter?
How many frames can I generate? (resolution caps)docs/faq.md § How many frames can I generate?
How do I start Ray Serve / Gradio / submit requests?docs/faq.md § How do I run online inference with Ray?
How do I upsample short prompts?docs/faq.md § Prompt upsampling
How do I use the low-level API? (examples/)examples/inference.py (model API) / examples/inference_pipeline.py (pipeline API)
All CLI flagsuv run --all-extras --group=cu130 python -m cosmos_framework.scripts.inference --help

Things not obvious from the docs

  • Path resolution: relative paths in input JSON files are resolved relative to the JSON file's directory, not the working directory.
  • Seed: always pass --seed for reproducible results. Without it, a random seed is used each time.
  • Resume: interrupted runs can be resumed by re-running the same command — existing outputs are skipped automatically.
  • --keep-going: continues processing remaining samples after a per-sample failure (e.g. guardrail rejection). Used in online serving by default.
  • Unique names: every sample in a run must have a unique name field, or the script will error.

Related skills

SkillWhen to use
../cosmos3-setup/SKILL.mdInstallation and environment setup
../cosmos3-codebase-nav/SKILL.mdFinding files, parameters, and configs in code
../cosmos3-env-troubleshoot/SKILL.mdDebugging environment and runtime errors

Skills เพิ่มเติมจาก nvidia

compileiq-debug
nvidia
ใช้เมื่อมีบางอย่างผิดปกติ: Search() ค้าง, การประเมินทั้งหมดคืนค่า INVALID_SCORE, คะแนนไม่ดีขึ้น, ทุกคอนฟิกคืนค่าเลขเดียวกัน, ข้อผิดพลาด ptxas…
create-github-pr
nvidia
สร้างคำขอดึงข้อมูล GitHub โดยใช้ gh CLI ใช้เมื่อผู้ใช้ต้องการสร้าง PR ใหม่ ส่งโค้ดเพื่อตรวจสอบ หรือเปิดคำขอดึงข้อมูล คำหลักที่ใช้เรียก -…
nemoclaw-maintainer-cross-issue-sweep
nvidia
สแกน issue อื่นๆ ที่เปิดอยู่เพื่อค้นหาว่า PR ที่กำหนดอาจแก้ไขหรือทำให้เสียโดยไม่ได้ตั้งใจ แสดงผลโอกาสในการแก้ไขที่เกี่ยวข้องและความเสี่ยงที่ขัดแย้งกันพร้อมไฟล์:บรรทัด…
fhir-basics
nvidia
สอนให้เอเจนต์เข้าใจการทำงานของ FHIR R4 API ทรัพยากรที่มีให้ วิธีค้นหาด้วยพารามิเตอร์ค้นหา และวิธีแยกวิเคราะห์รูปแบบการตอบกลับทั้งหมดอย่างถูกต้อง…
compileiq-validate-result
nvidia
ใช้หลังจากที่การค้นหาเสร็จสิ้น และก่อนที่จะอ้างสิทธิ์การเร่งความเร็วหรือจัดส่ง ACF โหลดไฟล์ CSV dump_results แยกผู้สมัคร K อันดับแรก (วัตถุประสงค์เดียว)…
changelog-audit
nvidia
ตรวจสอบ Warp CHANGELOG.md ก่อนปล่อย: กู้คืนรายการที่สูญหาย จัดเรียงตามผลกระทบต่อผู้ใช้ ปรับปรุงภาษาในรายการ จัดบรรทัด และ (ในโหมดสาขาปล่อย) เปรียบเทียบการเพิ่มเวอร์ชัน…
maintain-dynamic-plugins
nvidia
ดูแล NeMo Relay dynamic plugin loaders, manifests, Rust native SDKs, gRPC worker protocol, Python worker SDK, เอกสาร, การทดสอบ และความครอบคลุมของเวิร์กโฟลว์การเผยแพร่
dgx-diagnose
nvidia
วินิจฉัยปัญหาทั่วไปของ DGX Station GB300 — CUDA ล่ม, การกำหนดเป้าหมาย GPU ผิด, บั๊กคอนเทนเนอร์ vLLM/SGLang, ปัญหาสถานะ MIG, ข้อผิดพลาด NVLink/Fabric Manager,…