

deps: fix onnruntime-gpu constraint
@a6c3b861cd46901510a3f86f0d26bea00eab7fe9
--- pyproject.toml
+++ pyproject.toml
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 |
"huggingface-hub[hf-transfer]>=0.25.1", |
11 | 11 |
"kokoro-onnx>=0.2.2", |
12 | 12 |
"numpy>=2.1.1", |
13 |
- "onnxruntime-gpu>=1.20.1 ; sys.platform != 'darwin'", |
|
13 |
+ "onnxruntime-gpu>=1.20.1 ; platform_machine == 'x86_64'", |
|
14 | 14 |
"piper-phonemize ; platform_machine == 'x86_64'", |
15 | 15 |
"piper-tts>=1.2.0 ; platform_machine == 'x86_64'", |
16 | 16 |
"pydantic-settings>=2.5.2", |
--- uv.lock
+++ uv.lock
... | ... | @@ -4439,7 +4439,7 @@ |
4439 | 4439 |
{ name = "huggingface-hub", extra = ["hf-transfer"] }, |
4440 | 4440 |
{ name = "kokoro-onnx" }, |
4441 | 4441 |
{ name = "numpy" }, |
4442 |
- { name = "onnxruntime-gpu", marker = "sys_platform != 'darwin'" }, |
|
4442 |
+ { name = "onnxruntime-gpu", marker = "platform_machine == 'x86_64'" }, |
|
4443 | 4443 |
{ name = "piper-phonemize", marker = "platform_machine == 'x86_64'" }, |
4444 | 4444 |
{ name = "piper-tts", marker = "platform_machine == 'x86_64'" }, |
4445 | 4445 |
{ name = "pydantic" }, |
... | ... | @@ -4509,7 +4509,7 @@ |
4509 | 4509 |
{ name = "mkdocs-render-swagger-plugin", marker = "extra == 'dev'", specifier = ">=0.1.2" }, |
4510 | 4510 |
{ name = "mkdocstrings", extras = ["python"], marker = "extra == 'dev'", specifier = ">=0.26.1" }, |
4511 | 4511 |
{ name = "numpy", specifier = ">=2.1.1" }, |
4512 |
- { name = "onnxruntime-gpu", marker = "sys_platform != 'darwin'", specifier = ">=1.20.1" }, |
|
4512 |
+ { name = "onnxruntime-gpu", marker = "platform_machine == 'x86_64'", specifier = ">=1.20.1" }, |
|
4513 | 4513 |
{ name = "openai", marker = "extra == 'ui'", specifier = ">=1.48.0" }, |
4514 | 4514 |
{ name = "opentelemetry-distro", marker = "extra == 'opentelemetry'", specifier = ">=0.48b0" }, |
4515 | 4515 |
{ name = "opentelemetry-exporter-otlp", marker = "extra == 'opentelemetry'", specifier = ">=1.27.0" }, |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?