Skip to content

Docs/improve contributing guidelines#214

Open
paularamo wants to merge 4 commits into
NVIDIA:mainfrom
paularamo:docs/improve-contributing-guidelines
Open

Docs/improve contributing guidelines#214
paularamo wants to merge 4 commits into
NVIDIA:mainfrom
paularamo:docs/improve-contributing-guidelines

Conversation

@paularamo

Copy link
Copy Markdown

Summary

  • Replaces the generic CONTRIBUTING.md with a structured guide that reflects the actual
    cookbooks/cosmos3/ directory layout, establishes clear quality requirements for
    community-contributed cookbooks, and provides a ready-to-copy README template.
  • Reorganizes every cookbook directory by moving shipped content into basic_examples/
    subdirectories, creating a clean contribution surface for the community.

Contributing Guide Enhancement

The current CONTRIBUTING.md is a 50-line generic fork-commit-PR boilerplate with no guidance
on cookbook structure, quality bar, or placement. This PR replaces it with a production-grade
contributing guide that includes:

  • Cookbook structure section Documents the cookbooks/cosmos3/ tree with a routing table
    so contributors know exactly where their content belongs (reasoner, generator/audiovisual,
    generator/action, generator/transfer).
  • Five quality requirements reviewers check on every PR:
    1. Open-access data only (no internal S3, VPN-only URLs, or proprietary datasets)
    2. Results / Expected Output section (sample outputs, timing benchmarks, loss curves)
    3. Canonical setup (link to shared README, no duplicated install steps)
    4. One-click runnable (notebooks run top-to-bottom without manual intervention)
    5. Naming convention (run_<task>_with_<backend>.ipynb)
  • Cookbook README template, Ready-to-copy structure with title, backends table, quick start,
    results section, and dataset table with license.
  • Contribution areas table Clear "what we accept" and "what we won't merge" boundaries.
  • Testing checklist Clean kernel run, minimal GPU, no secrets, file size limits.

Cookbook Restructure: basic_examples/

This PR also reorganizes every cookbook directory (reasoner, generator/audiovisual,
generator/action, generator/transfer) by moving the shipped starter notebooks, assets,
specs, and helpers into a basic_examples/ subdirectory. The top-level directory under
each tower now holds only the README and is ready to receive community-contributed
cookbooks as sibling folders (e.g., reasoner/worker_safety/, generator/audiovisual/its_text2image/).
All paths in the main README.md Examples table (11 notebook links + nbviewer URLs),
the NIM curl example, and the cookbooks/cosmos3/README.md vLLM section have been
updated to reflect the new locations. No notebook content was modified, this is a
pure restructure to separate NVIDIA-shipped examples from the contribution surface.

Test Plan

  • Verify all notebook links in the main README.md Examples table resolve correctly
  • Confirm nbviewer badge URLs render the notebooks from the new basic_examples/ paths
  • Validate the NIM curl example path (reasoner/basic_examples/assets/robot_153.jpg)
  • Check that the CONTRIBUTING.md directory tree matches the actual repo structure
  • Review the cookbook README template renders correctly on GitHub
  • Verify the cookbooks/cosmos3/README.md vLLM section links to the relocated notebook

…, and recipe templates

Replaces the generic contributing guide with a structured document that
reflects the actual cookbooks/cosmos3/ directory layout and establishes
clear quality requirements for community-contributed cookbooks:

- Cookbook structure section with routing table (reasoner, generator/audiovisual,
  generator/action, generator/transfer)
- Five quality requirements: open-access data, results/expected output,
  canonical setup, one-click runnable, naming convention
- Cookbook README template ready for contributors to copy
- Contribution areas table with clear accept/reject criteria
- Testing checklist for pre-submission validation
…ontributions

Move all existing notebooks, assets, specs, and helpers into basic_examples/
subdirectories under each tower (reasoner, generator/audiovisual, generator/action,
generator/transfer). This creates clean top-level directories ready to receive
community-contributed cookbooks as sibling folders alongside basic_examples/.

- reasoner/basic_examples/: 3 notebooks + prompt guide + 15 media assets
- generator/audiovisual/basic_examples/: 3 notebooks + prompts/images
- generator/action/basic_examples/: 5 notebooks + action/robot assets
- generator/transfer/basic_examples/: 1 notebook + specs + control videos
- Updated all 4 tower READMEs with basic_examples/ cookbook tables and paths
- Updated CONTRIBUTING.md directory tree to show contribution placement
Fix all notebook links, nbviewer URLs, and asset paths in the main
README.md Examples table (11 entries) and the NIM curl example to
reference the new basic_examples/ subdirectories. Also update the
cookbooks/cosmos3/README.md vLLM server section to point at the
relocated run_with_vllm.ipynb.

@nv-asotelo nv-asotelo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM - Need repo owners to weigh in on the contributing guidelines and migration of the basic examples to the respective directories.

@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.

LGTM

Xuanmeng-Zhang added a commit that referenced this pull request Jun 16, 2026
  - Place SFT recipes under their capability cookbooks: vision recipes ->
    cookbooks/cosmos3/generator/audiovisual/finetune/, reasoner recipes ->
    cookbooks/cosmos3/reasoner/finetune/ (sibling of existing inference content,
    forward-compatible with #214).
  - Surface the finetune cookbooks on the repo landing page (README Finetune).
  - Trim each README to the happy path; link advanced config + raw torchrun to the
    canonical framework docs (training.md, sft_config.md).
  - Add the recommended NGC PyTorch base image to Prerequisites.
  - Rewrite each launch_sft_*.sh as a simple, self-contained recipe: linear
    numbered steps (download -> convert -> train) with hardcoded paths, dropping
    the shared launcher helper and all env-var override knobs.
Adds "6. Author Attribution" to the cookbook quality requirements,
requiring all recipes to include author name(s) and organization
in both the README and notebook first cell. Updates the README
template with the author block format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants