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

Quantization Not Working as Expected #204

Open
sdt03 opened this issue Nov 9, 2024 · 0 comments
Open

Quantization Not Working as Expected #204

sdt03 opened this issue Nov 9, 2024 · 0 comments

Comments

@sdt03
Copy link

sdt03 commented Nov 9, 2024

When attempting to load the model with quantization options in AirLLM, the system is not applying the specified compression and downloads the entire model instead. I used the following code snippet to apply compressions:

model = AutoModel.from_pretrained("garage-bAInd/Platypus2-70B-instruct", compression='8bit')

The model should be downloaded with the specified quantization, applying the compression as indicated by the compression argument, however, full model is downloaded, ignoring the compression setting, which prevents the expected quantization from being applied.

Is there a way to ensure that the quantized version of the model is loaded instead?

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

No branches or pull requests

1 participant