-
Notifications
You must be signed in to change notification settings - Fork 734
Description
Description
Hi,
I’m running Silero-VAD on a Raspberry Pi 5 (AArch64, Python). Everything works properly when I use PyTorch 2.8.0, but upgrading to PyTorch 2.9.0 breaks the pipeline because the new version of PyTorch attempts to import torchcodec, which is not available for AArch64 architectures.
Because torchcodec is a required dependency starting from PyTorch 2.9, Silero-VAD becomes unusable on Raspberry Pi unless PyTorch is manually downgraded to 2.8.0. This effectively prevents running the latest PyTorch releases on ARM SBCs.
What Works (PyTorch 2.8.0)
With PyTorch 2.8.0, Silero-VAD loads and runs inference correctly.
The only issue is the following warning:
silero_vad/utils_vad.py:143: UserWarning: torchaudio.sox_effects.sox_effects.apply_effects_file has been deprecated. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. It will be removed from the 2.9 release. wav, sr = torchaudio.sox_effects.apply_effects_file(path, effects=effects)
This is only a warning, and VAD works as expected.
What Fails (PyTorch 2.9.0)
With PyTorch 2.9.0, Silero-VAD fails to initialize because it tries to import torchcodec, which is not shipped for AArch64. Since the Raspberry Pi relies on AArch64 wheels, there is currently no way to satisfy this dependency.
As a result, Silero-VAD cannot run at all on Raspberry Pi unless PyTorch is downgraded.
Environment
- Raspberry Pi 5
- Raspberry Pi OS (64-bit)
- Python version: 3.11
- PyTorch 2.8.0 (works)
- PyTorch 2.9.0 (fails due to missing torchcodec)
Expected Behavior
Silero-VAD should either:
- Continue working on AArch64 systems under PyTorch ≥ 2.9, or
- Provide a fallback path when torchcodec is unavailable, or
- Document version constraints or ARM limitations if support is not intended.
Actual Behavior
- PyTorch 2.9 requires torchcodec
- torchcodec is not available for AArch64
- Silero-VAD fails to import / run on Raspberry Pi
- Only PyTorch 2.8.0 remains usable, and the deprecated sox_effects call will break in the next release
Additional Notes
This issue affects a large portion of makers / embedded users who run Silero-VAD on Raspberry Pi or other ARM SBCs.
If Silero-VAD relies on torchaudio preprocessing that’s being deprecated, the upcoming removal of sox_effects.apply_effects_file may cause additional breakage even on PyTorch 2.8.
Thanks for your work on this project—it's extremely useful for small, low-power devices like the Raspberry Pi.