Repository navigation
Autoquant and GPTQ in support in Megatron-Core [OMNIML-3151] #1562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+627
−173
Merged
Changes from 14 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
676eac4
MSE & mixed precision in mcore
jenchen13 9143e02
lint
jenchen13 57e5f26
MSE calibration: universal MseCalibrator fallback for non-NVFP4 quant…
jenchen13 2dea94a
update mse test for mixed precision
jenchen13 918ed6a
fix gpu test, no duplicate backend registration
jenchen13 05a436f
Merge branch 'main' into feature/mcore_mse_mixed_precision
jenchen13 ff20eca
fix unit tests
jenchen13 985da85
lazy init autoquant register
jenchen13 d88e54a
revert breaking change on MSECalibrator
jenchen13 5f291a6
revert autoquant and gptq changes
jenchen13 5c9cd43
fallback to copy HF remote code if no dir
jenchen13 c5c7a2e
Merge branch 'main' into feature/mcore_mse_mixed_precision
jenchen13 d63bf70
fix if else
jenchen13 2ba29fd
autoquant and gptq in mcore
jenchen13 e14fa62
fix logic again
jenchen13 e985e93
Merge branch 'main' into feature/mcore_mse_mixed_precision
jenchen13 9088966
Merge branch 'feature/mcore_mse_mixed_precision' into jennifchen/mcor…
jenchen13 68e6837
revert tensor quantizer changes
jenchen13 967d5ef
Fix MCore layerwise discovery mutation
jenchen13 5b141b5
Merge branch 'main' into jennifchen/mcore_autoquant_gptq
jenchen13 55ed710
Fix AutoQuant budget denominator for restored stats
jenchen13 2acbc03
Update changelog for MCore quantization support
jenchen13 f40849e
Clean up Megatron parallel state in layerwise test
jenchen13 a59eecd
Merge branch 'main' into jennifchen/mcore_autoquant_gptq
jenchen13 f68bab8
fix: sum AutoQuantize cost/score across EP for MCore MoE experts
jenchen13 8f94cf8
test: strengthen GPTQ mamba hybrid assertions and increase timeout
jenchen13 fbaa4a3
test: move update_hessian zero-token noop test to CPU unit tests
jenchen13 d4d91c8
separate megatron calib dataloader out into helper
jenchen13 bbf7f35
increase timeout for onnx test
jenchen13 fe80756
test: raise unit test timeout to 120 s on Windows
jenchen13 6c2d446
update comment
jenchen13 29475fe
move cpu only gptq tests to cpu unit tests
jenchen13 850799b
move autoquant registration to plugins/megatron.py; fix circular impo…
jenchen13 470b48f
remove padding hardcode
jenchen13 b9a1a6b
Merge branch 'main' into jennifchen/mcore_autoquant_gptq
jenchen13 0608daf
Increase timeout for Megatron sharded state dict test
jenchen13 289dbdc
Increase GPU Megatron CI timeout
jenchen13 35bd94f
Adjust GPU Megatron CI timeout
jenchen13 f0d1c55
Speed up Mamba GPU quantization tests
jenchen13 351c6c6
test: tighten timeouts for mamba-hybrid quant tests
jenchen13 14cd2df
test: prebuild quant CUDA extensions in a session fixture
jenchen13 9749a49
test: drop redundant quant CUDA extension prebuild fixture
jenchen13 20a888d
Fix gpu_megatron quant extension timeout
jenchen13 d6b01ac
test: prebuild quant CUDA extensions via session fixture
jenchen13 6d75cbc
Merge branch 'main' into jennifchen/mcore_autoquant_gptq
jenchen13 51ba351
Reduce compressed gpu_megatron state dict matrix
jenchen13 f518c1a
Address docs and gpu_megatron feedback
jenchen13 848c317
Add Nemotron Nano AutoQuantize launcher example
jenchen13 c976a23
Restore quantization docs cross references
jenchen13 485750b
Update launcher Megatron submodule for AutoQuantize
jenchen13 8c307de
bring gpu_megatron tests back to 60min
jenchen13 eccabc8
respond to comments fix tests
jenchen13 961abac
explain conftest change
jenchen13 2e5100c
rename example
jenchen13 054e353
refactor: drop dead AutoQuantize denominator fallback path
jenchen13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.