[For RL] Keep attrs after folding weight and fix empty extra state for Megatron#779
[For RL] Keep attrs after folding weight and fix empty extra state for Megatron#779
Conversation
Signed-off-by: Meng Xin <mxin@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #779 +/- ##
==========================================
- Coverage 74.22% 73.95% -0.28%
==========================================
Files 192 192
Lines 19027 19687 +660
==========================================
+ Hits 14123 14559 +436
- Misses 4904 5128 +224 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Meng Xin <mxin@nvidia.com>
Signed-off-by: Meng Xin <mxin@nvidia.com>
Signed-off-by: Meng Xin <mxin@nvidia.com>
What does this PR do?
Type of change: improvement
Overview:
Usage
mtq.fold_weight(keep_attrs=True)will keep quantizer attrs after folding weight,Testing
Before your PR is "Ready for review"
Additional Information