Commit Graph

60 Commits

Author SHA1 Message Date
Enno Hermann d4ffff4f6d chore: bump version to 0.25.0 2024-12-03 07:57:27 +01:00
Enno Hermann 834d41bf77 build: switch to forked coqpit 2024-12-03 07:56:08 +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 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 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 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 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
Enno Hermann 3e8125c99f ci: switch to cibuildwheel 2024-09-17 14:17:11 +02:00
Enno Hermann 0a18418286
build: allow numpy2, which should be supported in spacy 3.8 now (#81) 2024-09-13 12:12:14 +02:00
Enno Hermann 86b58fb6d9 fix: define torch safe globals for torch.load
Required for loading some models using torch.load(..., weights_only=True). This
is only available from Pytorch 2.4
2024-09-12 23:37:19 +02:00
Enno Hermann 7014782ad4 build: add upper bound for transformers
4.43.* broke XTTS streaming again
2024-08-05 10:28:03 +02:00
Enno Hermann b1558b06d7 build: require numpy<2 because spacy/thinc lack support 2024-08-05 10:27:14 +02:00
Enno Hermann d304ab2769 build: update gruut version for numpy2 support 2024-08-05 10:27:14 +02:00
Daniel Walmsley 20bbb411c2
fix(xtts): update streaming for transformers>=4.42.0 (#59)
* Fix Stream Generator on MacOS

* Make it work on mps

* Implement custom tensor.isin

* Fix for latest TF

* Comment out hack for now

* Remove unused code

* build: increase minimum transformers version

* style: fix

---------

Co-authored-by: Enno Hermann <Eginhard@users.noreply.github.com>
2024-07-25 16:24:10 +02:00
Enno Hermann de35920317
Merge pull request #50 from idiap/umap
build: move umap-learn into optional notebook dependencies
2024-07-25 13:26:09 +01:00
Enno Hermann 8cab2e3b4e ci: test lowest and highest compatible versions of dependencies 2024-06-29 17:33:33 +02:00
Enno Hermann 808a938171 build: specify minimum versions for dependencies 2024-06-29 17:33:33 +02:00
Enno Hermann c693b08830 build: update trainer to 0.1.4 2024-06-29 15:07:08 +02:00
Enno Hermann 59ef28d708 build: move umap-learn into optional notebook dependencies
Except for notebooks, it's only used to show embedding plots during speaker
encoder training, in which case a warning is now shown to install it.
2024-06-26 23:53:17 +02:00
Enno Hermann 4b6da4e7ba refactor(stream_generator): update special tokens for transformers>=4.41.1
Fixes #31. The handling of special tokens in `transformers` was changed in
https://github.com/huggingface/transformers/pull/30624 and
https://github.com/huggingface/transformers/pull/30746. This updates the XTTS
streaming code accordingly.
2024-06-17 09:52:35 +02:00
Enno Hermann 4bc0e75a08 build: add numpy2 support
Identified necessary code changes with the NPY201 ruff rule. Gruut is the only
dependency that doesn't support numpy2 yet.

NB: At build time numpy>=2.0.0 should be required to be able to build wheels
compatible with both numpy1+2:
https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling
2024-06-16 22:10:33 +02:00
Enno Hermann 03430de88e chore: bump version to 0.24.1 2024-05-29 09:57:55 +02:00
Enno Hermann dc629f825d build: set upper version limit for transformers
transformers>=4.41 break XTTS streaming, see #31
2024-05-28 12:29:42 +02:00
Enno Hermann 602325021b chore: update version to 0.24.0
[ci skip]
2024-05-16 18:05:51 +02:00
Enno Hermann 865a48156d fix: make korean g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 55ed162f2a fix: make chinese g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann ea893c3795 fix: make bangla g2p deps optional 2024-05-08 18:08:40 +02:00
Enno Hermann 4f2eff418e chore: enable ruff rules that already pass 2024-05-08 18:08:40 +02:00
Enno Hermann 0504ae3a02 ci: add script to automatically generate requirements.dev.txt
Having this file is still useful to allow installing *only* dev requirements
(e.g. in CI) with:
  pip install -r requirements.dev.txt

Generate that file automatically from the pyproject.toml based on:
e7c6baf00f/tools/generate_requirements.py
2024-05-08 12:17:47 +02:00
Enno Hermann 8d2a562c59 build: move dependencies into pyproject.toml 2024-05-08 12:17:45 +02:00
Enno Hermann fb92e13ebb build: remove unused/obsolete code 2024-05-08 12:13:41 +02:00
Enno Hermann 259d8fc40b build: store version in pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann f4cacd7b7c build: move metadata from setup.py to pyproject.toml 2024-05-07 18:27:55 +02:00
Enno Hermann 962f9bbbcf refactor(espeak_wrapper): fix ruff lint suggestions 2024-05-01 13:31:39 +02:00
Enno Hermann 31a9201639 ci: combine coverage reports
Based on https://hynek.me/articles/ditch-codecov-python/
2024-03-11 14:26:42 +01:00
Enno Hermann 1961687a18 build: update to ruff 0.3.0 2024-03-06 13:40:56 +01:00
Enno Hermann 39149ef564 build: remove isort
Import sorting now handled by ruff.
2024-03-06 13:37:45 +01:00
Aarni Koskela 8e95c3e436 Convert pylint configuration to ruff
With https://github.com/akx/pylint-to-ruff
2023-12-13 14:56:41 +02:00
Eren Gölge e39da6147f
Merge pull request #2999 from akx/remove-unnecessary-black-config
Remove unnecessary black exclude config
2023-09-27 09:43:06 +02:00
Aarni Koskela 8bb2d652ca pyproject.toml: loosen dependencies to avoid building from source 2023-09-26 20:41:26 +03:00
Aarni Koskela 94c5fd0765 Remove unnecessary black exclude config
It seems to have been copy-pasted from the Black docs.
2023-09-26 16:02:55 +03:00