Fix filtering function fallback mechanism (#2953)
Summary: lfilter, overdrive have faster implementation written in C++. If they are not available, torchaudio is supposed to fall back on Python-based implementation. The original fallback mechanism relied on error type and messages from PyTorch core, which has been changed. This commit updates it for more proper fallback mechanism. Pull Request resolved: https://github.com/pytorch/audio/pull/2953 Reviewed By: hwangjeff Differential Revision: D42344893 Pulled By: mthrok fbshipit-source-id: 18ce5c1aa1c69d0d2ab469b0b0c36c0221f5ccfd
Showing
Please register or sign in to comment