Removed onnxruntime (#4632)

### What problem does this PR solve?

Removed onnxruntime. It conflicts with the onnxruntime-gpu.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Zhichang Yu
2025-01-24 23:41:52 +08:00
committed by GitHub
parent 71c132f76d
commit 3c2c8942d5
2 changed files with 259 additions and 247 deletions

View File

@ -59,8 +59,8 @@ dependencies = [
"nltk==3.9.1",
"numpy>=1.26.0,<2.0.0",
"ollama==0.2.1",
"onnxruntime==1.19.2",
"onnxruntime-gpu==1.19.2",
"onnxruntime==1.19.2; sys_platform == 'darwin' or platform_machine == 'arm64'",
"onnxruntime-gpu==1.19.2; platform_machine == 'x86_64'",
"openai==1.45.0",
"opencv-python==4.10.0.84",
"opencv-python-headless==4.10.0.84",
@ -127,9 +127,10 @@ dependencies = [
[project.optional-dependencies]
full = [
"bcembedding>=0.1.5",
"fastembed>=0.3.6,<0.4.0",
"flagembedding>=1.2.10,<2.0.0",
"bcembedding==0.1.5",
"fastembed>=0.3.6,<0.4.0; sys_platform == 'darwin' or platform_machine == 'arm64'",
"fastembed-gpu>=0.3.6,<0.4.0; platform_machine == 'x86_64'",
"flagembedding==1.2.10",
"torch>=2.5.0,<3.0.0",
"transformers>=4.35.0,<5.0.0"
]