-
Notifications
You must be signed in to change notification settings - Fork 138
[API] Replace from_pretrained and from_quantized with unified load() #535
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
Conversation
Qubitium
left a comment
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.
Reemove passing and overriding of quantize_config in load() stage. Quant config should always be loaded via saved model config.
I cannot think of a plausible scenario where a quant model is saved without config and needs an override. This legacy code from autogptq make is much complex than necessary.
Ad
load()to unifyfrom_pretrainedandfrom_quantized.Remove overrding/passing
quantize_configinfrom_quantized.