- 20 Sep, 2022 1 commit
-
-
Omkar Salpekar authored
Summary: There is a single pre/post script needed for building torchaudio. This PR: 1. Removes the old conda-specific build script 2. Renames the wheel script to be a general name Pull Request resolved: https://github.com/pytorch/audio/pull/2695 Reviewed By: kit1980 Differential Revision: D39631971 Pulled By: osalpekar fbshipit-source-id: 52b49a6e792536b6264228c01ac356d247b18ea8
-
- 16 Sep, 2022 3 commits
-
-
moto authored
Summary: * Introduce the mini-index at `torchaudio.transforms` page. * Add "Augmentations" subsection. * Also updated the overall introduction. https://output.circle-artifacts.com/output/job/1b65246a-403c-4d2c-b97d-d1b582d8b4e5/artifacts/0/docs/transforms.html <img width="721" alt="Screen Shot 2022-09-16 at 5 20 08 PM" src="https://user-images.githubusercontent.com/855818/190591795-97c169db-a95b-480a-8d3c-d80072efa045.png"> <img width="755" alt="Screen Shot 2022-09-16 at 5 20 28 PM" src="https://user-images.githubusercontent.com/855818/190591828-03026918-febd-4194-91aa-7d8f704e17cc.png"> Pull Request resolved: https://github.com/pytorch/audio/pull/2683 Reviewed By: carolineechen Differential Revision: D39574255 Pulled By: mthrok fbshipit-source-id: a4beed7cacbb5184bad96efa903a3a1123dab627
-
moto authored
Summary: * Adopts `:autosummary:` in decoder module doc * Hide the constructor signature of `CTCDecoder` as `ctc_decoder` function is the one client code is supposed to be using. * Introduce `children` property to `CTCDecoderLMState` otherwise it does not show up in the doc. https://output.circle-artifacts.com/output/job/7aac5eb9-7d2d-4f63-bcdf-83a6f40b4e5a/artifacts/0/docs/models.decoder.html <img width="748" alt="Screen Shot 2022-09-16 at 5 23 22 PM" src="https://user-images.githubusercontent.com/855818/190592409-0c2ec8a4-d2cf-4d76-a965-8a570faaeb1a.png"> https://output.circle-artifacts.com/output/job/7aac5eb9-7d2d-4f63-bcdf-83a6f40b4e5a/artifacts/0/docs/generated/torchaudio.models.decoder.CTCDecoder.html#torchaudio.models.decoder.CTCDecoder <img width="723" alt="Screen Shot 2022-09-16 at 5 23 53 PM" src="https://user-images.githubusercontent.com/855818/190592501-3fad1e07-ae3e-44f5-93be-f33181025390.png"> Pull Request resolved: https://github.com/pytorch/audio/pull/2684 Reviewed By: carolineechen Differential Revision: D39574272 Pulled By: mthrok fbshipit-source-id: d977660bd46f5cf98c535adbf2735be896b28773
-
moto authored
Summary: This commit adopts :autosummary: directive to `torchaudio.io` module. It adds table of contents on `torchaudio.io` level. https://output.circle-artifacts.com/output/job/282089d1-c120-4d22-809f-0e0ac0947c37/artifacts/0/docs/io.html <img width="1094" alt="Screen Shot 2022-09-16 at 7 33 32 AM" src="https://user-images.githubusercontent.com/855818/190520248-27e469f8-7689-4dc2-b591-7b3f08bb4dff.png"> https://output.circle-artifacts.com/output/job/282089d1-c120-4d22-809f-0e0ac0947c37/artifacts/0/docs/generated/torchaudio.io.StreamReader.html#torchaudio.io.StreamReader <img width="1108" alt="Screen Shot 2022-09-16 at 7 33 59 AM" src="https://user-images.githubusercontent.com/855818/190520292-d090fed0-2f18-4961-b9f3-9e4808fd437e.png"> Pull Request resolved: https://github.com/pytorch/audio/pull/2681 Reviewed By: carolineechen Differential Revision: D39560459 Pulled By: mthrok fbshipit-source-id: 3de5f22b8d8d0834dfd8bac8619fbfaa44c5f4dd
-
- 15 Sep, 2022 4 commits
-
-
Andrey Talman authored
Summary: Usage setup-minicoda action for m1 build We want to try to address space issues on m1. The following action: ``` pytorch/test-infra/.github/actions/setup-miniconda@main ``` Sets up miniconda in temp folder which should be cleaned between runs Pull Request resolved: https://github.com/pytorch/audio/pull/2674 Reviewed By: jeanschmidt Differential Revision: D39540481 Pulled By: atalman fbshipit-source-id: 0596598ab6b2f99c775aa0c9e14a3a388533068d
-
moto authored
Summary: Previous versions of Sphinx reported wrong path for return class. This issue is fixed on the latest Sphinx. It allows to remove the patch we apply in `conf.py`. This is essential for the adoptation of `:autosummary:`, as it won't render correctly with the patch. https://output.circle-artifacts.com/output/job/19d93ede-08de-4b9e-9d66-67ca5dab964e/artifacts/0/docs/pipelines.html Pull Request resolved: https://github.com/pytorch/audio/pull/2678 Reviewed By: carolineechen Differential Revision: D39509447 Pulled By: mthrok fbshipit-source-id: e104bc6a87f32cba6c549a9fe8f2d1e489ee27e4
-
moto authored
Summary: To follow the change related to Linux Foundation movement. (we are still pinning the theme version so that our customization does not break randomly.) Pull Request resolved: https://github.com/pytorch/audio/pull/2679 Reviewed By: carolineechen Differential Revision: D39531566 Pulled By: mthrok fbshipit-source-id: 64353577d05f9dbda00dd9d10b9ebcedddfdce5b
-
moto authored
Summary: Preparation for the adoptation of `autosummary`. Replace `:footcite:` with `:cite:` and introduce dedicated reference page, as `:footcite:` does not work well with `autosummary`. Example: https://output.circle-artifacts.com/output/job/4da47ba6-d9c7-418e-b5b0-e9f8a146a6c3/artifacts/0/docs/datasets.html#cmuarctic https://output.circle-artifacts.com/output/job/4da47ba6-d9c7-418e-b5b0-e9f8a146a6c3/artifacts/0/docs/references.html Pull Request resolved: https://github.com/pytorch/audio/pull/2676 Reviewed By: carolineechen Differential Revision: D39509431 Pulled By: mthrok fbshipit-source-id: e6003dd01ec3eff3d598054690f61de8ee31ac9a
-
- 14 Sep, 2022 5 commits
-
-
Zhaoheng Ni authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2675 Reviewed By: carolineechen Differential Revision: D39515996 Pulled By: nateanl fbshipit-source-id: 5824375f6a758af21b6ad6c635dd06081663644f
-
moto authored
Summary: Currently, the way feature badges are generated assumes that both documentations and the supported features page are on the same level from the root. This does not work when we introduce `:autosummary:` which generates individual documentation pages one level below. This commit changes it so that links to the supported features page are properly relative from the documentation level. There is no appearance change from this commit. Pull Request resolved: https://github.com/pytorch/audio/pull/2677 Reviewed By: carolineechen Differential Revision: D39507451 Pulled By: mthrok fbshipit-source-id: f18da4201f0eb747586be21c8bd9a958217aebc2
-
Caroline Chen authored
Summary: modifications to ctc decoder LM docstrings on top of https://github.com/pytorch/audio/issues/2657 Pull Request resolved: https://github.com/pytorch/audio/pull/2658 Reviewed By: mthrok Differential Revision: D39468921 Pulled By: carolineechen fbshipit-source-id: c5497cc2fa22fb98a304d037e27c91bf68a9ad6a
-
Caroline Chen authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2673 Reviewed By: mthrok Differential Revision: D39507612 Pulled By: carolineechen fbshipit-source-id: 3a9ee53f72cabd6e3085c76867017be4a6ed7f53
-
Andrey Talman authored
Summary: CUDA 11.3 Removing. Core PR: https://github.com/pytorch/pytorch/pull/84866 cc malfet ptrblck Pull Request resolved: https://github.com/pytorch/audio/pull/2670 Reviewed By: malfet, osalpekar Differential Revision: D39449263 Pulled By: atalman fbshipit-source-id: f86bb119685ead3ffcabd92c4bb8076aecde4095
-
- 13 Sep, 2022 3 commits
-
-
Zhaoheng Ni authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2669 Reviewed By: carolineechen, mthrok Differential Revision: D39433560 Pulled By: nateanl fbshipit-source-id: 5b652b31c00badb37b27a32ac25b422a5bcc74cb
-
Anthony Tao authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2661 Fixed typo in `audio_data_augmentation_tutorial.py` Reviewed By: malfet, mthrok Differential Revision: D39352353 fbshipit-source-id: aea35dab03fb7422421948bd26716e10a8d65f92
-
Nikita Shulga authored
Summary: As it is a C++17 feature, and PyTorch and its extensions must still be C++14 compatible, as also specified in the top level CMakeLists.txt: https://github.com/pytorch/audio/blob/8a0d7b36f7821fe55175f0d4e3ca6299b3817a6c/CMakeLists.txt#L30 Otherwise, it pollutes build logs with noisy ``` /Users/runner/work/test-infra/test-infra/pytorch/audio/torchaudio/csrc/sox/pybind/io.cpp:12:21: warning: nested namespace definition is a C++17 extension; define each namespace separately [-Wc++17-extensions] namespace torchaudio::sox_io { ^~~~~~~~ { namespace sox_io ``` Pull Request resolved: https://github.com/pytorch/audio/pull/2663 Reviewed By: atalman, nateanl Differential Revision: D39362842 Pulled By: malfet fbshipit-source-id: f9659d4420f1cc0194990d531455cf59b66c26b9
-
- 12 Sep, 2022 1 commit
-
-
Caroline Chen authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2668 Reviewed By: nateanl, mthrok Differential Revision: D39433671 Pulled By: carolineechen fbshipit-source-id: 3545a5b4019832861c34fd8c05e5f8600fd80d5c
-
- 09 Sep, 2022 2 commits
-
-
Omkar Salpekar authored
Summary: We moved over to a new design for release workflows that encompass all the build logic in the test-infra repo (apart from custom pre-build and post-build scripts). Thus, we no longer need these caller workflows in the audio repo. This PR removes them entirely. Pull Request resolved: https://github.com/pytorch/audio/pull/2660 Reviewed By: seemethere Differential Revision: D39392456 Pulled By: osalpekar fbshipit-source-id: a8bdeb4738b91666abcdc883f6f8f1bf359f1d42
-
hwangjeff authored
Summary: `ConformerRNNTModule`'s initializer now accepts a SentencePiece model rather than a path to a model as input. This PR corrects `eval.py` accordingly. Pull Request resolved: https://github.com/pytorch/audio/pull/2666 Reviewed By: carolineechen Differential Revision: D39386968 Pulled By: hwangjeff fbshipit-source-id: 95a94dd898263d648650f7376c29810b1456d6c1
-
- 07 Sep, 2022 1 commit
-
-
moto authored
Summary: 1. Override class `__module__` attribute in `conf.py` so that no manual override is necessary 2. Fix SourceSeparationBundle member attribute Pull Request resolved: https://github.com/pytorch/audio/pull/2656 Reviewed By: carolineechen Differential Revision: D39293053 Pulled By: mthrok fbshipit-source-id: 2b8d6be1aee517d0e692043c26ac2438a787adc6
-
- 06 Sep, 2022 3 commits
-
-
Ravi Makhija authored
Summary: This PR is meant to address the bug raised in issue https://github.com/pytorch/audio/issues/2634. In particular, previously the Box Muller transform was used to generate Gaussian variates for dithering based on `torch.rand` uniform variates, but it was incorrectly implemented (e.g. the same uniform variate was used as input to the transform, rather than two different uniform variates), which led to a different (non-Gaussian) distribution. This PR instead uses `torch.randn` to generate the Gaussian variates. Pull Request resolved: https://github.com/pytorch/audio/pull/2639 Reviewed By: mthrok Differential Revision: D39101144 Pulled By: carolineechen fbshipit-source-id: 691e49679f6598ef0a1675f6f4ee721ef32215fd
-
Caroline Chen authored
Summary: Adding support for metadata mode, requested in https://github.com/pytorch/audio/issues/2539, by adding a public `get_metadata()` function in the dataset. This function can be used directly by users to fetch metadata for individual dataset indices, or users can subclass the dataset and override `__getitem__` with `get_metadata` to create a dataset class that directly handles metadata mode. Pull Request resolved: https://github.com/pytorch/audio/pull/2653 Reviewed By: nateanl, mthrok Differential Revision: D39105114 Pulled By: carolineechen fbshipit-source-id: 6f26f1402a053dffcfcc5d859f87271ed5923348
-
Peter Albert authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2655 Removed obsolete example and the corresponding test Reviewed By: mthrok Differential Revision: D39260253 fbshipit-source-id: 0bde71ffd75dd0c94a5cc4a9940f4648a5d61bd7
-
- 02 Sep, 2022 1 commit
-
-
moto authored
Summary: This commits add CUDA hardware encoding to StreamWriter. For certain video formats, it can encode video directly from CUDA Tensor, without needing to move the data to host CPU. Pull Request resolved: https://github.com/pytorch/audio/pull/2505 Reviewed By: hwangjeff Differential Revision: D37446830 Pulled By: mthrok fbshipit-source-id: eee6424f01a99a3b611dcad45ed58f86cba4672a
-
- 01 Sep, 2022 1 commit
-
-
moto authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2648 Reviewed By: nateanl Differential Revision: D38976874 Pulled By: mthrok fbshipit-source-id: 0541dea2a633d97000b4b8609ff6b83f6b82c864
-
- 26 Aug, 2022 3 commits
-
-
pbialecki authored
Summary: CC atalman Pull Request resolved: https://github.com/pytorch/audio/pull/2623 Reviewed By: hwangjeff, nateanl Differential Revision: D39036432 Pulled By: atalman fbshipit-source-id: cd74a1bf8f74e31bd2c32c80d32c617f4b1766e8
-
Omkar Salpekar authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2650 Reviewed By: mehtanirav Differential Revision: D39040559 Pulled By: osalpekar fbshipit-source-id: df39e23d7c246728793aab969b8dc1070af88d75
-
Caroline Chen authored
Summary: `bg_iterator` was deprecated in 0.11 because it was known to have issues (deadlock) without speed up. Remove instances of `bg_iterator` used in torchaudio examples. Resolves https://github.com/pytorch/audio/issues/2642 Pull Request resolved: https://github.com/pytorch/audio/pull/2645 Reviewed By: nateanl Differential Revision: D38954292 Pulled By: carolineechen fbshipit-source-id: 2333ab5228c2b8511ff532057543aaf9d02b2789
-
- 25 Aug, 2022 1 commit
-
-
Omkar Salpekar authored
Summary: Calling the reusable workflow introduced in https://github.com/pytorch/test-infra/pull/546 to build conda binaries on linux. Pull Request resolved: https://github.com/pytorch/audio/pull/2626 Reviewed By: mehtanirav Differential Revision: D39028057 Pulled By: osalpekar fbshipit-source-id: d74ea3771967d0ee2b0ad28a8f811a95145b2183
-
- 24 Aug, 2022 1 commit
-
-
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
-
- 23 Aug, 2022 2 commits
-
-
Ravi Makhija authored
Summary: Added example for LFCC transform as mentioned in issue https://github.com/pytorch/audio/issues/1564. Pull Request resolved: https://github.com/pytorch/audio/pull/2640 Reviewed By: carolineechen Differential Revision: D38908975 Pulled By: nateanl fbshipit-source-id: ffdd994390db7f27556b011a8050a65eef9cd09d
-
Omkar Salpekar authored
Summary: As part of Project Nova, we are consolidating CI/CD workflows and infra, making them reusable across PyTorch ecosystem libraries. https://github.com/pytorch/test-infra/pull/460 introduces a general-purpose reusable workflow to build linux wheels for python libraries. This PR introduces a caller workflow that triggers the reusable workflow. Details around modular env setup, passing input args across workflows, etc. are still being worked out. Using reusable workflow defined in https://github.com/pytorch/test-infra/pull/506 Pull Request resolved: https://github.com/pytorch/audio/pull/2548 Reviewed By: osalpekar Differential Revision: D38947733 Pulled By: mehtanirav fbshipit-source-id: 03ab88cef973a092f5c5d1ff8c74ec7ae7e46d01
-
- 22 Aug, 2022 2 commits
-
-
moto authored
Summary: The minor release fixes some gallery issue, which allows to remove some of the customization we had in https://github.com/pytorch/audio/issues/2629 https://output.circle-artifacts.com/output/job/553a9b98-8260-4cb4-a681-20ef97d2c33e/artifacts/0/docs/pipelines.html#torchaudio.pipelines.Wav2Vec2ASRBundle Pull Request resolved: https://github.com/pytorch/audio/pull/2638 Reviewed By: carolineechen, nateanl Differential Revision: D38909097 Pulled By: mthrok fbshipit-source-id: 78346d93b54fca2a19b28991c224324ef53221c9
-
Ravi Makhija authored
Summary: Added example for Loudness transform (implemented in PR https://github.com/pytorch/audio/issues/2472) as mentioned in issue https://github.com/pytorch/audio/issues/1564. Pull Request resolved: https://github.com/pytorch/audio/pull/2641 Reviewed By: nateanl Differential Revision: D38907782 Pulled By: carolineechen fbshipit-source-id: fd2bcc4bac3095a626ea9cf36cb70cb2bf003d63
-
- 20 Aug, 2022 1 commit
-
-
Ravi Makhija authored
Summary: Added example for MFCC transform as mentioned in issue https://github.com/pytorch/audio/issues/1564. Note: Python formatter package `black` uses double quotes for the string dict keys (e.g. in `melkwargs` for this example). Please let me know if there is a different linter/format/convention that is preferred! Pull Request resolved: https://github.com/pytorch/audio/pull/2637 Reviewed By: carolineechen Differential Revision: D38873729 Pulled By: nateanl fbshipit-source-id: 2e8fe2930671e7c5d02c0c37cf1ca5cc8c5079e3
-
- 19 Aug, 2022 2 commits
-
-
Moto Hira authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2636 At the early stage of torchaudio extension module, `torchaudio/csrc/pybind` directory was created so that all the code defining Python interface would be placed there and there will be only one extension module called `torchaudio._torchaudio`. However, the codebase has been evolved in a way separate extensions are defined for each feature (third party dependency) for the sake of more moduler file organization. What is left in `csrc/pybind` is libsox Python bindings. This commit moves it under `csrc/sox`. Follow-up rename `torchaudio._torchaudio` to `torchaudio._torchaudio_sox`. Reviewed By: carolineechen Differential Revision: D38829253 fbshipit-source-id: 3554af45a2beb0f902810c5548751264e093f28d
-
moto authored
Summary: Update compatibility matrix Pull Request resolved: https://github.com/pytorch/audio/pull/2633 Reviewed By: nateanl Differential Revision: D38827670 Pulled By: mthrok fbshipit-source-id: 5c66bf60a06e37919ee725a5f4adf571e6c89100
-
- 18 Aug, 2022 3 commits
-
-
moto authored
Summary: * Use download_asset * Remove notes around nightly * Print versions first * Remove duplicated import Pull Request resolved: https://github.com/pytorch/audio/pull/2631 Reviewed By: carolineechen Differential Revision: D38830395 Pulled By: mthrok fbshipit-source-id: c9259df33562defe249734d1ed074dac0fddc2f6
-
Ravi Makhija authored
Summary: Added example for InverseMelScale transform as mentioned in issue https://github.com/pytorch/audio/issues/1564. Pull Request resolved: https://github.com/pytorch/audio/pull/2635 Reviewed By: carolineechen Differential Revision: D38830318 Pulled By: nateanl fbshipit-source-id: fd26a700d495f6755db0767625aa8577cb89bd83
-
moto authored
Summary: Google Colab now has torchaudio 0.12 pre-installed. This commit removes the note about nightly build. Pull Request resolved: https://github.com/pytorch/audio/pull/2632 Reviewed By: carolineechen Differential Revision: D38827632 Pulled By: mthrok fbshipit-source-id: ac769780868b741c3012357d589ec0019d9af6eb
-