"vscode:/vscode.git/clone" did not exist on "65a904c5657c3729ac3fb94349cb8e20d9a826d3"
  1. 27 Jul, 2023 1 commit
    • moto's avatar
      Replace libsox with stub library (#3497) · 8588fba1
      moto authored
      Summary:
      This commit updates the way libsox is integrated to torchaudio
      
      1. We stop statically linking libsox, so torchaudio will not ship libsox.
      2. We link libsox dynamically. Users are expected to install libsox by themselves.
      3. We use stab library to build torchaudio.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3497
      
      Differential Revision: D47803706
      
      Pulled By: mthrok
      
      fbshipit-source-id: 31b05495d81069186fa52d67beea360cc7e817a8
      8588fba1
  2. 12 Jul, 2023 1 commit
    • moto's avatar
      Support multiple FFmpeg versions (#3464) · 786066b4
      moto authored
      Summary:
      This commit introduces support for multiple FFmpeg versions for OSS binary distributions.
      
      Currently torchaudio only works with FFmpeg 4. This is inconvenient from installing to runtime linking.
      This commit allows to pick FFmpeg 4, 5 or 6 at runtime, instead of just looking for v4.
      
      The way it works is that we compile the FFmpeg extension three times with different FFmpeg and ship them.
      At runtime, we look for libavutil of specific version and when one is found, load the corresponding FFmpeg extension.
      The order of preference is 6, 5, then 4.
      
      To make the build process simple and reproducible, we use pre-built binaries of FFmpeg during the build.
      They are LGPL and downloaded from S3 at build time, instead of building every time.
      
      The use of pre-built binaries as scaffolding limits the system that can build torchaudio, so it also introduces
      single FFmpeg version support mode. setting FFMPEG_ROOT during the build will change the way binaries are built
      so that it will only support one specific version of FFmpeg.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3464
      
      Differential Revision: D47300223
      
      Pulled By: mthrok
      
      fbshipit-source-id: 560c7968315e4c8922afa11a4693f648c0356d04
      786066b4
  3. 07 Feb, 2023 1 commit