Commit Graph

4916 Commits

Author SHA1 Message Date
Enno Hermann 7cdfde226b refactor: move amp_to_db/db_to_amp into torch_transforms 2024-11-23 01:04:17 +01:00
Enno Hermann 33ac0d6ee1 refactor(xtts): use build_hf_gpt_transformer from tortoise 2024-11-21 15:44:42 +01:00
Enno Hermann 490c973371 refactor(xtts): use position embedding from tortoise 2024-11-21 15:44:42 +01:00
Enno Hermann 5ffc0543b7 refactor(bark): remove custom layer norm
Pytorch LayerNorm supports bias=False since version 2.1
2024-11-21 15:44:42 +01:00
Enno Hermann 705551c60c refactor(tortoise): remove unused do_checkpoint arguments
These are assigned but not used for anything.
2024-11-21 15:44:42 +01:00
Enno Hermann 4ba83f42ab chore(tortoise): remove unused AudioMiniEncoder
There's one in tortoise.classifier that's actually used
2024-11-21 15:44:42 +01:00
Enno Hermann 66701e1e51 refactor(xtts): reuse functions/classes from tortoise 2024-11-21 12:51:42 +01:00
Enno Hermann 1f27f994a1 refactor(utils): remove duplicate set_partial_state_dict 2024-11-21 11:53:35 +01:00
Enno Hermann 1b6d3ebd33 refactor(xtts): remove duplicate hifigan generator 2024-11-21 11:53:35 +01:00
Enno Hermann 9035e36b1f
ci: allow testing out trainer/coqpit branches before release (#168) 2024-11-20 16:34:58 +01:00
Enno Hermann 312593e119
Merge pull request #166 from idiap/error-messages
Automatically convert audio to mono, add more helpful error messages
2024-11-20 11:21:28 +01:00
Enno Hermann fbbae5ac6a refactor(audio): remove duplicate rms_volume_norm function 2024-11-18 10:01:52 +01:00
Enno Hermann 8ba3233ec6 refactor(audio): remove duplicate save_wav code 2024-11-18 10:01:50 +01:00
Enno Hermann 5784f6705a refactor(audio): improve type hints, address lint issues 2024-11-18 10:00:55 +01:00
Enno Hermann 48f5be2ccb feat(audio): automatically convert audio to mono 2024-11-18 01:11:43 +01:00
Enno Hermann 627bbe4150 fix(xtts): more helpful error message when vocab.json not found 2024-11-17 00:30:32 +01:00
Enno Hermann e81f8d079c fix: more helpful error message when formatter is not found 2024-11-17 00:29:49 +01:00
Andy 75d082563e
fix(docker): add Support for building Docker on Mac/arm64 (#159)
* Add Support for building Docker on arm64

* fixup! Add Support for building Docker on arm64

---------

Co-authored-by: Enno Hermann <enno.hermann@idiap.ch>
2024-11-14 16:06:56 +01:00
Enno Hermann b5bd9953c7
Merge pull request #149 from idiap/cache-models
Show original model URLs
2024-11-11 13:24:56 +01:00
Enno Hermann d3c3ba3d56 build: set upper limit on transformers
More breaking changes affecting the XTTS streaming code
2024-11-10 22:58:37 +01:00
Enno Hermann 5de47e9a14 ci: run integration tests only on lowest and highest python 2024-11-10 22:39:58 +01:00
Enno Hermann 993da778b4 chore: use original instead of scarf urls
These allowed Coqui to get download stats, which we don't need anymore
2024-11-10 22:19:25 +01:00
Enno Hermann 21172ececb ci: update uv and move into composite action 2024-11-10 22:19:18 +01:00
Enno Hermann 2df9bfa78e
refactor: handle deprecation of torch.cuda.amp.autocast (#144)
torch.cuda.amp.autocast(args...) and torch.cpu.amp.autocast(args...) will be
deprecated. Please use torch.autocast("cuda", args...) or torch.autocast("cpu",
args...) instead.

https://pytorch.org/docs/stable/amp.html
2024-11-09 18:37:08 +01:00
Shavit 540e8d6cf2
fix(bin.synthesize): return speakers names only (#147) 2024-11-09 18:35:54 +01:00
Enno Hermann e18f7da973
Merge pull request #135 from idiap/mas
Use external package for monotonic alignment search
2024-11-08 16:15:52 +01:00
Enno Hermann 683ee664a8 ci: simplify release, cibuildwheel not needed anymore 2024-11-08 12:35:04 +01:00
Enno Hermann d30eba573e chore: remove obsolete code owners file 2024-11-08 12:35:04 +01:00
Enno Hermann 9dd7ae6cca build: switch to hatch
Setuptools is not needed anymore because the Cython extension is now built in an
external package.
2024-11-08 12:35:04 +01:00
Enno Hermann 0971bc236e refactor: use external package for monotonic alignment 2024-11-08 12:35:04 +01:00
Enno Hermann 59996fffa3
Merge pull request #133 from idiap/docs
build: move doc dependencies from extra into group and build with uv
2024-11-06 11:53:48 +01:00
Enno Hermann 020a72434e ci(readthedocs): build docs with uv
Based on:
7c5143848f/docs/user/build-customization.rst (install-dependencies-with-uv)
2024-11-06 10:53:04 +01:00
Enno Hermann ef8158d281 build: use group not extra for docs dependencies 2024-11-06 10:06:20 +01:00
Enno Hermann 45b8b5b3c3
build: set upper version limit for trainer (#130) 2024-11-05 23:34:41 +01:00
Enno Hermann 6314032fd7
Merge pull request #113 from idiap/pytorch
fix: only enable load with weights_only in pytorch>=2.4
2024-11-04 22:14:42 +01:00
Enno Hermann f6a4d5e469 chore: bump version to 0.24.3
[ci skip]
2024-11-04 19:04:48 +01:00
Enno Hermann ce5c492518 ci: simplify ci by using uv where possible 2024-11-04 18:39:51 +01:00
Enno Hermann 8e66be2c32 fix: only enable load with weights_only in pytorch>=2.4
Allows moving the minimum Pytorch version back to 2.1
2024-11-04 18:39:51 +01:00
Enno Hermann 47ad0bf190
fix(text.characters): add nasal diacritic (#127) 2024-11-04 17:40:23 +01:00
Enno Hermann 88de5c4f9b
Merge pull request #114 from idiap/gpt-warnings
fix(gpt): set attention mask and address other warnings
2024-10-26 16:47:34 +02:00
Enno Hermann 964b813235 fix(gpt): set attention mask and address other warnings 2024-10-25 18:49:04 +02:00
Enno Hermann b66c782931
Merge pull request #109 from idiap/transformers
Add compatibility with transformers>=4.43
2024-10-21 22:40:51 +02:00
Enno Hermann ad435b5440 build: again restrict to numpy<2
Some parts of spacy/thinc are still causing issues
2024-10-20 15:20:27 +02:00
Enno Hermann a510ec3b68 build(uv): add constraint on numba to avoid resolution error
Otherwise it backtracks to an old numba and then llvmlite version that can't be
built:
https://github.com/astral-sh/uv/issues/6281
2024-10-20 15:20:27 +02:00
Johnny Street 018d4ba1db fix(xtts): support transformers>=4.43.0 in streaming inference 2024-10-20 15:20:26 +02:00
Enno Hermann 073f8de652
Merge pull request #95 from idiap/cibuildwheel
ci(release): switch to cibuildwheel
2024-10-04 14:18:26 +02:00
Enno Hermann 6c2e0be0b6 chore: bump version to 0.24.2 2024-10-04 12:28:52 +02:00
Kolja Beigel f75d0952f1
fix(build): restrict spacy version to unbreak installation (#92)
* Update pyproject.toml

* Update pyproject.toml

* Update pyproject.toml

* Update pyproject.toml

* build: simplify requirement restrictions

---------

Co-authored-by: Enno Hermann <enno.hermann@idiap.ch>
2024-10-04 12:02:59 +02:00
Shavit 36611a7192
feat: normalize unicode characters in text cleaners (#85)
* Add normalizer type C to text cleaners

* Linter recommendations

* Add unicode normalize to every cleaner

* Format test_text_cleaners.py
2024-10-02 17:01:19 +02:00
Enno Hermann 3e8125c99f ci: switch to cibuildwheel 2024-09-17 14:17:11 +02:00