Commit Graph

18 Commits

Author SHA1 Message Date
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