Repository navigation
Support mixed-precision and hybrid model configurations - #1
Closed
martingiovannigeyer wants to merge 4 commits into
Closed
martingiovannigeyer wants to merge 4 commits into
martingiovannigeyer wants to merge 4 commits into
Conversation
Owner
Author
|
Superseded by two scoped PRs: one for mixed-precision/NVFP4 support and one for the independent Ling/Nemotron initialization fix. |
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.
Motivation
Support mixed-precision compressed-tensors checkpoints and the hybrid models covered by this patch without checkpoint-specific runtime forks.
Changes
ParallelLMHeadquantization[up, gate]ordering contract through the compressed-tensors wrapperThe last change is intentionally narrow. The NVIDIA ModelOpt method already exposes the same ordering contract; the compressed-tensors wrapper previously hid it and loaded
[gate, up]into a CUTLASS kernel expecting[up, gate].Validation
2b0dbfd9b8, 35B agreement is 95.7-95.8% on RTX PRO 6000 and 96.2% on RTX 5090No new checkpoint format, kernel, runtime flag, or forward hot path is introduced.