Add PAI-Bench-C reproduction guide for Cosmos3#224
Open
trungtpham wants to merge 1 commit into
Open
Conversation
80a3c53 to
4981e86
Compare
qianlim
reviewed
Jun 22, 2026
b0233cc to
f86e7ff
Compare
Contributor
Author
|
Paibench-c results on demo 4 samples run by @trungtpham |
Contributor
Author
|
@lfengad please help review this PR? Thanks |
Adds a self-contained end-to-end script and notebook for reproducing Cosmos3 PAI-Bench-C results using the public physical-ai-bench library. Key fixes: - Remove hardcoded --dp-shard-size/--dp-replicate-size/--cp-size/--cfgp-size from generation torchrun; let --parallelism-preset=latency auto-shard so Cosmos3-Super (32B) fits across multiple GPUs without OOM. - Include checkpoint slug in output path (demo-Cosmos3-Nano/, Cosmos3-Super/, etc.) so Nano and Super runs no longer overwrite each other. - Add SKIP_GEN=1 flag to skip generation and evaluate existing videos. - Strengthen paibench venv health check: detect broken Python symlinks from NFS stale handles and auto-rebuild the venv. - Add explicit UV_PROJECT_ENVIRONMENT to all paibench uv/pip calls so uv never auto-discovers a stale .venv from the working directory. - Compute GT seg/depth once (first modality) and reuse cache for the rest.
f86e7ff to
cf2e416
Compare
|
QA evaluation report can be found at https://docs.google.com/document/d/1B6YkXoz9jnh4CBZqCuptLegHhqkorpa8BTQfKVkoP7w/edit?tab=t.ridcxjs8xsjg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds an end-to-end recipe for reproducing PAI-Bench Conditional Generation (PAI-Bench-C) results with Cosmos3 using the native Cosmos Framework PyTorch entrypoint.
New files under evaluation/cosmos3/generator/paibench_c/:
PAIBench-C Reproducibility

