Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

silero-vad

> 编程语言
Open source

Silero VAD: pre-trained enterprise-grade Voice Activity Detector

9.8K stars0 likes1 views
WebsiteGitHub

About

Silero VAD: pre-trained enterprise-grade Voice Activity Detector


Silero VAD


Silero VAD - pre-trained enterprise-grade Voice Activity Detector (also see our STT models).


Real Time Example

https://user-images.githubusercontent.com/36505480/144874384-95f80f6d-a4f1-42cc-9be7-004c891dd481.mp4

Please note, that video loads only if you are logged in your GitHub account.


Fast start


Dependencies

System requirements to run python examples on x86-64 systems:

  • python 3.8+;
  • 1G+ RAM;
  • A modern CPU with AVX, AVX2, AVX-512 or AMX instruction sets.

Dependencies:

  • torch>=1.12.0;
  • torchaudio>=0.12.0 (for I/O only);
  • onnxruntime>=1.16.1 (for ONNX model usage).

Silero VAD uses torchaudio library for audio I/O (torchaudio.info, torchaudio.load, and torchaudio.save), so a proper audio backend is required:

  • Option №1 - FFmpeg backend. conda install -c conda-forge 'ffmpeg<7';
  • Option №2 - sox_io backend. apt-get install sox, TorchAudio is tested on libsox 14.4.2;
  • Option №3 - soundfile backend. pip install soundfile.

If you are planning to run the VAD using solely the onnx-runtime, it will run on any other system architectures where onnx-runtume is supported. In this case please note that:

  • You will have to implement the I/O;
  • You will have to adapt the existing wrappers / examples / post-processing for your use-case.

Using pip: pip install silero-vad

python3
from silero_vad import load_silero_vad, read_audio, get_speech_timestamps
model = load_silero_vad()
wav = read_audio('path_to_audio_file')
speech_timestamps = get_speech_timestamps(
  wav,
  model,
  return_seconds=True,  # Return speech timestamps in seconds (default is samples)
)

Using torch.hub:

python3
import torch
torch.set_num_threads(1)

model, utils = torch.hub.load(repo_or_dir='snakers4/silero-vad', model='silero_vad')
(get_speech_timestamps, _, read_audio, _, _) = utils

wav = read_audio('path_to_audio_file')
speech_timestamps = get_speech_timestamps(
  wav,
  model,
  return_seconds=True,  # Return speech timestamps in seconds (default is samples)
)

Key Features


  • Stellar accuracy

    Silero VAD has excellent results on speech detection tasks.

  • Fast

    One audio chunk (30+ ms) takes less than 1ms to be processed on a single CPU thread. Using batching or GPU can also improve performance considerably. Under certain conditions ONNX may even run up to 4-5x faster.

  • Lightweight

    JIT model is around two megabytes in size.

  • General

    Silero VAD was trained on huge corpora that include over 6000 languages and it performs well on audios from different domains with various background noise and quality levels.

  • Flexible sampling rate

    Silero VAD supports 8000 Hz and 16000 Hz sampling rates.

  • Highly Portable

    Silero VAD reaps benefits from the rich ecosystems built around PyTorch and ONNX running everywhere where these runtimes are available.

  • No Strings Attached

    Published under permissive license (MIT) Silero VAD has zero strings attached - no telemetry, no keys, no registration, no built-in expiration, no keys or vendor lock.


Typical Use Cases


  • Voice activity detection for IOT / edge / mobile use cases
  • Data cleaning and preparation, voice detection in general
  • Telephony and call-center automation, voice bots
  • Voice interfaces

Links


  • Examples and Dependencies
  • Quality Metrics
  • Performance Metrics
  • Versions and Available Models
  • Further reading
  • FAQ

Get In Touch


Try our models, create an issue, start a discussion, join our telegram chat, email us, read our news.

Please see our wiki for relevant information and email us directly.

Citations

@misc{Silero VAD,
  author = {Silero Team},
  title = {Silero VAD: pre-trained enterprise-grade Voice Activity Detector (VAD), Number Detector and Language Classifier},
  year = {2024},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\\url{https://github.com/snakers4/silero-vad}},
  commit = {insert_some_commit_here},
  email = {[email protected]}
}

Examples and VAD-based Community Apps


  • Example of VAD ONNX Runtime model usage in C++

  • Example of VAD ExecuTorch model usage in C++

  • Voice activity detection for the browser using ONNX Runtime Web

  • Rust, Rust (wavekat-vad), Go, Java, C++, C# and other community examples

  • OpenVINO conversion guidelines

  • Optional offline ONNX sequence inference for long recordings

  • A tinygrad model with a pico example in the docsting + separate weights in safetensors format (for simplicity we provided just the 16k model)

Issues· 10 open

View all issuesOpen on GitHub
  • #799

    Feature request - [Silero VAD as mumble voice activity detection plugin]

    enhancementUpdated Sep 22, 2026
  • #798

    Segment boundaries are systematically late at speech_pad_ms=0 (onset P50 ≈ +40 ms with a heavy tail to +1.4 s, offset P50 ≈ +50 ms); the two ends need corrections in opposite directions, so speech_pad_ms cannot compensate

    Updated Sep 18, 2026
  • #765

    [BUG] Problem with high-pitched female voices in native 8 kHz (runs better resampled to 16 kHz)

    help wantedUpdated Jul 20, 2026
  • #706

    [FORMATS] Most important export formats?

    help wantedUpdated Jul 3, 2026
  • #2

    [CHANGELOG] v6.2 just released!

    documentationUpdated Feb 13, 2026
  • #735

    Unable to Use Silero-VAD on Raspberry Pi with PyTorch ≥ 2.9.0 Due to torchcodec Dependency (AArch64 Not Supported)

    bugUpdated Dec 9, 2025
  • #709

    [FORMATS] Can iOS support be provided?

    help wantedUpdated Nov 30, 2025
  • #698

    [С++] Updating С++ examples

    help wantedUpdated Nov 10, 2025
  • #650

    Feature request - Support CUDA 12.x with onnxruntime-gpi 1.21.x

    enhancementUpdated Oct 19, 2025

> Tags

Pythononnxonnx-runtimeonnxruntimepytorch

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言