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

Added ORT/onnx support for loading models #2295

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

varunneal
Copy link

You can read about Optimum inference here: https://huggingface.co/docs/optimum/v1.2.1/en/onnxruntime/modeling_ort

This change is only a couple lines and will allow sentence-transformers to load models in a .onnx format.

@varunneal
Copy link
Author

Remark: you can test this PR against an existing onnx model, for example optimum/all-MiniLM-L6-v2.

@gustavz
Copy link

gustavz commented May 29, 2024

Hey @tomaarsen this would be a simple but great addition for anyone using ONNX quantized embeddings.
Please take it into consideration!

@gustavz
Copy link

gustavz commented Aug 8, 2024

ping @tomaarsen any chance we can get this in?

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