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

[Feature]: Support Int8 dtype for storing weights - currently uses FP16 wasting 50% of VRAM #4031

Closed
cduk opened this issue Apr 12, 2024 · 1 comment

Comments

@cduk
Copy link
Contributor

cduk commented Apr 12, 2024

🚀 The feature, motivation and pitch

Could you please add Int8 as a supported dtype? Currently when using Int8 models such as https://huggingface.co/Qwen/Qwen1.5-7B-Chat-GPTQ-Int8 with xformers instead of FlashAttention, the weights are stored as FP16 taking double the VRAM.

Alternatives

No response

Additional context

No response

@hmellor
Copy link
Collaborator

hmellor commented Apr 12, 2024

We already support GPTQ 8-bit #2330

@hmellor hmellor closed this as completed Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants