-
Notifications
You must be signed in to change notification settings - Fork 109
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
Quantization related issues #224
Conversation
if not config.model_parallel and config.quantization_config is None: | ||
# might need to use accelerate instead | ||
# self.model = config.accelerator.prepare(self.model) | ||
if not config.model_parallel and not isinstance(config.quantization_config, BitsAndBytesConfig): |
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.
We need to enter this if the config provided is a GPTQ config, but not bits and bytes
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.
great ! Has this been tested on quantized models ?
Yep, tested it both on GPTQ and bitsandbytes models |
Fix #200 and #176