v6.2.3
facebookresearch/sam-audiov6.2.3Sep 23, 2026by adamnsandle
Upgrading?
AI Summary
Makes torchaudio an optional dependency, requiring users to explicitly install audio backends like torchaudio or torchcodec.
Key Highlights
- torchaudio is now optional (torch is required)
- Support for torchcodec backend
- Lazy import to fix import errors when onnxruntime is missing
New Features
- Optional audio backends (torchaudio, torchcodec)
- Lazy imports for sequence path
- Explicit backend installation requirements
Full Release Notes
torchaudio is now an optional dependency instead of required. Only torch is required — the model itself never used torchaudio, only the `read_audio` / `save_audio` helpers did. Users who need audio I/O must now install a backend explicitly: - `pip install silero-vad[audio]` (torchaudio) - `pip install silero-vad[codec]` (torchcodec) - `pip install silero-vad[all]` (everything) Key changes: - `read_audio` / `save_audio` now work with either torchaudio or torchcodec; with neither installed they raise an error naming the extra to install - Fixed: `import silero_vad` failed when onnxruntime was not installed — the sequence path is now imported lazily - numpy is now declared in [onnx-cpu] / [onnx-gpu] If you load audio yourself, no backend is needed at all: ```python3 from silero_vad import load_silero_vad, get_speech_timestamps model = load_silero_vad() audio = ... # 1-D float32 torch.Tensor from any source ts = get_speech_timestamps(audio, model, return_seconds=True) ```
Related Repositories
public-apis/public-apis★ 491,128
A collective list of free APIs
NousResearch/hermes-agent★ 255,903
The agent that grows with you
yt-dlp/yt-dlp★ 200,002
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,481
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,700
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.