-
Notifications
You must be signed in to change notification settings - Fork 118
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
ONNX-GPU #60
ONNX-GPU #60
Conversation
You might want to add the |
Yes, I have done this in my personal package. Note that I stopped contributing here, as none of the PRs was getting attention. |
would be cool if this got merged... |
I have the following concerns before merging this PR:
|
I believe it would be beneficial to allow users to specify a list of providers. The My current workaround is as follows: embedding = FlagEmbedding()
embedding.model.model.set_providers(
["CUDAExecutionProvider", "CPUExecutionProvider"]
) |
It would be very, very cool if this got merged... |
would be very cool if this got merged! |
This PR aims to add optional GPU support, only if onnxruntime-gpu is installed. Reference: michaelfeil/infinity#26
Closes #52