e2tts-mlx: Embarrassingly Easy Fully Non-Autoregressive Zero-Shot TTS in MLX
A lightweight implementation of Embarrassingly Easy Fully Non-Autoregressive Zero-Shot TTS model using MLX, with minimal dependencies and efficient computation on Apple Silicon.
Quick Start
Install
# Quick install (note: PyPI version may not always be up to date)
pip install e2tts-mlx
# For the latest version, you can install directly from the repository:
# git clone https://github.com/JosefAlbers/e2tts-mlx.git
# cd e2tts-mlx
# pip install -e .
Usage
To use a pre-trained model for text-to-speech:
e2tts 'We must achieve our own salvation.'
This will write tts_0.wav to the current directory, which you can then play.
https://github.com/user-attachments/assets/89265113-0785-42f1-b867-c38c886acbef
To train a new model with default settings:
e2tts
To train with custom options:
e2tts --batch_size=16 --n_epoch=100 --lr=1e-4 --depth=8 --n_ode=32
Select training options:
--batch_size: Set the batch size (default: 32)--n_epoch: Set the number of epochs (default: 200)--lr: Set the learning rate (default: 2e-4)--depth: Set the model depth (default: 8)--n_ode: Set the number of steps for sampling (default: 1)
Acknowledgements
Thanks to lucidrains' fantastic code that inspired this project.
License
Apache License 2.0
Metadata
Release files for e2tts-mlx 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| e2tts_mlx-0.0.4.tar.gz | 8.6 kB | Without provenance | Details for e2tts_mlx-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| e2tts_mlx-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for e2tts_mlx-0.0.4-py3-none-any.whl |
Total release size: 17.1 kB
Release files / e2tts_mlx-0.0.4.tar.gz
| Download URL | e2tts_mlx-0.0.4.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e49e1f8e43baeedd6b99ad372b48edcd6f900b27d485a80152eb699db422b47
|
|
BLAKE2b-256 checksum How to use checksums |
4540486fb5545eb910c2e9ee728efcecf4f96460fb41195d99dcb1165b23de32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / e2tts_mlx-0.0.4-py3-none-any.whl
| Download URL | e2tts_mlx-0.0.4-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9618f50f4478e23f991b484afab0d9d357cd56ac9fa477ee4e4ab7f8af981ee6
|
|
BLAKE2b-256 checksum How to use checksums |
aefe8f7b0435eb995690cbd659bbda31c64aa1848339cfab3fc8fa46599619b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for e2tts-mlx 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.