Repository navigation
Unsloth Studio: list Cosmos3-Nano in the Video picker and route it from the Hub - #16743
Conversation
…om the Hub The Video page picker and the Hub routing listed nvidia/Cosmos3-Edge only. Nano was left out because its checkpoint turns NVIDIA's Cosmos guardrail on and Unsloth Studio does not install the cosmos-guardrail package, so users could reach Nano only by typing the repo id. Nano gets its own picker row beside Edge, sized 32 GB from the bf16 weights the backend keeps resident (30.4 transformer + 1.4 VAE), and its description says it needs cosmos-guardrail. The backend already refuses a load without the package with a message naming the install and the opt-out. The Hub now marks nvidia/Cosmos3-Nano as a Video page model instead of "Library: diffusers" unsupported.
…o picker row The Video picker never draws a catalog description, so the guardrail note was only searchable.
|
Codex is clean at this head ( |
|
@codex review |
1 similar comment
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
# Conflicts: # studio/frontend/tests/unsloth-support-cosmos3.test.ts
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
What
Lists
nvidia/Cosmos3-Nanoin the Unsloth Studio Video page model picker next to Cosmos3-Edge, and makes the Model hub treat it as a Video page model instead of marking it "May not be supported".Why
The backend fully supports Nano (#14554), but the picker and Hub only listed Edge, so the only way to load Nano was typing its repo id. Nano is the larger, higher-quality model and the only one with 720p.
#14554 left Nano out on purpose: the installer didn't yet pin a diffusers that loads it (it does now, 0.42.1), and Nano's checkpoint turns on NVIDIA's guardrail, which Unsloth Studio doesn't install. So the row says what Nano needs:
needs cosmos-guardrailchip on the row itself. The Video picker never draws a catalog description (its hover only shows the name and Hub link), so a description alone would have been invisible;bf16_components_gb30.4 + 1.4, the same rule as Edge's 9 GB), so it's greyed out on hosts that can't hold it, with the reason on hover. That's the weights, not the render peak: on a 96 GB RTX PRO 6000 at590119de67, Nano peaked at 38.5 GB (832x480, 189 frames) and 49.7 GB (1280x720, 189 frames);No backend change.
Before / after
Colab, Unsloth Studio at main
4ee2f916cavs this branchf199960fd5, searching "cosmos3" in the Video picker with the pointer on the Nano row.96 GB RTX PRO 6000 (Nano fits):
Tesla T4, 15 GB (Nano greyed, hover says why):
Model hub,
nvidia/Cosmos3-Nano:Picking Nano with no
cosmos-guardrailinstalled (before: Nano isn't in the list):Memory and speed
What Nano actually uses, measured at
590119de67(main; this PR doesn't touch the backend) on Colab. The picker's 32 GB is the resident weights. Without offload a render peaks at 36.0 to 62.4 GiB on the 96 GB card, depending on size and length. On a 24 GB L4, Unsloth Studio streamed the transformer and quantized it to int8, and Nano fit in 8.3 to 17.7 GiB at about 6 to 7 times the time. Each bar is drawn against its card's capacity.Not run: Nano on a T4, A100 80 GB and H100 (one A100 40 GB row only).
Status
Head
32b7696ab9. Codex review is clean at32b7696ab9(fork mirror).32b7696only rewords two comments inmodel-catalog.ts: atf199960fd5they said "Unsloth Studio", whichtests/studio/test_tauri_branding_contract.pybans from frontend source (Unsloth Desktop displays itself as "Unsloth"); the fork mirror's CI caught it. New frontend tests: the chip test fails on7cb1614043and passes here; full frontend suite (14929 pass, 1 skipped), typecheck, catalog check and the branding contract pass. Screenshots were taken atf199960fd5; the comment-only change doesn't affect them.Not run: a Nano render (the backend path is unchanged); a 48 GB card, where Nano shows as fitting and 480p fits its measured peak but 720p at 189 frames (49.7 GB) may not; Nano with the guardrail installed, whose load currently stops on NVIDIA's gated guardrail repo, which #16742 addresses.
Noticed, not changed
model_index.jsoninternals.Before / after (maintainer check)
Video page model picker searching "cosmos3", merge base vs this branch, two isolated Studio installs on a CPU-only host (picker listing only, no model loaded). After lists Cosmos3 Nano with its
needs cosmos-guardrailchip beside Edge.