fix: force onnxruntime-gpu over CPU + preload CUDA DLLs
This commit is contained in:
+4
-1
@@ -18,7 +18,7 @@ dependencies = [
|
||||
"insightface>=0.7.3",
|
||||
"nvidia-cudnn-cu12>=9.0.0",
|
||||
"numpy>=2.2.6",
|
||||
"onnxruntime-gpu==1.20.1",
|
||||
"onnxruntime-gpu>=1.23.2",
|
||||
"opencv-python-headless>=4.12.0.88",
|
||||
"pillow>=12.1.0",
|
||||
"python-dotenv>=1.2.1",
|
||||
@@ -35,6 +35,9 @@ if-curator = "if_curator.cli:main"
|
||||
[project.urls]
|
||||
Repository = "https://github.com/sudolulo/if_curator_headless"
|
||||
|
||||
[tool.uv]
|
||||
override-dependencies = ["onnxruntime-gpu>=1.23.2"]
|
||||
|
||||
[tool.uv.sources]
|
||||
torch = [
|
||||
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' and platform_machine == 'x86_64'" },
|
||||
|
||||
Reference in New Issue
Block a user