Skip to content
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

Fix revision and other huggingface_hub kwargs in .from_quantized() #205

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

TheBloke
Copy link
Contributor

@TheBloke TheBloke commented Jul 25, 2023

These kwargs were not being passed through to .from_quantized() so none of them were working. That's now fixed.

I also fixed it so that huggingface_hub args are used for the AutoGPTQFromCausalLM.from_pretrained() call, so a model can be loaded direct from the hub including using revision or token and then quantized and pushed back to hub as GPTQ.

…d() so models can be quantised from the hub including using a private token and revision/branch etc
@TheBloke TheBloke mentioned this pull request Jul 25, 2023
@PanQiWei PanQiWei merged commit 2456f71 into AutoGPTQ:main Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants