Fix: Omitted consideration of macOS support
This commit is contained in:
@@ -73,7 +73,11 @@ packages = ["style_bert_vits2"]
|
|||||||
|
|
||||||
# for PyTorch inference
|
# for PyTorch inference
|
||||||
[tool.hatch.envs.test]
|
[tool.hatch.envs.test]
|
||||||
dependencies = ["coverage[toml]>=6.5", "pytest", "scipy"]
|
dependencies = [
|
||||||
|
"coverage[toml]>=6.5",
|
||||||
|
"pytest",
|
||||||
|
"scipy",
|
||||||
|
]
|
||||||
features = ["torch"]
|
features = ["torch"]
|
||||||
[tool.hatch.envs.test.scripts]
|
[tool.hatch.envs.test.scripts]
|
||||||
# Usage: `hatch run test:test`
|
# Usage: `hatch run test:test`
|
||||||
@@ -91,7 +95,13 @@ python = ["3.9", "3.10", "3.11"]
|
|||||||
|
|
||||||
# for ONNX inference (without PyTorch dependency)
|
# for ONNX inference (without PyTorch dependency)
|
||||||
[tool.hatch.envs.test-onnx]
|
[tool.hatch.envs.test-onnx]
|
||||||
dependencies = ["coverage[toml]>=6.5", "pytest", "scipy", "onnxruntime-gpu", "onnxruntime-directml; sys_platform == 'win32'"]
|
dependencies = [
|
||||||
|
"coverage[toml]>=6.5",
|
||||||
|
"pytest",
|
||||||
|
"scipy",
|
||||||
|
"onnxruntime-directml; sys_platform == 'win32'",
|
||||||
|
"onnxruntime-gpu; sys_platform != 'darwin'",
|
||||||
|
]
|
||||||
[tool.hatch.envs.test-onnx.scripts]
|
[tool.hatch.envs.test-onnx.scripts]
|
||||||
# Usage: `hatch run test-onnx:test`
|
# Usage: `hatch run test-onnx:test`
|
||||||
test = "pytest tests/test_main.py::test_synthesize_onnx_cpu"
|
test = "pytest tests/test_main.py::test_synthesize_onnx_cpu"
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ nltk<=3.8.1
|
|||||||
num2words
|
num2words
|
||||||
numpy<2
|
numpy<2
|
||||||
onnxruntime
|
onnxruntime
|
||||||
onnxruntime-gpu
|
onnxruntime-directml; sys_platform == 'win32'
|
||||||
|
onnxruntime-gpu; sys_platform != 'darwin'
|
||||||
# onnxsim
|
# onnxsim
|
||||||
# protobuf==4.25
|
# protobuf==4.25
|
||||||
psutil
|
psutil
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ nltk<=3.8.1
|
|||||||
num2words
|
num2words
|
||||||
numpy<2
|
numpy<2
|
||||||
onnxruntime
|
onnxruntime
|
||||||
onnxruntime-gpu
|
onnxruntime-directml; sys_platform == 'win32'
|
||||||
|
onnxruntime-gpu; sys_platform != 'darwin'
|
||||||
onnxsim
|
onnxsim
|
||||||
protobuf==4.25
|
protobuf==4.25
|
||||||
psutil
|
psutil
|
||||||
|
|||||||
Reference in New Issue
Block a user