Modern speech recognition with word-level timestamps and speaker diarization. Fork of WhisperX with torch 2.6+, pyannote 4.x compatibility.
Project description
MurmurAI
Modern speech recognition with word-level timestamps and speaker diarization
MurmurAI is a fork of WhisperX with modern dependency support:
- PyTorch 2.6+ compatibility (weights_only patches)
- Pyannote 4.x support (token parameter migration)
- Torchaudio 2.9+ compatibility (audio backend fixes)
- Python 3.10-3.13 tested
Features
- Word-level timestamps via phoneme alignment
- Speaker diarization with pyannote.audio
- Batch inference for 70x realtime transcription
- VAD preprocessing (pyannote or silero)
- Multiple output formats: SRT, VTT, TXT, TSV, JSON
Installation
pip install murmurai-core
Or with uv:
uv add murmurai-core
Quick Start
Python API
import murmurai
# Load model
model = murmurai.load_model("large-v3-turbo", device="cuda", compute_type="float16")
# Transcribe
audio = murmurai.load_audio("audio.mp3")
result = model.transcribe(audio, batch_size=16)
# Align (word-level timestamps)
model_a, metadata = murmurai.load_align_model(language_code=result["language"], device="cuda")
result = murmurai.align(result["segments"], model_a, metadata, audio, device="cuda")
# Diarization (speaker labels)
from pyannote.audio import Pipeline
diarize_model = Pipeline.from_pretrained("pyannote/speaker-diarization-3.1", use_auth_token="YOUR_HF_TOKEN")
diarize_segments = diarize_model(audio)
result = murmurai.assign_word_speakers(diarize_segments, result)
CLI
murmurai-core audio.mp3 --model large-v3-turbo --diarize --hf_token YOUR_TOKEN
Requirements
- NVIDIA GPU with CUDA support (or CPU mode)
- HuggingFace token for diarization models
Accept the license at pyannote/speaker-diarization-3.1 before using diarization.
Migration from WhisperX
# Before
import whisperx
# After
import murmurai # drop-in replacement
All APIs are identical. Just change the import.
Credits
MurmurAI builds on the excellent work of:
- WhisperX by Max Bain
- OpenAI Whisper
- Faster Whisper
- Pyannote
Made with ❤️ by Namastex Labs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file murmurai_core-1.0.1rc2.tar.gz.
File metadata
- Download URL: murmurai_core-1.0.1rc2.tar.gz
- Upload date:
- Size: 16.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b86fca2e381a2886a8a028c8fd51ff5c29d2503ae7625918b139b9a951460e6
|
|
| MD5 |
67db1f1ad570f4a89297219e01152e77
|
|
| BLAKE2b-256 |
3e45d8abcd437fc18af6103e40aeb60705e79859ba81c1c9a55717e65fd24121
|
File details
Details for the file murmurai_core-1.0.1rc2-py3-none-any.whl.
File metadata
- Download URL: murmurai_core-1.0.1rc2-py3-none-any.whl
- Upload date:
- Size: 16.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3b3bae7aa50cb49d1f21bfcb490d740d3425f4ceebe484c726042bec40d9ead
|
|
| MD5 |
e91d965aaa6cbbfaceb9d05f324168d1
|
|
| BLAKE2b-256 |
362ea60cc027e4e41322d4d41a1592b480ebe512ed77d5620ff10091342a35b4
|