- 14 May, 2024 1 commit
-
-
Richard Barnes authored
Differential Revision: D57294298 Pull Request resolved: https://github.com/pytorch/audio/pull/3791
-
- 12 Oct, 2023 1 commit
-
-
moto-meta authored
Differential Revision: D50086556 Pull Request resolved: https://github.com/pytorch/audio/pull/3648
-
- 09 Oct, 2023 1 commit
-
-
moto-meta authored
Differential Revision: D49965263 Pull Request resolved: https://github.com/pytorch/audio/pull/3639
-
- 28 Jul, 2023 1 commit
-
-
moto authored
Summary: In https://github.com/pytorch/audio/issues/2419, we added ffmpeg as fallback for sox_io backend. The was a warkaround for solving the issue with libmad removal. Now that we introduced `backend` argument to I/O functions, and libsox integration is moved to dynamic binding where users can use libsox with libmad integration, we do not need the workaround. This commit is based on reverting https://github.com/pytorch/audio/issues/2416 (fd7ace17). Pull Request resolved: https://github.com/pytorch/audio/pull/3516 Reviewed By: huangruizhe Differential Revision: D47855272 Pulled By: mthrok fbshipit-source-id: 5af73af7865f6e545ccb052d478e86588ff2a014
-
- 30 May, 2023 1 commit
-
-
Moto Hira authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3383 This commit reduces `torchaudio::sox_*` namespace into `torchaudio::sox`. Also put Pybind11 registration and TorchBind registration into anonymous namescope. Differential Revision: D46257367 fbshipit-source-id: 0f0f181eaa72036916e223263daf4b7c298fca0d
-
- 13 Sep, 2022 1 commit
-
-
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
-
- 29 May, 2022 1 commit
-
-
moto authored
Summary: Preparation for upcoming change where load/info function will use fallback if sox_io backend cannot handle the input. Pull Request resolved: https://github.com/pytorch/audio/pull/2416 Reviewed By: carolineechen Differential Revision: D36736969 Pulled By: mthrok fbshipit-source-id: f804cfda3678f13bf0c2f6557a2f82ae42ae3c03
-
- 15 Sep, 2021 1 commit
-
-
hwangjeff authored
Applies style fixes identified in fbcode.
-
- 07 Sep, 2021 1 commit
-
-
moto authored
This PR moves the code related to PyBind11 to the dedicated directory `torchaudio/csrc/pybind`. Before, features related to PyBind11 (I/O for file-like object) was implemented in `torchaudio/csrc/sox` and the binding was defined in `torchaudio/csrc/pybind.cpp`. We used macro definition `TORCH_API_INCLUDE_EXTENSION_H` to turn on/off the feature, in addition to including/excluding `torchaudio/csrc/pybind.cpp` in the list of compiled source. In the previous manner, in C++ example, one had to rebuild libtorchaudio separately, but by splitting them completely at compile time, it should conceptually possible to distribute libtorchaudio within torchaudio Python package and reuse it for C++ example.
-
- 23 Feb, 2021 1 commit
-
-
Francisco Massa authored
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51319 We were going out of our way to accommodate `IValue::to<Tensor>` returning a copy of the inner Tensor. `IValue::toTensor` is capable of returning a reference without copying, so if we use it directly, we can allow kernels that want to take `Tensor &` to do so! As a bonus, we get reduced build times. ghstack-source-id: 121378961 Reviewed By: bhosmer Differential Revision: D26138549 fbshipit-source-id: b0f830527da360c542c815bef2f7e1692615b32a Co-authored-by:
Scott Wolchok <swolchok@fb.com>
-
- 19 Feb, 2021 1 commit
-
-
Eli Uriegas authored
After a9f5e7229 was merged into upstream pytorch the passing of references within torch c extension functions is no longer allowed. This just removes the reference and passes by value instead. Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
- 02 Feb, 2021 1 commit
-
-
Prabhat Roy authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 07 Jan, 2021 1 commit
-
-
moto authored
-
- 06 Jan, 2021 1 commit
-
-
moto authored
-
- 22 Dec, 2020 1 commit
-
-
moto authored
-
- 01 Dec, 2020 1 commit
-
-
moto authored
-
- 16 Jul, 2020 1 commit
-
-
moto authored
* Add sox_utils module * Make init/shutdown thread safe * Add sox effects implementation * Add test for sox effects * Update docstrings and add examples
-
- 08 Jul, 2020 1 commit
-
-
moto authored
-
- 25 Jun, 2020 1 commit
-
-
moto authored
-