1. 30 Dec, 2021 1 commit
    • moto's avatar
      Add a switch to build ffmpeg binding (#2048) · ece03edc
      moto authored
      Summary:
      This PR adds `BUILD_FFMPEG` switch to torchaudio build process so that features related to ffmpeg are built.
      The flag is false by default, so no CI jobs or development flow are affected.
      
      This is because handling the dependencies around ffmpeg is a bit tricky.
      Currently, the CMake file uses `pkg-config` to find an ffmpeg installation in the system.
      This works fine for both conda-based installation and system-managed installation (like `apt`).
      
      In subsequent PRs, I will find a solution that works for local development and binary distributions.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2048
      
      Reviewed By: hwangjeff, nateanl
      
      Differential Revision: D33367260
      
      Pulled By: mthrok
      
      fbshipit-source-id: 94517acecb62bd6d4e96d4b7cbc3ab3c2a25706c
      ece03edc
  2. 20 Dec, 2021 2 commits
  3. 18 Dec, 2021 1 commit
  4. 17 Dec, 2021 1 commit
    • moto's avatar
      Add static build of KenLM (#2076) · adc559a8
      moto authored
      Summary:
      Add KenLM and its dependencies required for static build (`zlib`, `bzip2`, `lzma` and `boost-thread`).
      
      The KenLM and its dependencies are build but since no corresponding code on torchaudio side is changed, the resulting torchaudio extension module is not changed. (therefore, as long as build process passes on CI this PR should be good to go.)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2076
      
      Reviewed By: carolineechen
      
      Differential Revision: D33189980
      
      Pulled By: mthrok
      
      fbshipit-source-id: 6096113128b939f3cf70990c99aacc4aaa954584
      adc559a8
  5. 31 Aug, 2021 1 commit
    • Nikita Shulga's avatar
      Fix CUDA build logic for _torchaudio.so (#1737) · e3c082b7
      Nikita Shulga authored
      It's wrong to depend on `${TORCH_LIBRARIES}` as it pulls in explicit
      `libcuda.so.1` dependency, which violates the assumption that GPU
      accelerated libraries should be loadable with no NVIDIA drivers installed
      
      Instead, make it depend on `torch` target, which includes all necessary
      Torch C++ API dependences
      e3c082b7
  6. 18 Aug, 2021 1 commit
    • moto's avatar
      Guard Kaldi's version generation (#1715) · df9d0b47
      moto authored
      When building torchaudio from source, `get_version.sh` from kaldi is executed everytime,
      which results in kaldi-bindings to be always rebuilt.
      
      This commit add "if" guard to the part so that they are not always executed.
      df9d0b47
  7. 28 Jun, 2021 1 commit
  8. 25 May, 2021 1 commit
  9. 30 Apr, 2021 1 commit
  10. 19 Apr, 2021 1 commit
  11. 02 Mar, 2021 1 commit
  12. 23 Feb, 2021 1 commit
  13. 09 Feb, 2021 1 commit
  14. 04 Feb, 2021 1 commit
  15. 21 Jan, 2021 1 commit
  16. 09 Jan, 2021 2 commits
  17. 05 Jan, 2021 2 commits
  18. 22 Dec, 2020 1 commit
  19. 08 Dec, 2020 1 commit
  20. 04 Dec, 2020 1 commit
  21. 20 Nov, 2020 1 commit
    • moto's avatar
      Temporarily Disable OpenMP support for libsox (#1026) · 75804859
      moto authored
      Currently `libsox` on Linux is compiled with GPU OpenMP and it interferes with the version PyTorch uses (Intel in case of binary distribution). This PR disables OpenMP support for `libsox`, while we investigate the way to use the same OpenMP as PyTorch's version.
      75804859
  22. 01 Jul, 2020 2 commits