1. 09 Jun, 2023 1 commit
  2. 08 Jun, 2023 1 commit
    • moto's avatar
      Clean up CI scripts (#3407) · f0803152
      moto authored
      Summary:
      - Moving the unit test scripts from .circleci to .github
      - Remove docker file for unit test base
      - Use the Conda from Docker image in Linux jobs.
      
      Remaining follow-up items
      
      - Reuse the unittest script in Linux GPU job like done in Linux CPU job.
      
      The unit test script needs to be fixed to be used for Linux GPU job
      in new GHA workflow. Keeping it as a separate follow-up work item.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/3407
      
      Differential Revision: D46498263
      
      Pulled By: mthrok
      
      fbshipit-source-id: d8256717a55bb4257151d819d3b2ebd453601eac
      f0803152
  3. 04 Apr, 2023 1 commit
  4. 03 Apr, 2023 1 commit
  5. 21 Mar, 2023 1 commit
  6. 14 Feb, 2023 1 commit
  7. 29 Sep, 2022 1 commit
  8. 24 Aug, 2022 1 commit
    • moto's avatar
      Add StreamWriter (#2628) · 72404de9
      moto authored
      Summary:
      This commit adds FFmpeg-based encoder StreamWriter class.
      StreamWriter is pretty much the opposite of StreamReader class, and
      it supports;
      
      * Encoding audio / still image / video
      * Exporting to local file / streaming protocol / devices etc...
      * File-like object support (in later commit)
      * HW video encoding (in later commit)
      
      See also: https://fburl.com/gslide/z85kn5a9 (Meta internal)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2628
      
      Reviewed By: nateanl
      
      Differential Revision: D38816650
      
      Pulled By: mthrok
      
      fbshipit-source-id: a9343b0d55755e186971dc96fb86eb52daa003c8
      72404de9
  9. 12 Aug, 2022 1 commit
  10. 19 Jul, 2022 1 commit
  11. 27 Jun, 2022 1 commit
  12. 30 May, 2022 1 commit
  13. 24 Feb, 2022 1 commit
  14. 11 Feb, 2022 1 commit
  15. 02 Feb, 2022 1 commit
  16. 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
  17. 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
  18. 24 Nov, 2021 1 commit
  19. 03 Nov, 2021 1 commit
  20. 02 Sep, 2021 1 commit
  21. 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
  22. 31 Jul, 2021 1 commit
  23. 28 Jul, 2021 1 commit
  24. 07 Jul, 2021 1 commit
  25. 28 Jun, 2021 2 commits
  26. 23 Jun, 2021 1 commit
  27. 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
  28. 01 Jun, 2021 1 commit
  29. 27 May, 2021 1 commit
  30. 20 Apr, 2021 1 commit
  31. 23 Feb, 2021 1 commit
  32. 19 Feb, 2021 1 commit
  33. 04 Feb, 2021 1 commit
  34. 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
  35. 07 Jan, 2021 1 commit
  36. 05 Jan, 2021 1 commit
  37. 30 Oct, 2020 1 commit
  38. 16 Oct, 2020 1 commit
  39. 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