Skip to content

Commit 10a5002

Browse files
Remove kaldi io module (#4054)
1 parent 053f365 commit 10a5002

File tree

10 files changed

+23
-490
lines changed

10 files changed

+23
-490
lines changed

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

docs/source/index.rst

Lines changed: 0 additions & 276 deletions
This file was deleted.

docs/source/installation.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ Optional Dependencies
8383

8484
Required for performing text-to-speech with :ref:`Tacotron2`.
8585

86-
* `kaldi_io <https://pypi.org/project/kaldi-io/>`__
87-
88-
Required to use :py:mod:`torchaudio.kaldi_io` module.
8986

9087

9188
Compatibility Matrix

docs/source/kaldi_io.rst

Lines changed: 0 additions & 50 deletions
This file was deleted.

docs/source/utils.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.. py:module:: torchaudio.utils
2+
3+
torchaudio.utils
4+
================
5+
6+
``torchaudio.utils`` module contains utility functions to configure the global state of third party libraries.
7+
8+
.. warning::
9+
Starting with version 2.8, we are refactoring TorchAudio to transition it
10+
into a maintenance phase. As a result:
11+
- ``sox_utils`` are deprecated in 2.8 and will be removed in 2.9.
12+
- The decoding and encoding capabilities of PyTorch for both audio and video
13+
are being consolidated into TorchCodec.
14+
Please see https://github.com/pytorch/audio/issues/3902 for more information.
15+
16+
.. currentmodule:: torchaudio.utils
17+
18+
.. autosummary::
19+
:toctree: generated
20+
:nosignatures:
21+
:template: autosummary/utils.rst
22+
23+
sox_utils

packaging/torchaudio/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ test:
5252
- torchaudio
5353
- torchaudio.io
5454
- torchaudio.datasets
55-
- torchaudio.kaldi_io
5655
- torchaudio.sox_effects
5756
- torchaudio.transforms
5857

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
torch
33

44
# Optional runtime dependencies
5-
kaldi_io
65
SoundFile
76

87
# For build and test-time dependencies please refer to CONTRIBUTING.md

0 commit comments

Comments
 (0)