Instructions to use zero0303/maya2-mlx-dynamic-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use zero0303/maya2-mlx-dynamic-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download zero0303/maya2-mlx-dynamic-8bit --local-dir maya2-mlx-dynamic-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download maya2_mlx/__init__.py from zero0303/maya2-mlx-dynamic-8bit: direct link, hf CLI and curl.
- Browser
- Download file 559 Bytes
-
https://huggingface.co/zero0303/maya2-mlx-dynamic-8bit/resolve/main/maya2_mlx/__init__.py
- Command line
-
hf download hf://zero0303/maya2-mlx-dynamic-8bit/maya2_mlx/__init__.py
-
curl -L -o __init__.py https://huggingface.co/zero0303/maya2-mlx-dynamic-8bit/resolve/main/maya2_mlx/__init__.py
559 Bytes
| """Maya 2 Native (maya-research/maya2-native) on MLX: named and plain voices. See ../NOTES.md and ../README.md.""" | |
| import os | |
| # The official engine runs its fp32 matmuls without TF32 (engine.py:155). MLX on the M5 runs fp32 matmuls and | |
| # convolution GEMMs in TF32-class precision unless this is 0 (the earlier ports' measured lesson). Only fp32 work is | |
| # affected here (the Mimi codec and the strict gates); a value already set by the caller is kept. | |
| os.environ.setdefault("MLX_ENABLE_TF32", "0") | |
| from .engine import Maya2 # noqa: E402 | |
| __all__ = ["Maya2"] | |