Commit Graph

26 Commits

Author SHA1 Message Date
tsukumi
d935d30e4c Add: test code for CoreMLExecutionProvider on a trial basis
Currently ONNXRuntime's CoreML support is not very good, and on my environment, I get errors like “coreml_execution_provider.cc:192 operator() Input (/sdp/flows.3/GatherND_2_output_0) has a dynamic shape ({-1,-1}) but the runtime shape ({0,10}) has zero elements. This is not supported by the CoreML EP.” and inference fails.
I hope this will be fixed in a future version of ONNXRuntime, and leave the test code as it is.
2024-09-23 21:07:27 +09:00
tsukumi
53777e315e Fix: Log in real time during pytest execution 2024-09-23 11:39:10 +09:00
tsukumi
f9607ad891 Fix: Omitted consideration of macOS support 2024-09-23 11:10:41 +09:00
tsukumi
f21f6435ad Improve: Add test code for ONNX inference with DmlExecutionProvider 2024-09-23 10:54:29 +09:00
tsukumi
eb5d245903 Add: Test for ONNX inference code (without PyTorch dependency) 2024-09-23 10:04:02 +09:00
tsukumi
fe253611d3 Fix: nltk to 3.8.1 or lower
Due to reports that updating nltk to 3.8.2 or later significantly slows down learning, including English.
2024-09-23 06:22:47 +09:00
tsukumi
b95420325b Improve: Changed PyTorch to an optional dependency when used style_bert_vits2 as a library
ONNXRuntime has relied on CUDA 12.x / cuDNN 9.x by default since v1.19.0, while PyTorch finally supports cuDNN 9 since v2.4.0.
Therefore, unless the pinning of torch<2.4 is eliminated, CUDA cannot be used with the latest version of ONNXRuntime.
2024-09-17 17:56:59 +09:00
tsukumi
eede796c4e Add: Preparation for ONNX inference support ① 2024-09-17 06:53:11 +09:00
tsukumi
80dd6dbc22 Improve: Use the device_map option in transformers to load BERT models directly to the GPU 2024-09-17 05:22:06 +09:00
tsukumi
bdf20e8911 Refactor: Use bert_models.transfer_model() 2024-09-17 05:21:03 +09:00
tsukumi
40d7ba9583 Fix: tests fail because scipy is not installed in the test environment 2024-09-17 05:19:21 +09:00
litagin02
7880659d4a Docs 2024-05-26 08:00:32 +09:00
litagin02
2274087da4 Fmt only (maybe) 2024-05-25 18:15:36 +09:00
tsukumi
aa0f9308b1 Refactor: remove dependencies on libraries not required for style_bert_vits2 as a library
librosa: Originally not used under style_bert_vits2/.
pyannote.audio: Required only when using the "infer style vector from audio" function during inference, but it is currently almost unused.
scipy: Because it was used in only one utility function that was not needed outside of training.
2024-04-25 00:31:14 +00:00
tsukumi
28f254f449 Improve: remove Gradio dependency from style_bert_vits2 as a library 2024-04-23 05:45:11 +00:00
litagin02
14c6805337 Update hatch setting and fmt 2024-03-15 21:36:53 +09:00
tsukumi
c4d6a8cdb7 Fix: large number of unnecessary files in built sdist
Include in sdist only the minimum required files for style-bert-vits2 as a library.
2024-03-12 18:45:54 +00:00
tsukumi
07d246b98b Refactor: run "hatch run style:fmt" 2024-03-12 18:27:08 +00:00
litagin02
69225a3e13 Style 2024-03-12 21:47:59 +09:00
tsukumi
be265d42ed Improve: switch pyworld to pyworld-prebuilt and enable it by default
Prebuilt wheels for almost every OS/architecture (except musl) are now available on PyPI, eliminating the need for a build environment.
ref: https://pypi.org/project/pyworld-prebuilt/
2024-03-10 18:11:15 +00:00
tsukumi
733a9d838d Fix: clearly include Pydantic v2 in the dependencies
The Pydantic models in the library are written for Pydantic v2 and will not work with Pydantic v1.
2024-03-10 15:38:08 +00:00
tsukumi
84b1dbe1b5 Fix: problem with test failures
Style-Bert-VITS2 has been reported to not work with some PyTorch 2.2 series, but Python 3.12 is only supported in Torch >= 2.2, so Python 3.12 support is not provided for the time being
2024-03-10 10:48:21 +00:00
tsukumi
afff154da4 Add: test code for style-bert-vits2 as a library
By executing "hatch run test:test", you can check whether the test passes in all Python 3.9 to 3.12 environments.
2024-03-10 04:18:39 +00:00
tsukumi
a79b1910fb Add: use hatch to build style-bert-vits2 as a library 2024-03-09 18:38:16 +00:00
tsukumi
4a3519c4b9 Remove: Ruff
I have determined that this is excessive for this project at this time.
2024-03-08 05:51:54 +00:00
tsukumi
4d5c537f95 Refactor: introducing Ruff 2024-03-08 05:02:02 +00:00