1. 11 Oct, 2022 1 commit
  2. 06 Oct, 2022 1 commit
  3. 29 Sep, 2022 1 commit
  4. 28 Sep, 2022 3 commits
  5. 27 Sep, 2022 1 commit
  6. 26 Sep, 2022 2 commits
    • Andrey Talman's avatar
      Fix windows tests related to old conda on circleci (#2704) · 1c8accfc
      Andrey Talman authored
      Summary:
      Conda version on circleCI prints following message:
      ```
      ==> WARNING: A newer version of conda exists. <==
        current version: 4.6.14
        latest version: 4.14.0
      ```
      and as a result this error:
      
      ```
      + /c/tools/miniconda3/Scripts/conda.exe install -v -y -c pytorch-nightly -c nvidia pytorch numpy ffmpeg pytorch-cuda=11.6
      Collecting package metadata: ...working... done
      Solving environment: ...working...
      
      Too long with no output (exceeded 30m0s): context deadline exceeded
      ```
      
      This should update the conda version running on the system and allow us to install pytorch and run some tests.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2704
      
      Reviewed By: weiwangmeta
      
      Differential Revision: D39820037
      
      Pulled By: atalman
      
      fbshipit-source-id: 4a82a7a6cbe3dc1a5807ac669e2fa79f454037fa
      1c8accfc
    • Andrey Talman's avatar
      Remove linux wheel from circleci (#2714) · 14714f29
      Andrey Talman authored
      Summary:
      Remove linux wheel from circleci
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2714
      
      Reviewed By: weiwangmeta
      
      Differential Revision: D39816121
      
      Pulled By: atalman
      
      fbshipit-source-id: a3c99b530896888d7b4271d8b3f27f3c986b3480
      14714f29
  7. 23 Sep, 2022 1 commit
  8. 20 Sep, 2022 1 commit
  9. 14 Sep, 2022 1 commit
  10. 26 Aug, 2022 1 commit
  11. 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
  12. 16 Aug, 2022 1 commit
  13. 12 Aug, 2022 1 commit
  14. 29 Jul, 2022 2 commits
    • moto's avatar
      Enable CTC decoder in Windows (#2587) · 67cb420d
      moto authored
      Summary:
      This commit enables CTC decoder on Windows.
      
      The functionality seems to work fine.
      The tests are passing, the decoding tutorial runs fine.
      
      The only difference to the Linux/macOS version is that
      loading model in XZ compression format is not supported.
      
      ![289961785_399620772041679_7768117002438616376_n](https://user-images.githubusercontent.com/855818/181420923-cfbd8402-20de-4e63-b9e4-e39f9aa9fc50.png)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2587
      
      Reviewed By: carolineechen, nateanl
      
      Differential Revision: D38276490
      
      Pulled By: mthrok
      
      fbshipit-source-id: f2203b2235c5bbb0220fe560aaaf0e1d5530347a
      67cb420d
    • Zhaoheng Ni's avatar
      Improve speech enhancement tutorial (#2527) · d6267031
      Zhaoheng Ni authored
      Summary:
      - The "speech + noise" mixture still has a high SNR, which can't show the effectiveness of MVDR beamforming. To make the task more challenging, amplify the noise waveform to reduce the SNR of mixture speech.
      - Show the Si-SNR score of mixture speech when visualizing the mixture spectrogram.
      - FIx the figure in `rtf_power` subsection.
          - The description of enhanced spectrogram by `rtf_power` is wrong. Correct it to `rtf_power`.
      - Print PESQ, STOI, and SDR metric scores.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2527
      
      Reviewed By: mthrok
      
      Differential Revision: D38190218
      
      Pulled By: nateanl
      
      fbshipit-source-id: 39562850a67f58a16e0a2866ed95f78c3f4dc7de
      d6267031
  15. 28 Jul, 2022 1 commit
    • Sean Kim's avatar
      Create tutorial for HDemucs (#2572) · 919fd0c4
      Sean Kim authored
      Summary:
      Add tutorial python file, draft PR, will continue to modify accordingly to feedback.
      
      Future plan: modify spectrogram and bottom audio design and work on finding best audio track and segments
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2572
      
      Reviewed By: carolineechen, nateanl, mthrok
      
      Differential Revision: D38234001
      
      Pulled By: skim0514
      
      fbshipit-source-id: fe9207864f354dec5cf5ff52bf7d9ddcf4a001d5
      919fd0c4
  16. 25 Jul, 2022 1 commit
  17. 19 Jul, 2022 1 commit
  18. 15 Jul, 2022 1 commit
  19. 07 Jul, 2022 2 commits
  20. 29 Jun, 2022 1 commit
    • moto's avatar
      Fix build doc job (#2520) · ef8bd7b6
      moto authored
      Summary:
      The build doc job is failing these days due to the fact that CUDA 11.6 requires different handling.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2520
      
      Reviewed By: xiaohui-zhang
      
      Differential Revision: D37527088
      
      Pulled By: mthrok
      
      fbshipit-source-id: 34c23bdbf70ba9fb8e315c7036cff01b3ddf4c91
      ef8bd7b6
  21. 27 Jun, 2022 1 commit
  22. 15 Jun, 2022 2 commits
  23. 07 Jun, 2022 1 commit
  24. 02 Jun, 2022 1 commit
    • moto's avatar
      Remove mad (#2428) · d2ecba98
      moto authored
      Summary:
      Remove the code related to libmad, which had been disabled in https://github.com/pytorch/audio/issues/2354
      
      In https://github.com/pytorch/audio/issues/2419, we mp3 decoding to ffmpeg. But CI tests were still using libmad.
      This commit completely removes libmad from torchaudio.
      
      This is BC-breaking change as `apply_sox_effects_file` function cannot handle MP3, and it cannot fallback to ffmpeg.
      The workaround for this is to use `torchaudio.load` then `apply_sox_effects_tensor`.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2428
      
      Reviewed By: carolineechen
      
      Differential Revision: D36851805
      
      Pulled By: mthrok
      
      fbshipit-source-id: f98795c59a1ac61cef511f2bbeac37f7c3c69d55
      d2ecba98
  25. 01 Jun, 2022 1 commit
  26. 30 May, 2022 1 commit
  27. 20 May, 2022 2 commits
  28. 19 May, 2022 1 commit
    • Eli Uriegas's avatar
      ci: Install libomp on macos (#2404) · 38cf5b7a
      Eli Uriegas authored
      Summary:
      To resolve nightly / general build issues relating to OpenMP not being found, see https://hud.pytorch.org/pytorch/audio/commit/c6a376cc5679c1940e49fc3e0ba22eaead6c2467
      
      
      
      ```
      -- Found Torch: /Users/distiller/miniconda3/envs/env3.10/lib/python3.10/site-packages/torch/lib/libtorch.dylib
      CMake Error at /Users/distiller/miniconda3/envs/env3.10/lib/python3.10/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
      Call Stack (most recent call first):
        /Users/distiller/miniconda3/envs/env3.10/lib/python3.10/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
        /Users/distiller/miniconda3/envs/env3.10/lib/python3.10/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.22/Modules/FindOpenMP.cmake:544 (find_package_handle_standard_args)
        CMakeLists.txt:131 (find_package)
      
      -- Configuring incomplete, errors occurred!
      ```
      Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2404
      
      Reviewed By: atalman
      
      Differential Revision: D36495791
      
      Pulled By: seemethere
      
      fbshipit-source-id: 7b6fa2a62fda6fc468cfcbdf8d2163e6b9c327b0
      38cf5b7a
  29. 16 May, 2022 1 commit
    • moto's avatar
      Update build_doc job to use Conda CUDA package (#2395) · 8fd60cc8
      moto authored
      Summary:
      This commit moves `build_doc` job to run on top of Conda binary
      build job.
      
      The motivation is that Conda provides easy access to third party
      tools that are required to build complex documentation.
      
      Specifically in https://github.com/pytorch/audio/pull/2393,
      ipynb-style tutorial is being added, which requires `nbsphinx`.
      
      `nbsphinx` requires `pandoc` package and there was some issue
      with the version from PyPI. A workaround is to use the one from
      Conda package.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2395
      
      Reviewed By: carolineechen, nateanl
      
      Differential Revision: D36404407
      
      Pulled By: mthrok
      
      fbshipit-source-id: 26ec5ebfd5be795384306a9f24817a2eb3ec96c1
      8fd60cc8
  30. 13 May, 2022 1 commit
    • moto's avatar
      Move Streamer API out of prototype (#2378) · 72b712a1
      moto authored
      Summary:
      This commit moves the Streaming API out of prototype module.
      
      * The related classes are renamed as following
      
        - `Streamer` -> `StreamReader`.
        - `SourceStream` -> `StreamReaderSourceStream`
        - `SourceAudioStream` -> `StreamReaderSourceAudioStream`
        - `SourceVideoStream` -> `StreamReaderSourceVideoStream`
        - `OutputStream` -> `StreamReaderOutputStream`
      
      This change is preemptive measurement for the possibility to add
      `StreamWriter` API.
      
      * Replace BUILD_FFMPEG build arg with USE_FFMPEG
      
      We are not building FFmpeg, so USE_FFMPEG is more appropriate
      
       ---
      
      After https://github.com/pytorch/audio/issues/2377
      
      Remaining TODOs: (different PRs)
      - [ ] Introduce `is_ffmpeg_binding_available` function.
      - [ ] Refactor C++ code:
         - Rename `Streamer` to `StreamReader`.
         - Rename `streamer.[h|cpp]` to `stream_reader.[h|cpp]`.
         - Rename `prototype.cpp` to `stream_reader_binding.cpp`.
         - Introduce `stream_reader` directory.
      - [x] Enable FFmpeg in smoke test (https://github.com/pytorch/audio/issues/2381)
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2378
      
      Reviewed By: carolineechen
      
      Differential Revision: D36359299
      
      Pulled By: mthrok
      
      fbshipit-source-id: 6a57b702996af871e577fb7addbf3522081c1328
      72b712a1
  31. 11 May, 2022 1 commit
    • moto's avatar
      Move FFmpeg integrity test from conda smoke test to custom smoke test (#2381) · 9877f544
      moto authored
      Summary:
      Conda package build performs simple smoke test, which is different
      from smoke_test jobs we define on our CI jobs.
      
      Currently Conda packaging smoke test verifies the imporatability of
      `torchaudio.prototype.io`, which requires FFmpeg 4.
      
      1. We list FFmpeg 4 as runtime requirements, but this means that
      conda's dependency resolver takes FFmpeg 4 into consideration.
      FFmpeg 5 was release this year, and we can expect that user base
      will move to FFmpeg gradually. If user environment has some constraint
      on FFmpeg, torchaudio will have conflict and it will prevent users
      from install torchaudio.
      
      2. In #2377 the way optional dependency is checked/initialized is changed,
      so this Conda smoke test will no longer check the integrity with FFmpeg libraries.
      
      To solve the issues above, this commit moves the part that tests integrity with
      FFmpeg libraries to the smoke test we define on CircleCI.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2381
      
      Reviewed By: carolineechen
      
      Differential Revision: D36323706
      
      Pulled By: mthrok
      
      fbshipit-source-id: 57ca816e0f3ad8e16d21e56062f6ed8a09ab93a3
      9877f544
  32. 10 May, 2022 1 commit
  33. 06 May, 2022 1 commit
    • moto's avatar
      Use custom FFmpeg libraries for torchaudio binary distributions (#2355) · b7624c60
      moto authored
      Summary:
      This commit changes the way torchaudio binary distributions are built.
      
      * For all the binary distributions (conda/pip on Linux/macOS/Windnows), build custom FFmpeg libraries.
      * The custom FFmpeg libraries do not use `--use-gpl` nor `--use-nonfree`, so that they stay LGPL.
      * The custom FFmpeg libraries employ rpath so that the torchaudio binary distributions look for the corresponding FFmpeg libraries installed in the runtime environment.
      * The torchaudio binary build process will use them to bootstrap its build process.
      * The custom FFmpeg libraries are NOT shipped.
      
      This commit also add disclaimer about FFmpeg in README.
      
      Pull Request resolved: https://github.com/pytorch/audio/pull/2355
      
      Reviewed By: nateanl
      
      Differential Revision: D36202087
      
      Pulled By: mthrok
      
      fbshipit-source-id: c30e5222ba190106c897e42f567cac9152dbd8ef
      b7624c60