-
Notifications
You must be signed in to change notification settings - Fork 147
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
[Feature Branch] Quant modifier UX #2263
Merged
Merged
Conversation
This file contains 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
rahul-tuli
force-pushed
the
quant-modifier-ux
branch
3 times, most recently
from
May 9, 2024 14:45
dfb3d7f
to
a55f50c
Compare
rahul-tuli
requested review from
Satrat,
bfineran,
dsikka,
horheynm and
dbogunowicz
May 13, 2024 14:05
rahul-tuli
changed the title
[WIP][Feature Branch] Quant modifier UX
[Feature Branch] Quant modifier UX
May 13, 2024
rahul-tuli
force-pushed
the
quant-modifier-ux
branch
from
May 17, 2024 16:07
5b88ad3
to
4230fb7
Compare
Make sparsegpt not inherit from wanda modifier Decouple SparseGPTModifierPyTorch from WandaPruningModifier Fix docstrings
rahul-tuli
force-pushed
the
quant-modifier-ux
branch
from
May 20, 2024 13:09
4230fb7
to
d4d85ff
Compare
* Update OBCQ * Extract GPTQ Modifier
…antization (#2294) * Update OBCQ * Extract GPTQ Modifier * Update test recipes
* Update OBCQ * Extract GPTQ Modifier * Update test recipes * Add config_groups support to GPTQModifier * mask_structure preservation test (#2284) * test * Preserve weight sparsity if greater than threshold * Add argument to preserve sparsity mask in SPARSEGPT * fix case when mask is none * Add test to check mask_structure - initial mask structure should be preserved b/w consecutive runs; added test to check this * Update tensor_follows_mask_structure to check for atleast n zeros --------- Co-authored-by: Sara Adkins <sara@neuralmagic.com> * PR comments --------- Co-authored-by: Sara Adkins <sara@neuralmagic.com>
Satrat
approved these changes
May 21, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the tests pass
bfineran
approved these changes
May 22, 2024
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.
Quantization Modifier UX Update
Description
This PR refactors the quantization modifiers to enhance user experience and simplify the system architecture. It is based off of changes from
thesa/quant_mod_refactor
main
branch, all subsequent changes will be merged as smaller bites sized PRs into this. Key updates include:Wanda
andSparseGPT
#2266Reference Documentation
For more detailed information about the changes and their impact, please refer to the documentation here.