Repository navigation
Add native Nemotron Nano model and checkpoint support - #48
Merged
kailash109 merged 2 commits intoNov 17, 2026
Merged
Conversation
This was referenced Nov 17, 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.
Add native/raw-mode Nemotron-3 Nano support using Megatron-Core's hybrid model: split Q/K/V adapters and ungated up/down adapters on routed and shared experts. Add mbridge HF checkpoint loading, raw HF export, Mamba tensor-parallel component packing, and selectors accepting both per-expert and Transformers packed namespaces. Mamba projections remain frozen; larger latent-expert Nemotron variants and GPT-OSS are outside this change.
This is the second half of the split of #46, stacked on routed-expert PR #47 (
codex/native-routed-expert-lora). Merge the routed-expert PR first, then retarget this PR tospindle-miles-v0.2.0. This diff contains only Nano model/architecture integration and its tests, reusing the generic expert backend.Validation:
88ca1d1tree from Add native Nemotron Nano and multi-slot routed expert LoRA #46 exactly, including its Nano-specific GPU fixture (previously passed on two H200s in 51.9 seconds). On that implementation, full-model Nano completed four successful RL optimizer updates through Spindle's Miles command backend, with concurrent rank-8/rank-16 clients, generation, and adapter publication.0bd70b3) checked both clients through checkpoint restore and trained-adapter sampling. Streamed checkpoint comparisons found zero mismatches in 651,988,992 rank-8 and 1,303,977,984 rank-16 weight/Adam-moment elements.Still draft: the strict full-model restore-score check fails (0.2752 on
88ca1d1). Repeated forwards without a load also varied (0.1249/0.2299 in the diagnostic), despite exact checkpoint tensor round-trips. Freezing router bias did not resolve this. Score repeatability and exact optimizer replay remain unvalidated; splitting the PR does not change this result.Generated run outputs are excluded. No full-model E2E rerun is claimed for the split itself.