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 onnxruntime to requirements.txt #710

Closed
wants to merge 1 commit into from

Conversation

allenporter
Copy link

I am developing a vector search component for LLMs in a custom component using chromadb and getting this error:

2024-10-13 12:36:57.643 ERROR (SyncWorker_37) [homeassistant.util.package] Unable to install package chromadb>=0.5.9: × No solution found when resolving dependencies:
╰─▶ Because only the following versions of onnxruntime are available:
onnxruntime<=1.14.1
onnxruntime==1.15.0
onnxruntime==1.15.1
onnxruntime==1.16.0
onnxruntime==1.16.1
onnxruntime==1.16.2
onnxruntime==1.16.3
onnxruntime==1.17.0
onnxruntime==1.17.1
onnxruntime==1.17.3
onnxruntime==1.18.0
onnxruntime==1.18.1
onnxruntime==1.19.0
onnxruntime==1.19.2
and onnxruntime>=1.14.1 has no wheels with a matching Python ABI tag, we
can conclude that onnxruntime>=1.14.1,<1.15.0 cannot be used.
And because chromadb>=0.5.9 depends on onnxruntime>=1.14.1, we can
conclude that chromadb>=0.5.9 cannot be used.
And because only the following versions of chromadb are available:
chromadb<=0.5.9
chromadb==0.5.10
chromadb==0.5.11
chromadb==0.5.12
chromadb==0.5.13
and you require chromadb>=0.5.9, we can conclude that your requirements
are unsatisfiable.

I believe I interpret this to mean that having a wheel available can help this issue. This package upstream doesn't want to make wheels for all platforms: microsoft/onnxruntime#4489

@allenporter
Copy link
Author

Closing since it doesn't build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant