1. 11 Feb, 2022 1 commit
  2. 02 Feb, 2022 1 commit
  3. 07 Jan, 2022 1 commit
    • moto's avatar
      Enable build ffmpeg-features in all related jobs (#2140) · 565f8d41
      moto authored
      Summary:
      This commit enables ffmpeg-feature build in tests and
      binary builds of all platforms.
      (Linux/macOS/Windows x conda/wheel)
      
      It also moves the definition of BUILD_FFMPEG env vars to the
      top level `config.yml`.
      
       ---
      Manual checking if all the build log contains `libtorchaudio_ffmpeg`.
      ### binary build
      - [x] `binary_linux_conda_py3.7_cpu`
      - [x] `binary_linux_conda_py3.7_cu102`
      - [x] `binary_linux_wheel_py3.7_cpu`
      - [x] `binary_linux_wheel_py3.7_cu102`
      - [x] `binary_macos_conda_py3.7_cpu`
      - [x] `binary_macos_wheel_py3.7_cpu`
      - [x] `binary_windows_conda_py3.7_cpu`
      - [x] `binary_windows_conda_py3.7_cu113`
      - [x] `binary_windows_wheel_py3.7_cpu`
      - [x] `binary_windows_wheel_py3.7_cu113`
      
      ### test
      - [x] `unittest_linux_cpu_py3.7`
      - [x] `unittest_linux_gpu_py3.7`
      - [x] `unittest_macos_cpu_py3.7`
      - [x] `unittest_windows_cpu_py3.7`
      - [x] `unittest_windows_gpu_py3.7`
      - [x] `integration test`
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2140
      
      Reviewed By: hwangjeff
      
      Differential Revision: D33464430
      
      Pulled By: mthrok
      
      fbshipit-source-id: 2c5b72be75d49019bf1599036180d4e56074e46b
      565f8d41
  4. 30 Dec, 2021 1 commit
    • moto's avatar
      Build ffmpeg-features in Linux/macOS unittests (#2114) · 9f14fa63
      moto authored
      Summary:
      Preparation to land Python front-end of ffmpeg-related features.
      
      - Set BUILD_FFMPEG=1 in Linux/macOS unit test jobs
      - Install ffmpeg and pkg-config from conda-forge
      - Add note about Windows build process
      - Temporarily avoid `av_err2str`
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2114
      
      Reviewed By: hwangjeff
      
      Differential Revision: D33371346
      
      Pulled By: mthrok
      
      fbshipit-source-id: b0e16a35959a49a2166109068f3e0cbbb836e888
      9f14fa63
  5. 24 Nov, 2021 1 commit
  6. 03 Nov, 2021 1 commit
  7. 02 Sep, 2021 1 commit
  8. 26 Aug, 2021 1 commit
    • moto's avatar
      Default to BUILD_SOX=1 in non-Windows systems (#1725) · 89ea6955
      moto authored
      * Default to BUILD_SOX=1 in non-Windows systems
      
      Since the adaptation of CMake and restricting to the static linking of libsox,
      the build process has become much robust with libsox integration enabled.
      
      This commit makes it default behavior to build libsox integration in non-Windows systems.
      The build process still checks BUILD_SOX env var so, setting `BUILD_SOX=0` disables it.
      89ea6955
  9. 31 Jul, 2021 1 commit
  10. 28 Jul, 2021 1 commit
  11. 07 Jul, 2021 1 commit
  12. 28 Jun, 2021 2 commits
  13. 23 Jun, 2021 1 commit
  14. 22 Jun, 2021 1 commit
    • moto's avatar
      Temporarily pin nightly version on Linux/macOS CPU unittest (#1598) · 6d9c04d8
      moto authored
      There are some issues on CMake-based integration after 2021-06-19.
      
      ```
        Imported target "torch" includes non-existent path
          "/opt/conda/conda-bld/pytorch_1624259172741/work/torch/lib"
        in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
        * The path was deleted, renamed, or moved to another location.
        * An install or uninstall procedure did not complete successfully.
        * The installation package was faulty and references files it does not provide.
      ```
      
      This is being worked on PR like https://github.com/pytorch/pytorch/pull/60403.
      The nightly builds are still causing the error, so as a workaround, 
      we pin the nightly build version for Linux/macOS unittest.
      The issue still happens on Windows unittest and binary builds.
      6d9c04d8
  15. 01 Jun, 2021 1 commit
  16. 27 May, 2021 1 commit
  17. 20 Apr, 2021 1 commit
  18. 23 Feb, 2021 1 commit
  19. 19 Feb, 2021 1 commit
  20. 04 Feb, 2021 1 commit
  21. 21 Jan, 2021 1 commit
    • moto's avatar
      Update unit test base Docker image (#1193) · 5547f204
      moto authored
      * Do not install sox system-wide, so that it will never get mixed up with static one torchaudio builds
      * Do not install cmake system-wide
      * Move libsndfile installation to Docker image
      5547f204
  22. 07 Jan, 2021 1 commit
  23. 05 Jan, 2021 1 commit
  24. 30 Oct, 2020 1 commit
  25. 16 Oct, 2020 1 commit
  26. 05 Aug, 2020 1 commit
    • moto's avatar
      [CI] Run unit test with non-editable installation (#845) · 9ba02d5b
      moto authored
      We have been running unit test with editable installation. (i.e. `python setup.py develop`), with which we missed issues like #842. 
      
      This CC makes installation in CI non-editable, and change test directory structure so that the source code will not shadow the installed version of `torchaudio`. With simple `pytest test`, `pytest` modifies `sys.path` and prepend checked out repository, which shadows the installed version.
      
      To remedy this, the whole test suites has been moved from `./test` to `./test/torchaudio_unittest`. This adds nice module structure to our test code and we can do absolute import in each test module, which makes it possible again to run test with `python -m unittest torchaudio_unittest/XXX.py`
      
      This change does not affect the regular development process (`python setup.py develop` && `pytest test`)
      9ba02d5b
  27. 26 Jun, 2020 1 commit
  28. 19 Jun, 2020 1 commit
    • moto's avatar
      Add TorchScript-able "info" func to sox_io backend (#728) · 88fccd14
      moto authored
      This is a part of PRs to add new "sox_io" backend #726, and depends on #718.
      
      This PR adds `info` function to "sox_io" backend, which allows users to fetch some metadata of an audio file. 
      At this moment, the information retrieved are;
      
       - Number of samples in the audio file
       - Sampling rate
       - Number of channels
      88fccd14
  29. 01 Jun, 2020 1 commit
  30. 27 May, 2020 1 commit
    • moto's avatar
      Self-contain codecs library (#625) · d3c83eaa
      moto authored
      * Clean up extension build mechanism and extension location
      
      * Add back the switch to depend on external sox
      
      * Remove print
      
      * Fix
      d3c83eaa
  31. 06 May, 2020 1 commit
  32. 04 May, 2020 1 commit
    • peterjc123's avatar
      Enable unittest jobs for windows (#604) · 4a24ed72
      peterjc123 authored
      
      
      * Turn on tests when building through conda-build
      
      * skip one failling test on windows.
      
      * Switch to unittest
      
      * Fix conda env activation
      
      * add linux only condition
      
      * Fix librosa installation
      
      * conda-forge channel as a fallback
      
      * Revert "conda-forge channel as a fallback"
      
      This reverts commit 8c15f6638e34792640a3de3e057d9c2995425180.
      
      * Try the pytorch way
      
      * Use conda-forge
      
      * Disable conda-forge
      
      * Install future at setup env
      
      * Move linux unittest CI job tools to dedicated directory
      
      * Restore Linux scripts and move the updated souces to a new subdir
      
      * Add back future
      
      * Remove comments
      Co-authored-by: default avatarVincent Quenneville-Belair <vincentqb@gmail.com>
      Co-authored-by: default avatarmoto <855818+mthrok@users.noreply.github.com>
      4a24ed72
  33. 29 Apr, 2020 1 commit