voxtral.c
Pure C inference of Mistral Voxtral Realtime 4B speech to text model
File Explorer
Download Latest Version (.zip)- 15s_there_are_two_of_them_out_there.txt
- 15s_there_are_two_of_them_out_there.wav
- 45s_right_through_the_billboard.txt
- 45s_right_through_the_billboard.wav
- 5s_dont_worry_about_him.txt
- 5s_dont_worry_about_him.wav
- 60s_i_dont_want_anyones_life_on_my_hands.txt
- 60s_i_dont_want_anyones_life_on_my_hands.wav
- 89s_ill_come_back_down_as_soon_as.txt
- 89s_ill_come_back_down_as_soon_as.wav
- antirez_speaking_italian_short.ogg
- demo.gif
- I_have_a_dream.ogg
- jfk.wav
- test_speech.wav
- .gitignore
- benchmark.py
- CLAUDE.md
- download_model.sh
- inspect_weights.c
- LICENSE
- main.c
- Makefile
- MODEL.md
- python_simple_implementation.py
- README.md
- runtest.sh
- SPEED.md
- voxtral.c
- voxtral.h
- voxtral_audio.c
- voxtral_audio.h
- voxtral_decoder.c
- voxtral_encoder.c
- voxtral_kernels.c
- voxtral_kernels.h
- voxtral_metal.h
- voxtral_metal.m
- voxtral_mic.h
- voxtral_mic_macos.c
- voxtral_safetensors.c
- voxtral_safetensors.h
- voxtral_shaders.metal
- voxtral_tokenizer.c
- voxtral_tokenizer.h
# Installation Guide
git clone https://github.com/antirez/voxtral.c
Downloads the entire project code from GitHub to your computer.
cd voxtral.c
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
- APT (Debian/Ubuntu ๊ณ์ด) Built into Debian/Ubuntu-based Linux distributions.
pip install torch safetensors soundfile soxr
Installs the package published on PyPI directly โ no need to clone the source.
sudo apt install libopenblas-dev
Installs directly from the APT package repository (Debian/Ubuntu-based).
Pulled directly from this repo's README.
3. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make mps # Apple Silicon (fastest)
Compiles the code based on the generated build configuration to produce an executable.
make # Show available backends
Compiles the code based on the generated build configuration to produce an executable.
make blas # BLAS acceleration (Accelerate on macOS, OpenBLAS on Linux)
Compiles the code based on the generated build configuration to produce an executable.
make mps # Apple Silicon Metal GPU (fastest, macOS only)
Compiles the code based on the generated build configuration to produce an executable.
make clean # Clean build artifacts
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
