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

How to apply 3/4-bit quantization to vision-language model? #28

Closed
verigle opened this issue Jun 8, 2023 · 1 comment
Closed

How to apply 3/4-bit quantization to vision-language model? #28

verigle opened this issue Jun 8, 2023 · 1 comment

Comments

@verigle
Copy link

verigle commented Jun 8, 2023

How to apply 3/4-bit quantization to vision-language model like BLIP2?

@efrantar
Copy link
Member

In principle, GPTQ should be applicable to most types of models; see also #3 and #8 for some advice on applying GPTQ to other models than the ones in this repository. In the case of BLIP2 I would guess that you probably want to compress the vision part first and then follow up with the language part, using calibration data that went through the already quantized vision component.

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

2 participants