Skip to content

Commit 9c0339b

Browse files
committed
Add source for onnxruntime-gpu cuda 12 support
Signed-off-by: declark1 <[email protected]>
1 parent 8aa6700 commit 9c0339b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

server/pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ texttable = { version = "^1.7.0", optional = true }
2424
transformers = "4.38.2"
2525
optimum = { version = "^1.17.1", extras = ["onnxruntime-gpu"], optional = true }
2626
onnxruntime = { version = "^1.17.1", optional = true }
27-
onnxruntime-gpu = { version = "^1.17.1", optional = true }
27+
onnxruntime-gpu = { version = "^1.17.1", source = "onnxruntime-gpu-src", optional = true }
2828
onnx = { version = "^1.15.0", optional = true }
2929
einops = "^0.7.0"
3030
ibm-fms = { version = "^0.0", optional = true }
@@ -51,6 +51,12 @@ quantize = ["datasets", "texttable"]
5151
grpcio-tools = "^1.62.1"
5252
pytest = "^8.0.1"
5353

54+
55+
[[tool.poetry.source]]
56+
name = "onnxruntime-gpu-src"
57+
url = "https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/onnxruntime-cuda-12/pypi/simple/"
58+
priority = "explicit"
59+
5460
[build-system]
5561
requires = ["poetry-core>=1.0.0"]
5662
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)