Audio & MusicOpen source codepyannote/pyannote-audio

pyannote-audio: Open Source AI Repository & Self-Hosting Guide

Open-source PyTorch neural toolkit for speaker diarization, voice activity detection, and overlapped speech segmentation in multi-speaker audio.

GitHub Stars
10,871 stars
Repository License
MIT
Last Push (UTC)
Dec 3, 2026
Check the repo's license. Model weights may have a different license.
git clone https://github.com/pyannote/pyannote-audio.git
View on GitHub
Installpip install pyannote.audio

pyannote-audio: Architecture & Practical Workflow

pyannote-audio builds end-to-end neural segmentation and speaker embedding clustering pipelines (available via Hugging Face model gates) to pinpoint exactly when Speaker A vs. Speaker B talks across noisy meetings, call centers, or podcasts.

Recommended End-to-End Pipeline

Run pyannote speaker-diarization-3.1 alongside faster-whisper (or bundled inside WhisperX) to emit clean speaker-attributed interview transcripts.

Runtime Target
Self-Hosted / Python (GitHub)
Primary Users
Developers, Meeting and interview transcripts
Code License
MIT
Focus Topics
open-source, github, diarization, speech, self-hosted

Quick Setup & Installation Steps

Platform target: Self-Hosted / Python (GitHub). Always verify environment variables and dependencies in the upstream repository README.

  1. 1Clone the repository from GitHub: `git clone https://github.com/pyannote/pyannote-audio.git && cd pyannote-audio`.
  2. 2Review the MIT license (Check the repo's license. Model weights may have a different license.) and note any separate terms on external model weights.
  3. 3Install or launch the project directly: `pip install pyannote.audio` (use an isolated Python virtualenv, Node workspace, or Docker volume so dependencies remain clean).
  4. 4Validate end-to-end behavior with a small sample input (Run pyannote speaker-diarization-3.1 alongside faster-whisper (or bundled inside WhisperX) to emit clean speaker-attributed interview transcripts.)

Hardware & VRAM Notes

Designed primarily for local or cloud GPU acceleration. Model weight size and batch resolution directly determine memory usage.

GPU & VRAM

CUDA-capable GPU or Apple Silicon (MPS) recommended for fast inference; smaller quantized checkpoints reduce VRAM pressure.

System RAM & Storage

16 GB–32 GB system RAM recommended plus 10 GB–40 GB free SSD space for container images, Python dependencies, and model weights.

Runtime Target

Self-Hosted / Python (GitHub)

Strengths & Best For

  • Speaker diarization
  • Pretrained pipelines
  • Works alongside speech recognition
  • Best suited for: Developers, Meeting and interview transcripts

Limitations & Caveats

  • Some pretrained models may require accepting terms on Hugging Face
  • Python knowledge needed
  • Check the repo's license. Model weights may have a different license.

3 Similar Tools on /tools (Audio)

Prefer a hosted web app instead of managing local weights or Docker containers? Explore these cloud alternatives.

Browse all tools
Self-Hosted pyannote-audio vs. Hosted Alternatives (Coqui XTTS & Audacity)
Factorpyannote-audio (Self-Hosted)Coqui XTTSAudacity
Execution & PrivacyRuns locally via Self-Hosted / Python (GitHub); data stays on your disk or private server.Hosted cloud web interface; zero local dependency setup required.Hosted cloud web interface; zero local dependency setup required.
Cost & QuotaMIT code; bound only by local CPU/GPU hardware.Open Source; subject to vendor free-tier limits or paid plans.Open Source; subject to vendor free-tier limits or paid plans.
Primary FitSpeaker diarization; Pretrained pipelinesPopular open-source multilingual voice cloning and text-to-speech engine cloning any voice from a 6-second audio clip.Classic open-source multi-track audio editor enhanced with free OpenVINO AI plugins for noise removal, transcription, and stems.
Key Trade-offSome pretrained models may require accepting terms on Hugging FaceRequires internet access and vendor account/quota limits.Requires internet access and vendor account/quota limits.

Matching Ready-Made Prompts

All Prompts →

Customize variables in Live Prompt Studio for pyannote-audio workflows.

Silicon Valley Founder Voiceover & ScriptAudio · Voiceover, Audio, Script, Founder
Open in Studio
British BBC Documentary Narrator Voice Profile & ScriptAudio · Voiceover, Documentary, Narrator, British
Open in Studio

More Open Source Audio & Music Repositories

Frequently Asked Questions

What does pyannote-audio do and how does it work?

pyannote-audio (pyannote/pyannote-audio) is an open-source audio & music project with 10,871 stars on GitHub. Open-source PyTorch neural toolkit for speaker diarization, voice activity detection, and overlapped speech segmentation in multi-speaker audio. pyannote-audio builds end-to-end neural segmentation and speaker embedding clustering pipelines (available via Hugging Face model gates) to pinpoint exactly when Speaker A vs. Speaker B talks across noisy meetings, call centers, or podcasts.

Is pyannote-audio free to self-host and use commercially?

pyannote-audio provides open source code licensed under MIT. Check the repo's license. Model weights may have a different license. Always verify both source code and model weight licenses in the GitHub repository before commercial deployment.

What hardware, runtime, or VRAM does pyannote-audio require?

pyannote-audio targets Self-Hosted / Python (GitHub). Typical installation runs via `pip install pyannote.audio`. Some pretrained models may require accepting terms on Hugging Face

How does self-hosting pyannote-audio compare to hosted tools like Coqui XTTS?

Self-hosting pyannote-audio gives you full local data control, zero per-usage vendor fees, and customizable Self-Hosted / Python (GitHub) pipelines—at the cost of managing your own setup and compute. By contrast, Coqui XTTS (Open Source) runs in the browser with no local installation, though usage quotas and cloud privacy policies apply.

Is pyannote-audio actively maintained and what workflow fits it best?

Repository metadata records 10,871 stars on GitHub with the latest recorded push on Dec 3, 2026. Run pyannote speaker-diarization-3.1 alongside faster-whisper (or bundled inside WhisperX) to emit clean speaker-attributed interview transcripts.