Skip to content

Commit

Permalink
Update onnxruntime-gpu version constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
omri374 authored Jan 6, 2025
1 parent e290c68 commit 779a8b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion presidio-analyzer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ transformers = { version = "*", optional = true }
huggingface_hub = { version = "*", optional = true }
gunicorn = {version = "*", optional = true}
onnxruntime-gpu = { version = "^1.19.1", python = ">=3.10", optional=true}
onnxruntime = { version = "^1.19.1", python = "<3.10", optional=true}
onnxruntime-gpu = { version = ">=1.18,<=1.18.1", python = "<3.10", optional=true}

[tool.poetry.extras]
server = ["flask", "gunicorn"]
Expand All @@ -58,6 +58,7 @@ azure-ai-language = [
gliner = [
"transformers",
"huggingface_hub",
"onnxruntime-gpu"
"gliner"
]

Expand Down

0 comments on commit 779a8b1

Please sign in to comment.