Add switch to disable sox integration and ffmpeg integration at runtime (#3500)
Summary: Since libsox and ffmpeg extensions now depend on external libraries, their initialization processes might cause unrecoverable issue, such as segfault. This commit adds environment variable to disable them so that importing torchaudio won't attempt to load these libraries. Pull Request resolved: https://github.com/pytorch/audio/pull/3500 Differential Revision: D47808178 Pulled By: mthrok fbshipit-source-id: 80c1c6b5f4bc608d4e209473702680db093c95ee
Showing
Please register or sign in to comment