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

Add quantized CLIP #2285

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

rockerBOO
Copy link
Contributor

I was wanting to test quantization for CLIP for use in WASM and wrote this for my own but wanted to upstream it.

For making the quantized version, I have a fork of clip.cpp which uses the hugging face keys to match the original model.

https://github.com/rockerBOO/clip.cpp/tree/hf-format

I am proposing this in a limited scope currently to gauge interest, but I can provide quantized models for testing if this PR is desired.

If anything needs updating or fixed, let me know.

Thank you.

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.

1 participant