Add reproducible Cosmos3 Nano and Edge fine-tuning - #277
Draft
ramanathan831 wants to merge 17 commits into
Draft
ramanathan831 wants to merge 17 commits into
ramanathan831 wants to merge 17 commits into
Conversation
Make iopath available to converters, declare the supported Liger API, and retain optional storage imports. Include the validated uv 0.12.21 lockfile.
Preserve runtime permissions, local package installation, and image provenance. Exclude generated Python bytecode from the build context. Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Restore model export declarations, honor process CPU affinity, and limit benchmark NCCL environment defaults to CLI startup.
Normalize distributor seeds, preserve contiguous batches across epochs, and support bounded sequences with spawned preprocessing workers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Use the shared video metadata probe and preserve Qwen timestamps and modality metadata throughout preprocessing.
Pad the variable sequence dimension before restoring position axes. Select supported attention implementations while honoring explicit overrides. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Decode FP8 cache entries on pre-Ada devices while retaining native FP8 masked-load semantics on supported architectures.
Inject adapters before sharding, restore adapter-only trainability after materialization, and report logical parameter scope and token loss statistics. Include Qwen patch-embedding compatibility and the scalar Liger loss API.
Batch uniform vision attention chunks and cache deterministic validation features without desynchronizing distributed ranks. Honor frozen-weight precision without FSDP, deterministic FlashAttention, and cuDNN 9.15 support. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Expose checkpoint and validation cadence through TOML, report progress and terminal failures, and handle padded checkpoint markers. Preserve ranked loss logs and resolve configuration types without optional Megatron.
Provide local video-QA datasets, deterministic overrides, runtime model profiles, rank-local decoding, decoded-frame caching, and launch examples. Retain scoped decoder mocks in the existing recipe regression coverage. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
…overy Restore parameter and optimizer snapshots after gradient spikes. Bound baseline inflation, coalesce clustered backoff, and gate rate recovery on demonstrated health. Keep the guard disabled by default. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Ramanathan Arunachalam <rarunachalam@nvidia.com>
Export native distributed reasoner checkpoints and resolve source provenance correctly from both ordinary and linked Git worktrees.
Build rumdl 0.1.62 from its pinned release source using an isolated Rust toolchain, then run the original full hook configuration unchanged.
Move reusable video processing and sharding into existing shared modules, replace the external dataset and status contracts with Framework-native implementations, and register the four dataset-neutral recipes directly. Preserve their configuration values and behavioral tests; add native dataset coverage.
Replace dataset-specific names and environment variables with the shared Cosmos video contract while retaining the Nano, Edge, and task-aware schedules.
Keep explicit release provenance fail-closed, allow ordinary builds without inventing a source identity, and use Framework-native manifest paths. Cover missing, partial, dirty, and complete provenance.
This was referenced Oct 1, 2026
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.
Summary
Add repository-owned Cosmos3 Nano and Edge fine-tuning support, including:
Cleanup and scope
This is structural consolidation, not a blanket file deletion: the current diff has 82 changed files, including 23 new files. Shared-module reuse and moving the native dataset into this parent add edits to existing files; the dependent runtime PR shrinks from 102 changed files to 80.
History and dependent PRs
Supersedes #164, which this account cannot reopen after its maintainer closure. The existing source branch is retained.
The initial 58-commit source history was consolidated to 14 logical commits with an identical final tree. The subsequently requested implementation cleanup adds three focused commits: native video SFT consolidation, generic examples, and default/release image provenance. The current tree therefore intentionally differs from the earlier history-only snapshot.
The dependent PRs are restacked, not replaced:
Validation at e4481fc
if: falsecondition.This replacement remains a draft pending upstream CI and review.