1. 24 Feb, 2022 1 commit
  2. 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
  3. 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
  4. 10 Dec, 2021 1 commit
  5. 04 Feb, 2021 1 commit
  6. 05 Jan, 2021 1 commit
  7. 09 Nov, 2020 1 commit
  8. 30 Oct, 2020 1 commit
  9. 22 Oct, 2020 1 commit
  10. 14 Jul, 2020 1 commit
  11. 01 Jul, 2020 1 commit
    • moto's avatar
      Use cmake for third party (#753) · ea42513f
      moto authored
      * Use cmake for third party
      
      * Apply patch to libmad
      
      * Update gitignore
      
      * Update docker test image
      ea42513f
  12. 26 Jun, 2020 1 commit
  13. 23 Jun, 2020 1 commit
    • moto's avatar
      Bake libsox in test base Docker image (#739) · 80bfb28b
      moto authored
      In #728, linux unit test switches to libsox provided by apt.
      For CPU jobs this is fine because all the job steps share the same Docker container,
      but on CPU job, each job step runs a script in a new Docker container, so
      libsox installed in a step is not available to the subsequent steps.
      
      To fix this, this PR moves the installation of libsox and sox to Docker build.
      80bfb28b
  14. 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
  15. 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
  16. 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
  17. 29 Apr, 2020 1 commit
  18. 24 Apr, 2020 1 commit
    • moto's avatar
      Run unit test on CCI (#576) · a47dca4f
      moto authored
      * wip
      
      * Add test
      
      * add caching
      
      * fixup! add caching
      
      * fixup! fixup! add caching
      a47dca4f