v6.1

The-Vibe-Company/megaparsev6.1Nov 5, 2025by snakers4

AI Summary

This update primarily fixes compatibility issues with PyTorch 2.9 and refines the VAD logic. It addresses compilation failures and optimizes training utilities to ensure smoother operation.

Key Highlights

  • Fixed compatibility issues with PyTorch 2.9 in utils and compilation
  • Refined `get_speech_timestamps` function by removing debug code and raising errors directly
  • Fixed optimizer usage in tuning utilities by adding zero_grad before loss.backward
  • Refined the `use_max_poss_sil_at_max_speech` argument

Full Release Notes

## What's Changed
* Remove ipdb and raise error directly in get_speech_timestamps by @mpariente in https://github.com/snakers4/silero-vad/pull/695
* Update java example for v6 by @VvvvvGH in https://github.com/snakers4/silero-vad/pull/697
* fix bug in tuning/utils.py: add optimizer.zero_grad() before loss.bac… by @JiJiJiang in https://github.com/snakers4/silero-vad/pull/699
* resolve torchaudio 2.9 utils by @adamnsandle in https://github.com/snakers4/silero-vad/pull/704
* Fixes few typos by @Purfview in https://github.com/snakers4/silero-vad/pull/707
* Removes redundant hop_size_samples variable by @Purfview in https://github.com/snakers4/silero-vad/pull/708
* drop_chunks fix by @adamnsandle in https://github.com/snakers4/silero-vad/pull/712
* Fixes and refines - use_max_poss_sil_at_max_speech arg by @Purfview in https://github.com/snakers4/silero-vad/pull/710

## New Contributors
* @mpariente made their first contribution in https://github.com/snakers4/silero-vad/pull/695
* @JiJiJiang made their first contribution in https://github.com/snakers4/silero-vad/pull/699
* @Purfview made their first contribution in https://github.com/snakers4/silero-vad/pull/707

**Full Changelog**: https://github.com/snakers4/silero-vad/compare/v6.0...v6.1