Instructions to use tinytrashlabs/LuxTTS-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use tinytrashlabs/LuxTTS-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download tinytrashlabs/LuxTTS-mlx --local-dir LuxTTS-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from tinytrashlabs/LuxTTS-mlx: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/tinytrashlabs/LuxTTS-mlx/resolve/main/README.md
- Command line
-
hf download hf://tinytrashlabs/LuxTTS-mlx/README.md
-
curl -L -o README.md https://huggingface.co/tinytrashlabs/LuxTTS-mlx/resolve/main/README.md
1.78 kB
| license: apache-2.0 | |
| language: | |
| - en | |
| pipeline_tag: text-to-speech | |
| tags: | |
| - mlx | |
| - text-to-speech | |
| - voice-cloning | |
| - apple-silicon | |
| base_model: YatharthS/LuxTTS | |
| # LuxTTS β MLX weights (fp32) | |
| [LuxTTS](https://huggingface.co/YatharthS/LuxTTS) converted to MLX-native | |
| safetensors, for Apple silicon. Same model, same precision β a key-remap and a | |
| conv-layout transpose, nothing retrained and nothing quantized. | |
| Upstream ships `model.pt` (torch) and ONNX graphs. Neither loads in MLX, so | |
| every MLX consumer had to run the conversion itself and keep the result | |
| somewhere local. This repo is that result, published once. | |
| ## Files | |
| | File | Size | | | |
| |---|---|---| | |
| | `lux_model.safetensors` | 468 MB | ZipVoiceDistill β fm_decoder + text_encoder + embeddings | | |
| | `lux_vocoder.safetensors` | 61 MB | Vocos vocoder, MLX conv layout | | |
| | `config.json` | β | model dimensions, 24 kHz feature config | | |
| | `tokens.txt` | β | phoneme vocabulary | | |
| fp32 on purpose. fp16 halves the download and is indistinguishable on a long, | |
| clean reference β and audibly worse on a short one. Blind A/B on a clone made | |
| from an 8-second phone recording: 4 of 8 fp16 renders had artefacts a listener | |
| rejected, against 0 of 8 at fp32. If you are cloning from short user | |
| recordings, use these. | |
| ## Use | |
| ```swift | |
| // EngineKit (Gloam Voice Studio) | |
| let model = try await LuxSpeechModel.load(from: weightsDirectory) | |
| ``` | |
| The directory needs all four files side by side. | |
| ## Provenance and license | |
| Converted from [YatharthS/LuxTTS](https://huggingface.co/YatharthS/LuxTTS), | |
| Apache-2.0, which this repo inherits. The vocoder is | |
| [Vocos](https://github.com/gemelo-ai/vocos). Conversion and publication by | |
| [Tiny Trash Labs](https://tinytrashlabs.com) for | |
| [Gloam Voice Studio](https://gloam.fm/studio). | |