Instructions to use mlx-community/OmniVoice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/OmniVoice with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir OmniVoice mlx-community/OmniVoice
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
FileNotFoundError: [Errno 2] No such file or directory: './config.json'
2026-05-16 04:35:01,327 INFO [infer_mlx.py:55] Loading MLX model from . ...
Traceback (most recent call last):
File "/Users/shazi/Practice/voice-generate/.venv/bin/omnivoice-infer-mlx", line 10, in
sys.exit(main())
^^^^^^
File "/Users/shazi/Practice/voice-generate/.venv/lib/python3.12/site-packages/omnivoice/cli/infer_mlx.py", line 56, in main
model = OmniVoiceMLX.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shazi/Practice/voice-generate/.venv/lib/python3.12/site-packages/omnivoice/mlx/omnivoice.py", line 292, in from_pretrained
config = MLXOmniVoiceConfig.from_pretrained(resolved_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/shazi/Practice/voice-generate/.venv/lib/python3.12/site-packages/omnivoice/mlx/omnivoice.py", line 105, in from_pretrained
with open(os.path.join(model_path, "config.json"), encoding="utf-8") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './config.json'