System Requirements
Python Version
Python 3.10, 3.11, 3.12, or 3.13
Operating System
Linux, macOS, or Windows
Hardware
CPU or CUDA-compatible GPU
Disk Space
1-30 GiB per model (depends on size)
System Dependencies
Omnilingual ASR is built on fairseq2, which requires libsndfile for audio support.- macOS
- Linux
- Windows
Install libsndfile using Homebrew:
Installing Omnilingual ASR
Choose your preferred installation method:Installation Options
- Basic
- Data Tools
- Development
Basic Installation (inference only):This installs the core dependencies:
fairseq2[arrow]- Core modeling frameworktorch- Deep learning frameworktorchaudio- Audio processingpyarrow- Data handling- Other core dependencies (numba, pandas, numpy, kenlm, polars)
Verifying Installation
Verify that Omnilingual ASR is installed correctly:GPU Support
For GPU acceleration, ensure you have PyTorch installed with CUDA support:Install PyTorch with CUDA
If CUDA is not available, install PyTorch with CUDA support:See PyTorch installation guide for more options.
GPU acceleration is highly recommended for faster inference, especially for larger models (3B, 7B).
Model Storage
Models are automatically downloaded on first use and stored in the fairseq2 asset cache:Model Download Sizes
| Model Family | 300M | 1B | 3B | 7B |
|---|---|---|---|---|
| W2V (SSL) | 1.2 GiB | 3.6 GiB | 12.0 GiB | 25.0 GiB |
| CTC | 1.3 GiB | 3.7 GiB | 12.0 GiB | 25.0 GiB |
| LLM | 6.1 GiB | 8.5 GiB | 17.0 GiB | 30.0 GiB |
Virtual Environment Setup
We recommend using a virtual environment to avoid dependency conflicts:- venv
- conda
- uv
Installing from Source
For development or to use the latest features:Docker Installation
For containerized environments:Dockerfile
Build and Run
Troubleshooting
ImportError: libsndfile not found
ImportError: libsndfile not found
Install libsndfile system dependency:macOS:
brew install libsndfileLinux: sudo apt-get install libsndfile1 (Ubuntu/Debian)Windows: See fairseq2 Windows guideCUDA version mismatch
CUDA version mismatch
Ensure your PyTorch CUDA version matches your system CUDA version:Reinstall PyTorch with matching CUDA version if needed.
Model download fails
Model download fails
If model downloads fail:
- Check your internet connection
- Verify you have write permissions to
~/.cache/fairseq2/assets/ - Try setting a custom cache directory with sufficient space:
Python version not supported
Python version not supported
Omnilingual ASR requires Python 3.10-3.13. Check your version:Install a supported Python version using your system package manager or pyenv.
Next Steps
Quick Start
Start transcribing audio files in minutes
Supported Languages
Explore the 1600+ supported languages
Model Selection
Choose the right model for your use case
API Reference
Explore the full API documentation