Fedir Zadniprovskyi commited on
Commit
a388705
·
1 Parent(s): 80af0b9

deps: fix onnruntime-gpu constraint

Browse files
Files changed (2) hide show
  1. pyproject.toml +1 -1
  2. uv.lock +2 -2
pyproject.toml CHANGED
@@ -10,7 +10,7 @@ dependencies = [
10
  "huggingface-hub[hf-transfer]>=0.25.1",
11
  "kokoro-onnx>=0.2.2",
12
  "numpy>=2.1.1",
13
- "onnxruntime-gpu>=1.20.1 ; sys.platform != 'darwin'",
14
  "piper-phonemize ; platform_machine == 'x86_64'",
15
  "piper-tts>=1.2.0 ; platform_machine == 'x86_64'",
16
  "pydantic-settings>=2.5.2",
 
10
  "huggingface-hub[hf-transfer]>=0.25.1",
11
  "kokoro-onnx>=0.2.2",
12
  "numpy>=2.1.1",
13
+ "onnxruntime-gpu>=1.20.1 ; platform_machine == 'x86_64'",
14
  "piper-phonemize ; platform_machine == 'x86_64'",
15
  "piper-tts>=1.2.0 ; platform_machine == 'x86_64'",
16
  "pydantic-settings>=2.5.2",
uv.lock CHANGED
@@ -4439,7 +4439,7 @@ dependencies = [
4439
  { name = "huggingface-hub", extra = ["hf-transfer"] },
4440
  { name = "kokoro-onnx" },
4441
  { name = "numpy" },
4442
- { name = "onnxruntime-gpu", marker = "sys_platform != 'darwin'" },
4443
  { name = "piper-phonemize", marker = "platform_machine == 'x86_64'" },
4444
  { name = "piper-tts", marker = "platform_machine == 'x86_64'" },
4445
  { name = "pydantic" },
@@ -4509,7 +4509,7 @@ requires-dist = [
4509
  { name = "mkdocs-render-swagger-plugin", marker = "extra == 'dev'", specifier = ">=0.1.2" },
4510
  { name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" },
4511
  { name = "numpy", specifier = ">=2.1.1" },
4512
- { name = "onnxruntime-gpu", marker = "sys_platform != 'darwin'", specifier = ">=1.20.1" },
4513
  { name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" },
4514
  { name = "opentelemetry-distro", marker = "extra == 'opentelemetry'", specifier = ">=0.48b0" },
4515
  { name = "opentelemetry-exporter-otlp", marker = "extra == 'opentelemetry'", specifier = ">=1.27.0" },
 
4439
  { name = "huggingface-hub", extra = ["hf-transfer"] },
4440
  { name = "kokoro-onnx" },
4441
  { name = "numpy" },
4442
+ { name = "onnxruntime-gpu", marker = "platform_machine == 'x86_64'" },
4443
  { name = "piper-phonemize", marker = "platform_machine == 'x86_64'" },
4444
  { name = "piper-tts", marker = "platform_machine == 'x86_64'" },
4445
  { name = "pydantic" },
 
4509
  { name = "mkdocs-render-swagger-plugin", marker = "extra == 'dev'", specifier = ">=0.1.2" },
4510
  { name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" },
4511
  { name = "numpy", specifier = ">=2.1.1" },
4512
+ { name = "onnxruntime-gpu", marker = "platform_machine == 'x86_64'", specifier = ">=1.20.1" },
4513
  { name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" },
4514
  { name = "opentelemetry-distro", marker = "extra == 'opentelemetry'", specifier = ">=0.48b0" },
4515
  { name = "opentelemetry-exporter-otlp", marker = "extra == 'opentelemetry'", specifier = ">=1.27.0" },