ONNXRuntime for embeddings task #3135
Unanswered
allegro-lukasz-dragan
asked this question in
Questions
Replies: 2 comments 3 replies
-
Hi @allegro-lukasz-dragan , can you please create an issue for this? I am not familiar with this particular feature, but I'll take a look. Can you create an isolated minima use-case to demonstrate this (colab perhaps)? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @allegro-lukasz-dragan, which model did you convert_to_onnx? Can you provide the haystack-poc/main.py snippet? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm trying to create
EmbeddingRetriever
using ONNX model created previously withAdaptiveModel.convert_to_onnx
.Having called
I receive:
It looks like
ONNXAdaptiveModel
is not compatible withInferencer
withembeddings
task even though it is passed toInferencer
__init__
by the library itself.Am I doing something wrong or is ONNX in
embeddings
task currently not supported? If so, are you planning to support it in the future? I think it is not very clear now.Beta Was this translation helpful? Give feedback.
All reactions