-
Notifications
You must be signed in to change notification settings - Fork 31.3k
GPTQ integration #25062
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
Merged
GPTQ integration #25062
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
d963b97
GTPQ integration
SunMarc 93f0d84
Add tests for gptq
SunMarc 380baea
support for more quantization model
SunMarc 810d537
fix style
SunMarc c3f5248
typo
SunMarc fc70ef4
fix method
SunMarc 6a04bb8
Update src/transformers/modeling_utils.py
SunMarc 271dab6
add dataclass and fix quantization_method
SunMarc 992881e
fix doc
SunMarc 3c2d940
Update tests/quantization/gptq/test_gptq.py
SunMarc 9bbb336
Apply suggestions from code review
SunMarc 0134c79
modify dataclass
SunMarc a2a7f5d
add gtpqconfig import
SunMarc 70e1416
fix typo
SunMarc 0e2014b
fix tests
SunMarc 69e3c88
remove dataset as req arg
SunMarc cb46d75
remove tokenizer import
SunMarc 9a3cafd
add offload cpu quantization test
SunMarc 27e9b79
fix check dataset
SunMarc f47ecb4
modify dockerfile
SunMarc 19d05d3
protect trainer
SunMarc 76dffe2
style
SunMarc 0f61037
test for config
SunMarc b0eccd5
add more log
SunMarc 2e7a025
overwrite torch_dtype
SunMarc a07126a
draft doc
SunMarc c9d3f26
modify quantization_config docstring
SunMarc ecce1da
fix class name in docstring
SunMarc 2226184
Apply suggestions from code review
SunMarc eff99cb
more warning
SunMarc 159cf87
fix 8bit kwargs tests
SunMarc 98db723
peft compatibility
SunMarc 0144760
remove var
SunMarc fd8d70c
fix is_gptq_quantized
SunMarc 0f96fb2
Merge branch 'main' into gptq_integration
SunMarc be19916
remove is_gptq_quantized
SunMarc 9e8f487
Merge remote-tracking branch 'upstream/main' into gptq_integration
SunMarc 4b4336e
fix wrap
SunMarc 42d0049
Update src/transformers/modeling_utils.py
SunMarc a9658e2
Merge remote-tracking branch 'upstream/main' into gptq_integration
SunMarc 62aa293
add exllama
SunMarc 39137eb
skip test
SunMarc f23ce7e
Merge remote-tracking branch 'upstream/main' into gptq_integration
SunMarc 0b0633b
overwrite float16
SunMarc c3c4a16
style
SunMarc a45b5b0
fix skip test
SunMarc 69c8fce
Apply suggestions from code review
SunMarc bf98799
fix docsting formatting
SunMarc 7adf9cb
add doc
SunMarc c93d1d0
better test
SunMarc 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
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.