v6.2.3
Wei-Shaw/sub2apiv6.2.3Sep 23, 2026by adamnsandle
Upgrading?
AI Summary
This release makes the `torchaudio` dependency optional, reducing the base installation requirements to just `torch`. Users requiring audio I/O functionality must now install backends like `torchaudio` or `torchcodec` explicitly via extras.
Key Highlights
- Made `torchaudio` optional; only `torch` is required.
- Audio I/O backends (`torchaudio`/`torchcodec`) can be installed via extras (`[audio]`, `[codec]`).
- Fixed import error when `onnxruntime` is not installed by lazy loading the sequence path.
- Added support for manual audio loading without requiring an audio backend.
New Features
- Added `torchcodec` as an alternative audio I/O backend.
- Lazy import of sequence path to fix import errors.
- Updated extras to include `numpy` for ONNX variants.
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
ollama/ollama★ 184,206
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,051
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,612
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.
junegunn/fzf★ 83,716
:cherry_blossom: A command-line fuzzy finder