- 13 May, 2022 1 commit
-
-
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
-
- 11 May, 2022 1 commit
-
-
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
-
- 10 May, 2022 1 commit
-
-
Kyle Chen authored
Summary: previous update for rocm: https://github.com/pytorch/audio/pull/2186 Pull Request resolved: https://github.com/pytorch/audio/pull/2362 Reviewed By: seemethere Differential Revision: D36283672 Pulled By: mthrok fbshipit-source-id: bfd38940d027c8ccd72ab48991e5ab7f84b0e9c0
-
- 06 May, 2022 2 commits
-
-
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
-
moto authored
Summary: The smoke test jobs simply perform `import torchaudio` to check if the package artifacts are sane. Originally, the CI was executing it in the root directory. This was fine unless the source code is checked out. When source code is checked out, performing `import torchaudio` in root directory would import source torchaudio directory, instead of the installed package. This error is difficult to notice, so this commit introduces common script to perform the smoke test, while moving out of root directory. Pull Request resolved: https://github.com/pytorch/audio/pull/2365 Reviewed By: carolineechen Differential Revision: D36202069 Pulled By: mthrok fbshipit-source-id: 4396f85fec5c54869ada4c08f51304539f1b05cf
-
- 05 May, 2022 2 commits
-
-
moto authored
Summary: Currently smoke tests are only executed on nightly jobs. This is inconvenient as PRs that changes build process do not get the signal naturally. This commit changes it by always executing smoke tests. Pull Request resolved: https://github.com/pytorch/audio/pull/2364 Reviewed By: atalman Differential Revision: D36171267 Pulled By: mthrok fbshipit-source-id: e549965ba139b5992177b7a094d87c9ef4432a7f
-
Andrey Talman authored
Summary: This PR fixes Windows Smoke tests Tested via circleci : https://app.circleci.com/pipelines/github/pytorch/audio/10572/workflows/970fd791-25cc-4af4-8183-a7835e1891bf/jobs/637607 Pull Request resolved: https://github.com/pytorch/audio/pull/2361 Reviewed By: nateanl, mthrok Differential Revision: D36167317 Pulled By: atalman fbshipit-source-id: 1418ebffd74614cc1110dc032d16ee9502a7d571
-
- 28 Apr, 2022 2 commits
-
-
moto authored
Summary: libmad integration should be enabled only from source-build Pull Request resolved: https://github.com/pytorch/audio/pull/2354 Reviewed By: nateanl Differential Revision: D36012035 Pulled By: mthrok fbshipit-source-id: adeda8cbfd418f96245909cae6862b648a6915a7
-
Andrey Talman authored
Summary: Fix audio win smoke test to use GPU hosts for CUDA builds Pull Request resolved: https://github.com/pytorch/audio/pull/2353 Reviewed By: mthrok Differential Revision: D36006928 Pulled By: atalman fbshipit-source-id: a27c4cc34093810c8cc08e01188e09b474478001
-
- 26 Apr, 2022 1 commit
-
-
Andrey Talman authored
Summary: Fix for torchaudio windows tests Following is an example of such test failing: https://app.circleci.com/pipelines/github/pytorch/audio/9408/workflows/e6e5a05c-7080-4fdc-b478-2182aed5f234/jobs/531612 The following code is failing: `conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)` This is because the install package is generated in the following directory: `/workspace/conda-bld/win-64/` Pull Request resolved: https://github.com/pytorch/audio/pull/2350 Reviewed By: mthrok Differential Revision: D35912424 Pulled By: atalman fbshipit-source-id: fc4f66ffca24061cc768a5f1010b448f065b9410
-
- 25 Apr, 2022 1 commit
-
-
Andrey Talman authored
Summary: Fix python 3.10 smoke tests Pull Request resolved: https://github.com/pytorch/audio/pull/2348 Reviewed By: mthrok Differential Revision: D35906343 Pulled By: atalman fbshipit-source-id: 6dbb39e69c9751da4b86d5da38a6d11816d527c5
-
- 22 Apr, 2022 2 commits
-
-
Andrey Talman authored
Summary: Cuda 11.5 remove since we introduced cuda 11.6 Pull Request resolved: https://github.com/pytorch/audio/pull/2346 Reviewed By: mthrok Differential Revision: D35856758 Pulled By: atalman fbshipit-source-id: d3c0cf7639fd20f9ccc52c0738f247b8598f1ed7
-
Andrey Talman authored
Summary: Same change as done in this vision [PR](https://github.com/pytorch/vision/pull/5802) As Ubuntu-1604 runners will no longer be available in early May Update ubuntu-1604-cuda-10.1:201909-23 to ubuntu-2004-cuda-11.4:202110-01 Per [CircleCI Configuration reference](https://circleci.com/docs/2.0/configuration-reference/) Resolves https://github.com/pytorch/audio/issues/2279 Pull Request resolved: https://github.com/pytorch/audio/pull/2343 Reviewed By: mthrok Differential Revision: D35844880 Pulled By: atalman fbshipit-source-id: 318a9fa42455e55664f3da6ab67625cb969f72e6
-
- 21 Apr, 2022 1 commit
-
-
Andrey Talman authored
Summary: CUDA 11.6 for TorchAudio Pull Request resolved: https://github.com/pytorch/audio/pull/2328 Reviewed By: mthrok Differential Revision: D35826414 Pulled By: atalman fbshipit-source-id: 0a471f0566286d69c0c73191aea7fd5ac0647e5f
-
- 25 Feb, 2022 1 commit
-
-
Eli Uriegas authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2256 Limits scope of unittesting to one python version for both macOS and Windows. These types of workflows are particularly expensive and take a long time so running them on every PR / every push is a bit wasteful considering the value in signal between different python versions is probably negligible. Signed-off-by:
Eli Uriegas <eliuriegas@fb.com> Test Plan: Imported from OSS Reviewed By: mthrok Differential Revision: D34459626 Pulled By: seemethere fbshipit-source-id: 47f5c317027f1b395edf9c1720b1b33ba689cad5
-
- 24 Feb, 2022 2 commits
-
-
Eli Uriegas authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2259 We're deprecating support for CUDA 11.1 binaries since CUDA 11.3 should be forwards compatible with CUDA 11.1 drivers Signed-off-by:
Eli Uriegas <eliuriegas@fb.com> Test Plan: Imported from OSS Reviewed By: atalman Differential Revision: D34458400 Pulled By: seemethere fbshipit-source-id: 105d96a9a175a94d85ffe6e9abcce3c77163a72f
-
Andrey Talman authored
Summary: Adding py3.10 to audio Pull Request resolved: https://github.com/pytorch/audio/pull/2224 Reviewed By: malfet, atalman, mthrok Differential Revision: D34442377 Pulled By: seemethere fbshipit-source-id: 2656de73427063958d609a74c01b526a476cb06a
-
- 02 Feb, 2022 1 commit
-
-
Nikita Shulga authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2190 Reviewed By: mthrok Differential Revision: D33930129 Pulled By: malfet fbshipit-source-id: ddcbe79f6bdd3dc9b18c1dc337014142877b844b
-
- 01 Feb, 2022 1 commit
-
-
Nikita Shulga authored
Summary: Also, retire cuda-10.2 Pull Request resolved: https://github.com/pytorch/audio/pull/2186 Reviewed By: mthrok Differential Revision: D33917595 Pulled By: malfet fbshipit-source-id: 060d3fa706279fe45ffd1f4f99e5727520612d56
-
- 21 Jan, 2022 1 commit
-
-
Nikita Shulga authored
Summary: s/gpu.small/gpu.nvidia.medium/ Pull Request resolved: https://github.com/pytorch/audio/pull/1791 Reviewed By: mthrok Differential Revision: D33697984 Pulled By: malfet fbshipit-source-id: 0aacad6d4badf023753fa874c8b80c7f65170d0d
-
- 14 Jan, 2022 1 commit
-
-
moto authored
Summary: Currently, the doc build job uses `pytorch/manylinux-cuda100` as base environment image. This PR changes that with `python:3.X`. The problem with the previous one is - The image is unnecessarily huge with tools not needed for build doc. (+3GB) - No easy way to install ffmpeg>=4.1. https://518849-90321822-gh.circle-artifacts.com/0/docs/index.html Pull Request resolved: https://github.com/pytorch/audio/pull/2151 Reviewed By: carolineechen Differential Revision: D33585043 Pulled By: mthrok fbshipit-source-id: d6d2f6ab33511b8f5c7ca358bc6545e253c1b752
-
- 07 Jan, 2022 1 commit
-
-
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
-
- 05 Jan, 2022 2 commits
-
-
moto authored
Summary: Update the internal of `skipIfXXX` decorators so that tests in CI will not be automatically skipped. Currently we automatically skip some tests based on the availability of related features/test tools. This causes issues where we miss signals on certain important features. (CUDA on Windows) https://github.com/pytorch/audio/issues/1565 The new `skipIf` decorator will fail if in CI unless it is explicitly allowed to skip tests. It does so by checking `CI` and `TORCHAUDIO_TEST_ALLOW_SKIP_IF_XXX` environment variables. For non-CI environments, the behavior is same as before, but users can now set `TORCHAUDIO_TEST_ALLOW_SKIP_IF_XXX=false` to disallow the automatic skip. Results without `TORCHAUDIO_TEST_ALLOW_SKIP_IF_XXX` https://app.circleci.com/pipelines/github/pytorch/audio/9112/workflows/4e6db046-a1a2-4965-b0fe-d5baf4a1efac Pull Request resolved: https://github.com/pytorch/audio/pull/2127 Reviewed By: hwangjeff Differential Revision: D33430711 Pulled By: mthrok fbshipit-source-id: d8954dd720469c5ab0f34ea062fd8cf04a8afa3e
-
moto authored
Summary: This change adds a minimal ffmpeg installation step to the build wheel job so that later, we can use the resulting ffmpeg libraries for building torchaudio's ffmpeg-features. The linux wheel build jobs run in CentOS 8 based environment, which does not provide an easy way to install ffmpeg without conda. After https://github.com/pytorch/audio/pull/2124 is merged, then we can enable the ffmpeg-feature build in Linux wheel. Pull Request resolved: https://github.com/pytorch/audio/pull/2137 Reviewed By: carolineechen Differential Revision: D33430032 Pulled By: mthrok fbshipit-source-id: bf946d394c0718ddbdc679d7970befc3221982b9
-
- 04 Jan, 2022 2 commits
-
-
moto authored
Summary: This commit enable ffmpeg-feature build on wheel-based binary distribution on macOS. For macOS, since the underlying Python env is Conda, it installs `ffmpeg` from conda. Depends on https://github.com/pytorch/audio/issues/1873 Pull Request resolved: https://github.com/pytorch/audio/pull/2122 Reviewed By: carolineechen, nateanl Differential Revision: D33409113 Pulled By: mthrok fbshipit-source-id: a73839087548010353422109b33e89e262c12a57
-
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
-
- 31 Dec, 2021 1 commit
-
-
Werner Chao authored
Summary: As per item 2 on [issue 2051](https://github.com/pytorch/audio/issues/2051), dropping support for python 3.6. Removed 3.6 from test matrix and ran `.circleci/regenerate.py `. Pull Request resolved: https://github.com/pytorch/audio/pull/2119 Reviewed By: mthrok Differential Revision: D33379542 Pulled By: wernerchao fbshipit-source-id: 6d0fb51b18c2fa7c8cf4eeee4a7f19c4a5210fac
-
- 30 Dec, 2021 1 commit
-
-
Joao Gomes authored
Summary: cc mthrok Pull Request resolved: https://github.com/pytorch/audio/pull/2116 Reviewed By: mthrok Differential Revision: D33368453 Pulled By: jdsgomes fbshipit-source-id: 09cf3fe5ed6f771c2f16505633c0e59b0c27453c
-
- 28 Dec, 2021 1 commit
-
-
moto authored
Summary: *Before* <img width="1094" alt="Screen Shot 2021-12-24 at 12 34 14 PM" src="https://user-images.githubusercontent.com/855818/147367213-b1e539c1-6e06-4e9b-aaf4-0458c502379b.png"> *After* https://app.circleci.com/pipelines/github/pytorch/audio/8870/workflows/0445f1ac-ad48-412f-8045-2400d0cef4f4/jobs/482060 <img width="1096" alt="Screen Shot 2021-12-24 at 12 33 32 PM" src="https://user-images.githubusercontent.com/855818/147367210-a9b759bb-f992-4dc1-9359-0ec3912b3070.png"> Pull Request resolved: https://github.com/pytorch/audio/pull/2102 Reviewed By: carolineechen Differential Revision: D33311253 Pulled By: mthrok fbshipit-source-id: 6944921a8be58a2062b66a7dfd2c7ffe8c0866c3
-
- 23 Dec, 2021 1 commit
-
-
moto authored
Summary: Follow-up of https://github.com/pytorch/audio/issues/2086 The CI job to download the third party code and cache daily has not been properly updated. Pull Request resolved: https://github.com/pytorch/audio/pull/2095 Reviewed By: hwangjeff Differential Revision: D33291738 Pulled By: mthrok fbshipit-source-id: 6fc61f76b35c6f032085eda9d6053eefd2a1e0a9
-
- 22 Dec, 2021 1 commit
-
-
Joao Gomes authored
Summary: After discussing with Moto Hira, we decided to revert linting exemptions introduced previously in order to keep the entire audio project as formatted as possible, to reduce the time we spend on formatting discussion. Pull Request resolved: https://github.com/pytorch/audio/pull/2087 Reviewed By: mthrok Differential Revision: D33236949 Pulled By: jdsgomes fbshipit-source-id: e13079f532c4534d8a168059b0ded6fa375fdecf
-
- 20 Dec, 2021 1 commit
-
-
moto authored
Summary: Previously sox-related third-party source code was archived at `third_party/sox/archives`. Recently KenLM-related third-party source code was added and they are archived at `third_party/archives`. This PR changes the sox archive location to `third_party/archives`, so that all the archvies are cached at the same location. Pull Request resolved: https://github.com/pytorch/audio/pull/2086 Reviewed By: carolineechen Differential Revision: D33236927 Pulled By: mthrok fbshipit-source-id: 2f2aa5f4b386fefb46d7c98f7179c04995219f3c
-
- 11 Dec, 2021 1 commit
-
-
Andrey Talman authored
Summary: cc peterjc123 maxluk nbcsm guyang3532 gunandrose4u smartcat2010 mszhanyi Pull Request resolved: https://github.com/pytorch/audio/pull/2067 Reviewed By: seemethere Differential Revision: D33032607 Pulled By: atalman fbshipit-source-id: a5767e9af27690d3a7ab762ddf30178b3069cd35
-
- 10 Dec, 2021 1 commit
-
-
Joao Gomes authored
Summary: Following up on [this comment ](https://github.com/pytorch/audio/pull/2056#issuecomment-988356439) I am separating the config changes from the formatting. cc NicolasHug mthrok Pull Request resolved: https://github.com/pytorch/audio/pull/2066 Reviewed By: mthrok Differential Revision: D32990377 Pulled By: jdsgomes fbshipit-source-id: 67a6251a51901702ad10ae43c35609a09cbf5c5c
-
- 23 Nov, 2021 1 commit
-
-
moto authored
Summary: The sox_effects test in `concurrent.future.ThreadPoolExecutor` started failing since couple of days. While investigate this, skipping the test. Pull Request resolved: https://github.com/pytorch/audio/pull/2025 Reviewed By: nateanl Differential Revision: D32615933 Pulled By: mthrok fbshipit-source-id: 4f7301c0d3c0d11f687011e42e06d9c87ce4197f
-
- 27 Oct, 2021 1 commit
-
-
moto authored
-
- 21 Oct, 2021 1 commit
-
-
Matti Picus authored
-
- 19 Oct, 2021 1 commit
-
-
Caroline Chen authored
-
- 11 Oct, 2021 2 commits
-
-
Yi Zhang authored
* set cu113 for unittest_windows_gpu * fix old logic * Update .circleci/regenerate.py Co-authored-by:Nikita Shulga <nikita.shulga@gmail.com>
-
Nikita Shulga authored
* Limit Windows GPU testing to CUDA-11.3 only Which is the only CUDA version that planned to be supported on Windows for the upcoming release * Move unittests to 11.3 as well
-