1. 24 Feb, 2022 1 commit
  2. 11 Feb, 2022 1 commit
  3. 02 Feb, 2022 2 commits
    • moto's avatar
      Add Streaming API (#2164) · 7a3e262d
      moto authored
      Summary:
      This PR adds the prototype streaming API.
      The implementation is based on ffmpeg libraries.
      
      For the detailed usage, please refer to [the resulting tutorial](https://534376-90321822-gh.circle-artifacts.com/0/docs/tutorials/streaming_api_tutorial.html).
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2164
      
      Reviewed By: hwangjeff
      
      Differential Revision: D33934457
      
      Pulled By: mthrok
      
      fbshipit-source-id: 92ade4aff2d25baf02c0054682d4fbdc9ba8f3fe
      7a3e262d
    • Nikita Shulga's avatar
      [CI] Pin flake8 version (#2191) · 3a5103c2
      Nikita Shulga authored
      Summary:
      This fixes:
      ```
      Installed flake8: + flake8 --version
      Traceback (most recent call last):
        File "/root/project/env/bin/flake8", line 6, in <module>
          from flake8.main.cli import main
        File "/root/project/env/lib/python3.7/site-packages/flake8/main/cli.py", line 6, in <module>
          from flake8.main import application
        File "/root/project/env/lib/python3.7/site-packages/flake8/main/application.py", line 24, in <module>
          from flake8.plugins import manager as plugin_manager
        File "/root/project/env/lib/python3.7/site-packages/flake8/plugins/manager.py", line 11, in <module>
          from flake8._compat import importlib_metadata
        File "/root/project/env/lib/python3.7/site-packages/flake8/_compat.py", line 7, in <module>
          import importlib_metadata
      ModuleNotFoundError: No module named 'importlib_metata'
      ```
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2191
      
      Reviewed By: atalman
      
      Differential Revision: D33930583
      
      Pulled By: malfet
      
      fbshipit-source-id: 68026743c29434113893cca38041596135d3bd53
      3a5103c2
  4. 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
  5. 05 Jan, 2022 1 commit
  6. 04 Jan, 2022 1 commit
    • moto's avatar
      [CI] Install tools from conda instead of brew (#1873) · df0175e8
      moto authored
      Summary:
      Currently, macOS CI jobs install `pkg-config` and `wget` with `brew`.
      This is problematic as brew takes a long time with auto-update, and disabling the auto-update is not an ideal solution.
      Conda also distributes these packages, so switching to conda.
      
      Example issues with brew installation.
      https://app.circleci.com/pipelines/github/pytorch/audio/7825/workflows/53965bcf-6ddf-4e42-ad52-83fd1bbab717
      
      This commit removes the use of `brew` by
      1. Replacing the use of `wget` with `curl` (pre-installed in most distro)
      2. Install `pkg-condig` from conda.
          Note: All the macOS jobs, including binary build jobs, uses conda. Using `pkg-config` from Conda makes it easy to discover the packages installed from conda. (like `ffmpeg` in https://github.com/pytorch/audio/issues/2122)
      3. Add `pkg-config` to conda build-time dependency
      4. Make sure that the availability of `pkg-config` is explicitly checked when `sox` is being configured. (otherwise, it will fail at somewhere in the middle of build process with somewhat unintuitve error message)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/1873
      
      Reviewed By: carolineechen, nateanl
      
      Differential Revision: D33404975
      
      Pulled By: mthrok
      
      fbshipit-source-id: ae512d3a3a422ebfe3b46c492bed44deecc36e72
      df0175e8
  7. 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
  8. 23 Dec, 2021 1 commit
  9. 10 Dec, 2021 1 commit
  10. 24 Nov, 2021 1 commit
  11. 03 Nov, 2021 1 commit
  12. 06 Oct, 2021 1 commit
  13. 02 Sep, 2021 1 commit
  14. 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
  15. 03 Aug, 2021 1 commit
  16. 31 Jul, 2021 1 commit
  17. 28 Jul, 2021 1 commit
  18. 07 Jul, 2021 1 commit
  19. 28 Jun, 2021 2 commits
  20. 23 Jun, 2021 1 commit
  21. 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
  22. 01 Jun, 2021 1 commit
  23. 27 May, 2021 1 commit
  24. 20 Apr, 2021 1 commit
  25. 06 Apr, 2021 1 commit
    • moto's avatar
      Do not print CPU info before running tests (#1434) · 52e2943c
      moto authored
      This code was added as a part of investigation of inconsistent behavior
      of file-like object support. Now the investigation is done and this code
      does not provide much insight yet adding a bunch of lines to the log, so
      this PR removes it.
      52e2943c
  26. 12 Mar, 2021 1 commit
  27. 23 Feb, 2021 1 commit
  28. 19 Feb, 2021 1 commit
  29. 09 Feb, 2021 1 commit
  30. 04 Feb, 2021 1 commit
  31. 03 Feb, 2021 1 commit
  32. 02 Feb, 2021 1 commit
  33. 26 Jan, 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. 12 Jan, 2021 1 commit
  36. 08 Jan, 2021 1 commit
  37. 07 Jan, 2021 1 commit
  38. 05 Jan, 2021 1 commit