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
File size: 559 Bytes
23c283a | 1 2 3 4 5 6 7 8 9 10 11 12 | """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"]
|