- 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
-