Repository navigation
SL-51 PR2: Cosmos3Omni generation tower and wiring - #109
Merged
Merged
Conversation
…ts every checkpoint key Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
What
Implements the Cosmos3Omni generation branch (
*_moe_gen, the second tower of the Mixture-of-Transformers) and wirescosmos3_omniinto the VLM factory. Stacked on #107 (already merged), so this is againstmain.SharpAICosmos3OmniGenTowerand joint attention: understanding tokens attend causally to understanding tokens only; generation tokens attend bidirectionally to [understanding K/V; generation K/V]; per-tower RoPE (unified 3D mRoPE, interleaved sections).proj_in/proj_out/time_embedder, audio head, domain-aware action linear. The audio and action heads are only built whensound_gen/action_genis set.SharpAICosmos3OmniModel(und: Qwen3VL,gen,gen_heads) withgenerateVelocity(...).add_*attention keys); unknown keys throw instead of being dropped. The earlier rejection of_moe_genis removed.cosmos3_omniis added to the wired VLM keys (7); conformance expectations regenerated.Tests (air-gapped, nothing downloaded)
66 Cosmos test cases across Configuration, GenTower, Heads, Model, Registration, Sanitize and WeightFiles, plus the VLM wiring and conformance suites. The air-gap test builds the model through the real registry with deterministic synthetic weights and checks that the model's parameter key set equals the sanitized key set. No
.github/workflowsorPackage.swiftchanges.What is not verified
processor_classis unconfirmed;Qwen3VLProcessoris forced forcosmos3_omni.🤖 Generated with Claude Code