Skip to content

Commit 229ad6b

Browse files
committed
Merge branch 'main' into no_wrap_ctc_decoder
2 parents b0650da + a4512ff commit 229ad6b

File tree

126 files changed

+92
-20130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+92
-20130
lines changed

.github/scripts/unittest-linux/run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ fi
3434
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_inflect=true
3535
export TORCHAUDIO_TEST_ALLOW_SKIP_IF_NO_MOD_pytorch_lightning=true
3636
cd test
37-
pytest torchaudio_unittest -k "not backend and not /io/ and not prototype and not ffmpeg and not fairseq and not hdemucs and not (torchscript and rnnt) and not torchscript_consistency"
37+
pytest torchaudio_unittest -k "not torchscript and not fairseq and not demucs"
3838
)

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ if (USE_FFMPEG)
173173
message(STATUS "Building FFmpeg integration with multi version support")
174174
add_subdirectory(third_party/ffmpeg/multi)
175175
endif()
176-
add_subdirectory(src/libtorio/ffmpeg)
177176
endif()
178177
if (BUILD_CUDA_CTC_DECODER)
179178
if (NOT USE_CUDA)

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ Optional packages to install if you want to run related tests:
6161
- `librosa`
6262
- `requests`
6363
- `soundfile`
64-
- `kaldi_io`
6564
- `transformers`
6665
- `fairseq` (it has to be newer than `0.10.2`, so you will need to install from
6766
source. Commit `e6eddd80` is known to work.)

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ torchaudio: an audio library for PyTorch
88
![TorchAudio Logo](docs/source/_static/img/logo.png)
99

1010
> [!NOTE]
11-
> **We are in the process of refactoring TorchAudio and transitioning it into a
12-
> maintenance phase. This process will include removing some user-facing
13-
> features: those features are deprecated from TorchAudio 2.8 and will be removed in 2.9.
14-
> Our main goals are to reduce redundancies with the rest of the
11+
> **We have transitioned TorchAudio into a
12+
> maintenance phase. This process removed some user-facing
13+
> features. These features were deprecated from TorchAudio 2.8 and removed in 2.9.
14+
> Our main goals were to reduce redundancies with the rest of the
1515
> PyTorch ecosystem, make it easier to maintain, and create a version of
1616
> TorchAudio that is more tightly scoped to its strengths: processing audio
1717
> data for ML. Please see
@@ -27,9 +27,6 @@ processing library. The benefits of PyTorch can be seen in torchaudio through
2727
having all the computations be through PyTorch operations which makes it easy
2828
to use and feel like a natural extension.
2929

30-
- [Support audio I/O (Load files, Save files)](http://pytorch.org/audio/main/)
31-
- Load a variety of audio formats, such as `wav`, `mp3`, `ogg`, `flac`, `opus`, `sphere`, into a torch Tensor using SoX
32-
- [Kaldi (ark/scp)](http://pytorch.org/audio/main/kaldi_io.html)
3330
- [Dataloaders for common audio datasets](http://pytorch.org/audio/main/datasets.html)
3431
- Audio and speech processing functions
3532
- [forced_align](https://pytorch.org/audio/main/generated/torchaudio.functional.forced_align.html)
@@ -70,7 +67,7 @@ If you find this package useful, please cite as:
7067

7168
```bibtex
7269
@misc{hwang2023torchaudio,
73-
title={TorchAudio 2.1: Advancing speech recognition, self-supervised learning, and audio processing components for PyTorch},
70+
title={TorchAudio 2.1: Advancing speech recognition, self-supervised learning, and audio processing components for PyTorch},
7471
author={Jeff Hwang and Moto Hira and Caroline Chen and Xiaohui Zhang and Zhaoheng Ni and Guangzhi Sun and Pingchuan Ma and Ruizhe Huang and Vineel Pratap and Yuekai Zhang and Anurag Kumar and Chin-Yun Yu and Chuang Zhu and Chunxi Liu and Jacob Kahn and Mirco Ravanelli and Peng Sun and Shinji Watanabe and Yangyang Shi and Yumeng Tao and Robin Scheibler and Samuele Cornell and Sean Kim and Stavros Petridis},
7572
year={2023},
7673
eprint={2310.17864},

cmake/TorchAudioHelper.cmake

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,6 @@ function(torchaudio_library name source include_dirs link_libraries compile_defs
4141
)
4242
endfunction()
4343

44-
function(torio_library name source include_dirs link_libraries compile_defs)
45-
_library(
46-
torio/lib
47-
"${name}"
48-
"${source}"
49-
"${include_dirs}"
50-
"${link_libraries}"
51-
"${compile_defs}"
52-
)
53-
endfunction()
54-
5544
if (BUILD_TORCHAUDIO_PYTHON_EXTENSION)
5645
# See https://github.com/pytorch/pytorch/issues/38122
5746
find_library(TORCH_PYTHON_LIBRARY torch_python PATHS "${TORCH_INSTALL_PREFIX}/lib")
@@ -103,16 +92,6 @@ if (BUILD_TORCHAUDIO_PYTHON_EXTENSION)
10392
"${definitions}"
10493
)
10594
endfunction()
106-
function(torio_extension name sources include_dirs libraries definitions)
107-
_extension(
108-
torio/lib
109-
"${name}"
110-
"${sources}"
111-
"${include_dirs}"
112-
"${libraries}"
113-
"${definitions}"
114-
)
115-
endfunction()
11695
endif()
11796

11897

docs/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ docset: html
2424
# Catch-all target: route all unknown targets to Sphinx using the new
2525
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
2626
%: Makefile
27-
# doxygen source/Doxyfile
2827
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2928
@python post_process_dispatcher.py $(BUILDDIR)
3029

0 commit comments

Comments
 (0)