Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
b0a7f44f
Unverified
Commit
b0a7f44f
authored
Feb 15, 2024
by
Andrei Panferov
Committed by
GitHub
Feb 15, 2024
Browse files
Removed obsolete attribute setting for AQLM quantization. (#29034)
removed redundant field
parent
4156f517
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/transformers/quantizers/quantizer_aqlm.py
src/transformers/quantizers/quantizer_aqlm.py
+0
-1
No files found.
src/transformers/quantizers/quantizer_aqlm.py
View file @
b0a7f44f
...
...
@@ -77,7 +77,6 @@ class AqlmHfQuantizer(HfQuantizer):
model
.
config
.
quantization_config
=
self
.
quantization_config
def
_process_model_after_weight_loading
(
self
,
model
:
"PreTrainedModel"
,
**
kwargs
):
model
.
_is_quantized_training_enabled
=
False
return
model
@
property
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment