torchaudio 2.7.0__cp313-cp313-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of torchaudio might be problematic. Click here for more details.

Files changed (148) hide show
  1. torchaudio/__init__.py +53 -0
  2. torchaudio/_backend/__init__.py +61 -0
  3. torchaudio/_backend/backend.py +53 -0
  4. torchaudio/_backend/common.py +52 -0
  5. torchaudio/_backend/ffmpeg.py +334 -0
  6. torchaudio/_backend/soundfile.py +54 -0
  7. torchaudio/_backend/soundfile_backend.py +457 -0
  8. torchaudio/_backend/sox.py +91 -0
  9. torchaudio/_backend/utils.py +317 -0
  10. torchaudio/_extension/__init__.py +74 -0
  11. torchaudio/_extension/utils.py +180 -0
  12. torchaudio/_internal/__init__.py +10 -0
  13. torchaudio/_internal/module_utils.py +113 -0
  14. torchaudio/backend/__init__.py +8 -0
  15. torchaudio/backend/_no_backend.py +25 -0
  16. torchaudio/backend/_sox_io_backend.py +294 -0
  17. torchaudio/backend/common.py +13 -0
  18. torchaudio/backend/no_backend.py +14 -0
  19. torchaudio/backend/soundfile_backend.py +14 -0
  20. torchaudio/backend/sox_io_backend.py +14 -0
  21. torchaudio/compliance/__init__.py +5 -0
  22. torchaudio/compliance/kaldi.py +813 -0
  23. torchaudio/datasets/__init__.py +47 -0
  24. torchaudio/datasets/cmuarctic.py +157 -0
  25. torchaudio/datasets/cmudict.py +186 -0
  26. torchaudio/datasets/commonvoice.py +86 -0
  27. torchaudio/datasets/dr_vctk.py +121 -0
  28. torchaudio/datasets/fluentcommands.py +108 -0
  29. torchaudio/datasets/gtzan.py +1118 -0
  30. torchaudio/datasets/iemocap.py +147 -0
  31. torchaudio/datasets/librilight_limited.py +111 -0
  32. torchaudio/datasets/librimix.py +133 -0
  33. torchaudio/datasets/librispeech.py +174 -0
  34. torchaudio/datasets/librispeech_biasing.py +189 -0
  35. torchaudio/datasets/libritts.py +168 -0
  36. torchaudio/datasets/ljspeech.py +107 -0
  37. torchaudio/datasets/musdb_hq.py +139 -0
  38. torchaudio/datasets/quesst14.py +136 -0
  39. torchaudio/datasets/snips.py +157 -0
  40. torchaudio/datasets/speechcommands.py +183 -0
  41. torchaudio/datasets/tedlium.py +218 -0
  42. torchaudio/datasets/utils.py +54 -0
  43. torchaudio/datasets/vctk.py +143 -0
  44. torchaudio/datasets/voxceleb1.py +309 -0
  45. torchaudio/datasets/yesno.py +89 -0
  46. torchaudio/functional/__init__.py +127 -0
  47. torchaudio/functional/_alignment.py +128 -0
  48. torchaudio/functional/filtering.py +1670 -0
  49. torchaudio/functional/functional.py +2535 -0
  50. torchaudio/io/__init__.py +13 -0
  51. torchaudio/io/_effector.py +347 -0
  52. torchaudio/io/_playback.py +72 -0
  53. torchaudio/kaldi_io.py +144 -0
  54. torchaudio/lib/__init__.py +0 -0
  55. torchaudio/lib/_torchaudio.so +0 -0
  56. torchaudio/lib/_torchaudio_sox.so +0 -0
  57. torchaudio/lib/libctc_prefix_decoder.so +0 -0
  58. torchaudio/lib/libtorchaudio.so +0 -0
  59. torchaudio/lib/libtorchaudio_sox.so +0 -0
  60. torchaudio/lib/pybind11_prefixctc.so +0 -0
  61. torchaudio/models/__init__.py +85 -0
  62. torchaudio/models/_hdemucs.py +1008 -0
  63. torchaudio/models/conformer.py +293 -0
  64. torchaudio/models/conv_tasnet.py +330 -0
  65. torchaudio/models/decoder/__init__.py +46 -0
  66. torchaudio/models/decoder/_ctc_decoder.py +568 -0
  67. torchaudio/models/decoder/_cuda_ctc_decoder.py +187 -0
  68. torchaudio/models/deepspeech.py +84 -0
  69. torchaudio/models/emformer.py +884 -0
  70. torchaudio/models/rnnt.py +816 -0
  71. torchaudio/models/rnnt_decoder.py +339 -0
  72. torchaudio/models/squim/__init__.py +11 -0
  73. torchaudio/models/squim/objective.py +326 -0
  74. torchaudio/models/squim/subjective.py +150 -0
  75. torchaudio/models/tacotron2.py +1046 -0
  76. torchaudio/models/wav2letter.py +72 -0
  77. torchaudio/models/wav2vec2/__init__.py +45 -0
  78. torchaudio/models/wav2vec2/components.py +1167 -0
  79. torchaudio/models/wav2vec2/model.py +1579 -0
  80. torchaudio/models/wav2vec2/utils/__init__.py +7 -0
  81. torchaudio/models/wav2vec2/utils/import_fairseq.py +213 -0
  82. torchaudio/models/wav2vec2/utils/import_huggingface.py +134 -0
  83. torchaudio/models/wav2vec2/wavlm_attention.py +214 -0
  84. torchaudio/models/wavernn.py +409 -0
  85. torchaudio/pipelines/__init__.py +102 -0
  86. torchaudio/pipelines/_source_separation_pipeline.py +109 -0
  87. torchaudio/pipelines/_squim_pipeline.py +156 -0
  88. torchaudio/pipelines/_tts/__init__.py +16 -0
  89. torchaudio/pipelines/_tts/impl.py +385 -0
  90. torchaudio/pipelines/_tts/interface.py +255 -0
  91. torchaudio/pipelines/_tts/utils.py +228 -0
  92. torchaudio/pipelines/_wav2vec2/__init__.py +0 -0
  93. torchaudio/pipelines/_wav2vec2/aligner.py +87 -0
  94. torchaudio/pipelines/_wav2vec2/impl.py +1699 -0
  95. torchaudio/pipelines/_wav2vec2/utils.py +346 -0
  96. torchaudio/pipelines/rnnt_pipeline.py +380 -0
  97. torchaudio/prototype/__init__.py +0 -0
  98. torchaudio/prototype/datasets/__init__.py +4 -0
  99. torchaudio/prototype/datasets/musan.py +67 -0
  100. torchaudio/prototype/functional/__init__.py +26 -0
  101. torchaudio/prototype/functional/_dsp.py +433 -0
  102. torchaudio/prototype/functional/_rir.py +379 -0
  103. torchaudio/prototype/functional/functional.py +190 -0
  104. torchaudio/prototype/models/__init__.py +36 -0
  105. torchaudio/prototype/models/_conformer_wav2vec2.py +794 -0
  106. torchaudio/prototype/models/_emformer_hubert.py +333 -0
  107. torchaudio/prototype/models/conv_emformer.py +525 -0
  108. torchaudio/prototype/models/hifi_gan.py +336 -0
  109. torchaudio/prototype/models/rnnt.py +711 -0
  110. torchaudio/prototype/models/rnnt_decoder.py +399 -0
  111. torchaudio/prototype/pipelines/__init__.py +12 -0
  112. torchaudio/prototype/pipelines/_vggish/__init__.py +3 -0
  113. torchaudio/prototype/pipelines/_vggish/_vggish_impl.py +233 -0
  114. torchaudio/prototype/pipelines/_vggish/_vggish_pipeline.py +82 -0
  115. torchaudio/prototype/pipelines/hifigan_pipeline.py +228 -0
  116. torchaudio/prototype/pipelines/rnnt_pipeline.py +58 -0
  117. torchaudio/prototype/transforms/__init__.py +9 -0
  118. torchaudio/prototype/transforms/_transforms.py +456 -0
  119. torchaudio/sox_effects/__init__.py +10 -0
  120. torchaudio/sox_effects/sox_effects.py +272 -0
  121. torchaudio/transforms/__init__.py +75 -0
  122. torchaudio/transforms/_multi_channel.py +467 -0
  123. torchaudio/transforms/_transforms.py +2137 -0
  124. torchaudio/utils/__init__.py +11 -0
  125. torchaudio/utils/download.py +89 -0
  126. torchaudio/utils/ffmpeg_utils.py +11 -0
  127. torchaudio/utils/sox_utils.py +99 -0
  128. torchaudio/version.py +2 -0
  129. torchaudio-2.7.0.dist-info/LICENSE +25 -0
  130. torchaudio-2.7.0.dist-info/METADATA +124 -0
  131. torchaudio-2.7.0.dist-info/RECORD +148 -0
  132. torchaudio-2.7.0.dist-info/WHEEL +5 -0
  133. torchaudio-2.7.0.dist-info/top_level.txt +2 -0
  134. torio/__init__.py +8 -0
  135. torio/_extension/__init__.py +13 -0
  136. torio/_extension/utils.py +147 -0
  137. torio/io/__init__.py +9 -0
  138. torio/io/_streaming_media_decoder.py +978 -0
  139. torio/io/_streaming_media_encoder.py +502 -0
  140. torio/lib/__init__.py +0 -0
  141. torio/lib/_torio_ffmpeg4.so +0 -0
  142. torio/lib/_torio_ffmpeg5.so +0 -0
  143. torio/lib/_torio_ffmpeg6.so +0 -0
  144. torio/lib/libtorio_ffmpeg4.so +0 -0
  145. torio/lib/libtorio_ffmpeg5.so +0 -0
  146. torio/lib/libtorio_ffmpeg6.so +0 -0
  147. torio/utils/__init__.py +4 -0
  148. torio/utils/ffmpeg_utils.py +247 -0
@@ -0,0 +1,11 @@
1
+ from torio.utils import ffmpeg_utils
2
+
3
+ from . import sox_utils
4
+ from .download import download_asset
5
+
6
+
7
+ __all__ = [
8
+ "download_asset",
9
+ "sox_utils",
10
+ "ffmpeg_utils",
11
+ ]
@@ -0,0 +1,89 @@
1
+ import hashlib
2
+ import logging
3
+ from os import PathLike
4
+ from pathlib import Path
5
+ from typing import Union
6
+
7
+ import torch
8
+ from torchaudio._internal import download_url_to_file
9
+
10
+ _LG = logging.getLogger(__name__)
11
+
12
+
13
+ def _get_local_path(key):
14
+ path = Path(torch.hub.get_dir()) / "torchaudio" / Path(key)
15
+ path.parent.mkdir(parents=True, exist_ok=True)
16
+ return path
17
+
18
+
19
+ def _download(key, path, progress):
20
+ url = f"https://download.pytorch.org/torchaudio/{key}"
21
+ download_url_to_file(url, path, progress=progress)
22
+
23
+
24
+ def _get_hash(path, hash, chunk_size=1028):
25
+ m = hashlib.sha256()
26
+ with open(path, "rb") as file:
27
+ data = file.read(chunk_size)
28
+ while data:
29
+ m.update(data)
30
+ data = file.read(chunk_size)
31
+ return m.hexdigest()
32
+
33
+
34
+ def download_asset(
35
+ key: str,
36
+ hash: str = "",
37
+ path: Union[str, PathLike] = "",
38
+ *,
39
+ progress: bool = True,
40
+ ) -> str:
41
+ """Download and store torchaudio assets to local file system.
42
+
43
+ If a file exists at the download path, then that path is returned with or without
44
+ hash validation.
45
+
46
+ Args:
47
+ key (str): The asset identifier.
48
+ hash (str, optional):
49
+ The value of SHA256 hash of the asset. If provided, it is used to verify
50
+ the downloaded / cached object. If not provided, then no hash validation
51
+ is performed. This means if a file exists at the download path, then the path
52
+ is returned as-is without verifying the identity of the file.
53
+ path (path-like object, optional):
54
+ By default, the downloaded asset is saved in a directory under
55
+ :py:func:`torch.hub.get_dir` and intermediate directories based on the given `key`
56
+ are created.
57
+ This argument can be used to overwrite the target location.
58
+ When this argument is provided, all the intermediate directories have to be
59
+ created beforehand.
60
+ progress (bool): Whether to show progress bar for downloading. Default: ``True``.
61
+
62
+ Note:
63
+ Currently the valid key values are the route on ``download.pytorch.org/torchaudio``,
64
+ but this is an implementation detail.
65
+
66
+ Returns:
67
+ str: The path to the asset on the local file system.
68
+ """
69
+ path = path or _get_local_path(key)
70
+
71
+ if path.exists():
72
+ _LG.info("The local file (%s) exists. Skipping the download.", path)
73
+ else:
74
+ _LG.info("Downloading %s to %s", key, path)
75
+ _download(key, path, progress=progress)
76
+
77
+ if hash:
78
+ _LG.info("Verifying the hash value.")
79
+ digest = _get_hash(path, hash)
80
+
81
+ if digest != hash:
82
+ raise ValueError(
83
+ f"The hash value of the downloaded file ({path}), '{digest}' does not match "
84
+ f"the provided hash value, '{hash}'."
85
+ )
86
+
87
+ _LG.info("Hash validated.")
88
+
89
+ return str(path)
@@ -0,0 +1,11 @@
1
+ """Module to change the configuration of FFmpeg libraries (such as libavformat).
2
+
3
+ It affects functionalities in :py:mod:`torchaudio.io` (and indirectly :py:func:`torchaudio.load`).
4
+ """
5
+
6
+
7
+ # This file is just for BC.
8
+ def __getattr__(item):
9
+ from torio.utils import ffmpeg_utils
10
+
11
+ return getattr(ffmpeg_utils, item)
@@ -0,0 +1,99 @@
1
+ """Module to change the configuration of libsox, which is used by I/O functions like
2
+ :py:mod:`~torchaudio.backend.sox_io_backend` and :py:mod:`~torchaudio.sox_effects`.
3
+ """
4
+
5
+ from typing import Dict, List
6
+
7
+ import torchaudio
8
+
9
+ sox_ext = torchaudio._extension.lazy_import_sox_ext()
10
+
11
+
12
+ def set_seed(seed: int):
13
+ """Set libsox's PRNG
14
+
15
+ Args:
16
+ seed (int): seed value. valid range is int32.
17
+
18
+ See Also:
19
+ http://sox.sourceforge.net/sox.html
20
+ """
21
+ sox_ext.set_seed(seed)
22
+
23
+
24
+ def set_verbosity(verbosity: int):
25
+ """Set libsox's verbosity
26
+
27
+ Args:
28
+ verbosity (int): Set verbosity level of libsox.
29
+
30
+ * ``1`` failure messages
31
+ * ``2`` warnings
32
+ * ``3`` details of processing
33
+ * ``4``-``6`` increasing levels of debug messages
34
+
35
+ See Also:
36
+ http://sox.sourceforge.net/sox.html
37
+ """
38
+ sox_ext.set_verbosity(verbosity)
39
+
40
+
41
+ def set_buffer_size(buffer_size: int):
42
+ """Set buffer size for sox effect chain
43
+
44
+ Args:
45
+ buffer_size (int): Set the size in bytes of the buffers used for processing audio.
46
+
47
+ See Also:
48
+ http://sox.sourceforge.net/sox.html
49
+ """
50
+ sox_ext.set_buffer_size(buffer_size)
51
+
52
+
53
+ def set_use_threads(use_threads: bool):
54
+ """Set multithread option for sox effect chain
55
+
56
+ Args:
57
+ use_threads (bool): When ``True``, enables ``libsox``'s parallel effects channels processing.
58
+ To use mutlithread, the underlying ``libsox`` has to be compiled with OpenMP support.
59
+
60
+ See Also:
61
+ http://sox.sourceforge.net/sox.html
62
+ """
63
+ sox_ext.set_use_threads(use_threads)
64
+
65
+
66
+ def list_effects() -> Dict[str, str]:
67
+ """List the available sox effect names
68
+
69
+ Returns:
70
+ Dict[str, str]: Mapping from ``effect name`` to ``usage``
71
+ """
72
+ return dict(sox_ext.list_effects())
73
+
74
+
75
+ def list_read_formats() -> List[str]:
76
+ """List the supported audio formats for read
77
+
78
+ Returns:
79
+ List[str]: List of supported audio formats
80
+ """
81
+ return sox_ext.list_read_formats()
82
+
83
+
84
+ def list_write_formats() -> List[str]:
85
+ """List the supported audio formats for write
86
+
87
+ Returns:
88
+ List[str]: List of supported audio formats
89
+ """
90
+ return sox_ext.list_write_formats()
91
+
92
+
93
+ def get_buffer_size() -> int:
94
+ """Get buffer size for sox effect chain
95
+
96
+ Returns:
97
+ int: size in bytes of buffers used for processing audio.
98
+ """
99
+ return sox_ext.get_buffer_size()
torchaudio/version.py ADDED
@@ -0,0 +1,2 @@
1
+ __version__ = '2.7.0+cu126'
2
+ git_version = '654fee8fd17784271be1637eac1293fd834b4e9a'
@@ -0,0 +1,25 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2017 Facebook Inc. (Soumith Chintala),
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ * Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ * Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,124 @@
1
+ Metadata-Version: 2.2
2
+ Name: torchaudio
3
+ Version: 2.7.0
4
+ Summary: An audio package for PyTorch
5
+ Home-page: https://github.com/pytorch/audio
6
+ Author: Soumith Chintala, David Pollack, Sean Naren, Peter Goldsborough, Moto Hira, Caroline Chen, Jeff Hwang, Zhaoheng Ni, Xiaohui Zhang
7
+ Author-email: soumith@pytorch.org
8
+ Maintainer: Moto Hira, Caroline Chen, Jeff Hwang, Zhaoheng Ni, Xiaohui Zhang
9
+ Maintainer-email: moto@meta.com
10
+ Classifier: Environment :: Plugins
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: License :: OSI Approved :: BSD License
14
+ Classifier: Operating System :: MacOS :: MacOS X
15
+ Classifier: Operating System :: Microsoft :: Windows
16
+ Classifier: Operating System :: POSIX
17
+ Classifier: Programming Language :: C++
18
+ Classifier: Programming Language :: Python :: 3.9
19
+ Classifier: Programming Language :: Python :: 3.10
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: Implementation :: CPython
24
+ Classifier: Topic :: Multimedia :: Sound/Audio
25
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: torch==2.7.0
29
+ Dynamic: author
30
+ Dynamic: author-email
31
+ Dynamic: classifier
32
+ Dynamic: description
33
+ Dynamic: description-content-type
34
+ Dynamic: home-page
35
+ Dynamic: maintainer
36
+ Dynamic: maintainer-email
37
+ Dynamic: requires-dist
38
+ Dynamic: summary
39
+
40
+ torchaudio: an audio library for PyTorch
41
+ ========================================
42
+
43
+ [![Documentation](https://img.shields.io/badge/dynamic/json.svg?label=docs&url=https%3A%2F%2Fpypi.org%2Fpypi%2Ftorchaudio%2Fjson&query=%24.info.version&colorB=brightgreen&prefix=v)](https://pytorch.org/audio/main/)
44
+ [![Anaconda Badge](https://anaconda.org/pytorch/torchaudio/badges/downloads.svg)](https://anaconda.org/pytorch/torchaudio)
45
+ [![Anaconda-Server Badge](https://anaconda.org/pytorch/torchaudio/badges/platforms.svg)](https://anaconda.org/pytorch/torchaudio)
46
+
47
+ ![TorchAudio Logo](docs/source/_static/img/logo.png)
48
+
49
+ The aim of torchaudio is to apply [PyTorch](https://github.com/pytorch/pytorch) to
50
+ the audio domain. By supporting PyTorch, torchaudio follows the same philosophy
51
+ of providing strong GPU acceleration, having a focus on trainable features through
52
+ the autograd system, and having consistent style (tensor names and dimension names).
53
+ Therefore, it is primarily a machine learning library and not a general signal
54
+ processing library. The benefits of PyTorch can be seen in torchaudio through
55
+ having all the computations be through PyTorch operations which makes it easy
56
+ to use and feel like a natural extension.
57
+
58
+ - [Support audio I/O (Load files, Save files)](http://pytorch.org/audio/main/)
59
+ - Load a variety of audio formats, such as `wav`, `mp3`, `ogg`, `flac`, `opus`, `sphere`, into a torch Tensor using SoX
60
+ - [Kaldi (ark/scp)](http://pytorch.org/audio/main/kaldi_io.html)
61
+ - [Dataloaders for common audio datasets](http://pytorch.org/audio/main/datasets.html)
62
+ - Audio and speech processing functions
63
+ - [forced_align](https://pytorch.org/audio/main/generated/torchaudio.functional.forced_align.html)
64
+ - Common audio transforms
65
+ - [Spectrogram, AmplitudeToDB, MelScale, MelSpectrogram, MFCC, MuLawEncoding, MuLawDecoding, Resample](http://pytorch.org/audio/main/transforms.html)
66
+ - Compliance interfaces: Run code using PyTorch that align with other libraries
67
+ - [Kaldi: spectrogram, fbank, mfcc](https://pytorch.org/audio/main/compliance.kaldi.html)
68
+
69
+ Installation
70
+ ------------
71
+
72
+ Please refer to https://pytorch.org/audio/main/installation.html for installation and build process of TorchAudio.
73
+
74
+
75
+ API Reference
76
+ -------------
77
+
78
+ API Reference is located here: http://pytorch.org/audio/main/
79
+
80
+ Contributing Guidelines
81
+ -----------------------
82
+
83
+ Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md)
84
+
85
+ Citation
86
+ --------
87
+
88
+ If you find this package useful, please cite as:
89
+
90
+ ```bibtex
91
+ @article{yang2021torchaudio,
92
+ title={TorchAudio: Building Blocks for Audio and Speech Processing},
93
+ author={Yao-Yuan Yang and Moto Hira and Zhaoheng Ni and Anjali Chourdia and Artyom Astafurov and Caroline Chen and Ching-Feng Yeh and Christian Puhrsch and David Pollack and Dmitriy Genzel and Donny Greenberg and Edward Z. Yang and Jason Lian and Jay Mahadeokar and Jeff Hwang and Ji Chen and Peter Goldsborough and Prabhat Roy and Sean Narenthiran and Shinji Watanabe and Soumith Chintala and Vincent Quenneville-Bélair and Yangyang Shi},
94
+ journal={arXiv preprint arXiv:2110.15018},
95
+ year={2021}
96
+ }
97
+ ```
98
+
99
+ ```bibtex
100
+ @misc{hwang2023torchaudio,
101
+ title={TorchAudio 2.1: Advancing speech recognition, self-supervised learning, and audio processing components for PyTorch},
102
+ 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},
103
+ year={2023},
104
+ eprint={2310.17864},
105
+ archivePrefix={arXiv},
106
+ primaryClass={eess.AS}
107
+ }
108
+ ```
109
+
110
+ Disclaimer on Datasets
111
+ ----------------------
112
+
113
+ This is a utility library that downloads and prepares public datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have license to use the dataset. It is your responsibility to determine whether you have permission to use the dataset under the dataset's license.
114
+
115
+ If you're a dataset owner and wish to update any part of it (description, citation, etc.), or do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thanks for your contribution to the ML community!
116
+
117
+ Pre-trained Model License
118
+ -------------------------
119
+
120
+ The pre-trained models provided in this library may have their own licenses or terms and conditions derived from the dataset used for training. It is your responsibility to determine whether you have permission to use the models for your use case.
121
+
122
+ For instance, SquimSubjective model is released under the Creative Commons Attribution Non Commercial 4.0 International (CC-BY-NC 4.0) license. See [the link](https://zenodo.org/record/4660670#.ZBtWPOxuerN) for additional details.
123
+
124
+ Other pre-trained models that have different license are noted in documentation. Please checkout the [documentation page](https://pytorch.org/audio/main/).
@@ -0,0 +1,148 @@
1
+ torchaudio/utils/sox_utils.py,sha256=WGSj_RfELpol8U2XPABGsAjO7yrPHS3_MgHkx7oHYQU,2421
2
+ torchaudio/utils/ffmpeg_utils.py,sha256=3I6YM95eNyOAg2K-ebEy9kjBzEDq3_OBqggXztPIDcU,319
3
+ torchaudio/utils/download.py,sha256=2IFKD1rsWBFE31HTiyUgpE5y7AJh8_AUPdc-btNQuKw,2882
4
+ torchaudio/utils/__init__.py,sha256=NCtfdIUxDi1u0zaamscSbiWzbxn2TOI-MHHWOKU0RnQ,174
5
+ torchaudio/transforms/_transforms.py,sha256=QHrEsxxxm1bPd5dltPeTcNOsMBu0Ecxa2oe6GIX-nvk,86872
6
+ torchaudio/transforms/_multi_channel.py,sha256=GZ2rrwFt2KtSG7At7kS9Bqh1KmYYw0HwcUnEjc-AWr8,22221
7
+ torchaudio/transforms/__init__.py,sha256=Tp1o4haiJAV3MRJenmvGXFbmt-RE4qM_pd6U3Ghohqw,1270
8
+ torchaudio/sox_effects/sox_effects.py,sha256=7cHpPFRJ_pZuohHMnX9JIhiVmIJGYntSmgT6QH5GNMA,10981
9
+ torchaudio/sox_effects/__init__.py,sha256=gCxdiwHK3ldlGCeYc9VatJW5HyzjWIgw_Sz_krp_rOw,262
10
+ torchaudio/prototype/transforms/_transforms.py,sha256=K2MjxUrTxlk0nO0NcJA07bDCoFolsQh-TabE84eKC6k,19144
11
+ torchaudio/prototype/transforms/__init__.py,sha256=1PcKxc8AWlSRkmchT6IDYDseO7itWY7ueZrlcAUZlkY,225
12
+ torchaudio/prototype/pipelines/_vggish/_vggish_pipeline.py,sha256=M47A-KFargc9PxZUeu0zqaZsIapAV4XhJqj_P2IHs9g,2713
13
+ torchaudio/prototype/pipelines/_vggish/_vggish_impl.py,sha256=EvpbNx4oHk7Zr7LQo-c191XRDLuklj3dZLi2Lgrpe_0,8497
14
+ torchaudio/prototype/pipelines/_vggish/__init__.py,sha256=yi9HO_14_YWFOEvQOhTXb9eqF3JGJ9FtM5-J-a3nEnA,89
15
+ torchaudio/prototype/pipelines/rnnt_pipeline.py,sha256=3wwlCg3refzmsAA69XulFRy4GIixA2EH5ZqFbNFKXhk,2184
16
+ torchaudio/prototype/pipelines/hifigan_pipeline.py,sha256=mEmTdVBn50Zyyy0hcjp-fGv9oIbvJFBYBjShXgjFvhU,9654
17
+ torchaudio/prototype/pipelines/__init__.py,sha256=yo19xKvIW3XDdDo19thGSMkPRuR8xTwSe0qMWEPS9bE,382
18
+ torchaudio/prototype/models/rnnt_decoder.py,sha256=lIacC7qCjMxjAuBHpgrPXlNI3eERo11fYgaEwPDT7ms,15735
19
+ torchaudio/prototype/models/rnnt.py,sha256=MTsXxGGv8xOIlH_zhOeSUdedI29CHBIsJ0Pcr8D6yK0,30859
20
+ torchaudio/prototype/models/hifi_gan.py,sha256=-ZMA722hoYabIbJl3OGqlxyhhqAHEL7UsTEkOyy8w5I,12480
21
+ torchaudio/prototype/models/conv_emformer.py,sha256=tdUz8WwhNlmGXpmki4voZg5nrg749xi23rmfrq2XRCk,23076
22
+ torchaudio/prototype/models/_emformer_hubert.py,sha256=D1WlL1S5xNrN5zOWYnzGyRUtPWnFZOkJprhbkYln0fM,13498
23
+ torchaudio/prototype/models/_conformer_wav2vec2.py,sha256=J7ZJ0dPIFLj9RyPsnuSQC9Y5OVJ9xL6F4JS44zua9zA,29522
24
+ torchaudio/prototype/models/__init__.py,sha256=zrav5cgVlM51xvocGlL10GoR2r5UuQrenPDlYRUzv40,1254
25
+ torchaudio/prototype/functional/functional.py,sha256=xd8ZQe69Utl7HzC-VDyhniS0K-dment-Z7FrEwTrfYk,6464
26
+ torchaudio/prototype/functional/_rir.py,sha256=k-svDQK56U1WNpj4dNUxWArBiVM7sZ_BZ98oOop4NNg,17255
27
+ torchaudio/prototype/functional/_dsp.py,sha256=H4IZgQYjrmV6ITb7iex3F4qwBSFDyPbdrb0e4ZXbkMY,16638
28
+ torchaudio/prototype/functional/__init__.py,sha256=GlbhnDHcNyUWdRd3R-ATzRkG2FXsbqjL56OptyTXpec,562
29
+ torchaudio/prototype/datasets/musan.py,sha256=g68PIJCtJM_mXK8vngJ4PRzMqvp-YShPLN9qTMgeiKw,2096
30
+ torchaudio/prototype/datasets/__init__.py,sha256=GSMcp2CykcBc-krhlHTrPm5DCvDFwnA7_6GFNCGwsaQ,47
31
+ torchaudio/prototype/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ torchaudio/pipelines/_wav2vec2/utils.py,sha256=Q8_fWOR2JDnHu0TTRmHzRjI3BOJa0hGIAl0cjtALgsQ,6971
33
+ torchaudio/pipelines/_wav2vec2/impl.py,sha256=zdXFjytJO5MvnB-3aygzUUFKxCTkQGU_OX_rhUh9c0k,65561
34
+ torchaudio/pipelines/_wav2vec2/aligner.py,sha256=pIWRgQ-kdYUxtL8bdc0qk9wBjwRrHY1uSWL3L4e2vxs,2709
35
+ torchaudio/pipelines/_wav2vec2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
+ torchaudio/pipelines/_tts/utils.py,sha256=0rLyoFWS78n5jn9AC99pgIwAjaXSw-MVbj_pjSaOHiM,4616
37
+ torchaudio/pipelines/_tts/interface.py,sha256=yUaS0UK3PTRruYXRWFil7lAhr-1iYiyBaDBLmEnJPUQ,10224
38
+ torchaudio/pipelines/_tts/impl.py,sha256=Tig4_5sITJADwxN5eZGek7Ath_-e3sV8CTM5t6UpeUU,15374
39
+ torchaudio/pipelines/_tts/__init__.py,sha256=PP7l8XzVURqelwuMJFgfOCv4fvzZunDiy90ZQlRkv7g,426
40
+ torchaudio/pipelines/rnnt_pipeline.py,sha256=Qy37z7v6d1jLOHd67zbRu21dgL6Fml1rTd7j4Jl1NsM,13749
41
+ torchaudio/pipelines/_squim_pipeline.py,sha256=eCimTeoqNX8LilIQNGmb8UaRtnLIXa4LNShXFjodcZM,6280
42
+ torchaudio/pipelines/_source_separation_pipeline.py,sha256=WxngB1d13H5IVqs4RPqSL53ZGYsJ3tnfCpxgc5FNSOM,4224
43
+ torchaudio/pipelines/__init__.py,sha256=Xy8NmInKwTcNBHwLTTjHjrfczRLuQq8a67ENt1OTVXM,2745
44
+ torchaudio/models/wav2vec2/utils/import_huggingface.py,sha256=1nVCipp-lOUAyl_-P103DWLUeTOZi9X_ffX93bOXxEk,5946
45
+ torchaudio/models/wav2vec2/utils/import_fairseq.py,sha256=oCwG6qpG0bCXue2V56fjDcC8cA2rgy4b3O_nu_FI9ZY,9198
46
+ torchaudio/models/wav2vec2/utils/__init__.py,sha256=qmMbz4HAN5kEEyl4cSGm_JQZI47beyh4witydPC_qns,181
47
+ torchaudio/models/wav2vec2/wavlm_attention.py,sha256=1DU_pkoLCeHQwSF4lJ06cez0PsMVoXNxiYKP0Yv0qFQ,10844
48
+ torchaudio/models/wav2vec2/model.py,sha256=Z2VN6KbDOOdq5JtP7lxPQebwYqsxKms1Eu4IjDJtZaQ,60092
49
+ torchaudio/models/wav2vec2/components.py,sha256=DRmW-GHYf-JReCg_0l1ovNWJBnAavePO3S2vPY-1ze4,47077
50
+ torchaudio/models/wav2vec2/__init__.py,sha256=WlafukV6GwuSNh0CZifrYUt4V5l59kjvGX7AZNonjfk,927
51
+ torchaudio/models/squim/subjective.py,sha256=N00kILSPm0akWyNsrNYKmHgZmooo8gbyUm5IVLf7bx8,5797
52
+ torchaudio/models/squim/objective.py,sha256=YPkEWdDMyeP7GcR0OzUPHr2wKhIKFMjy4peYsABmZQk,12289
53
+ torchaudio/models/squim/__init__.py,sha256=b98nAaL28Q4w3lrqd_6wUd0An-xNhhJn4Tj8oZlzQnc,346
54
+ torchaudio/models/decoder/_cuda_ctc_decoder.py,sha256=rtpN1Z_Xni1LlHgHx6jJ1Jap4TnQ0rRRMvwGWa-xnvA,7186
55
+ torchaudio/models/decoder/_ctc_decoder.py,sha256=K3gSsG9htU08fe7tKSuIJPDIs7ruY50pJ3eNdNhXSVY,20082
56
+ torchaudio/models/decoder/__init__.py,sha256=4IS_DyQageh2_uY3YE1aBCYEE3HArCFd8ZUfbgww-Tc,1206
57
+ torchaudio/models/wavernn.py,sha256=5xUyao5g69jRXX4ReNi4mP_aTSIonJPP6XcPrqKybEk,15446
58
+ torchaudio/models/wav2letter.py,sha256=KNcq4p0qZG2Bwfdakv7YwLCvi_yGT-qB4fJwGMuFQhg,3278
59
+ torchaudio/models/tacotron2.py,sha256=FimYhGSI8FKwWb87CLk4h3yKWatCU2HvFmU1t5WUn4E,45914
60
+ torchaudio/models/rnnt_decoder.py,sha256=IwlDsuw1SA-uCRrXGMBqm05auGFSha2bZ-8BOImnK0c,12839
61
+ torchaudio/models/rnnt.py,sha256=jz66nwDd1qGT6KQR1lbA_urPktygewhm0FH66T7P3Ek,35541
62
+ torchaudio/models/emformer.py,sha256=ncDeEcYegUmIKQoDBoufUhVWj4dYpZAXxLX0qmEqt1A,37766
63
+ torchaudio/models/deepspeech.py,sha256=kQW3B6YcjYuq7xRzWjRJFGr7ZNraY9gMYDTxII7Cgtg,2746
64
+ torchaudio/models/conv_tasnet.py,sha256=v-DI_Ej9FCBBbSH-Spkh3tzq8rkBhbQNA-Wp52Uf32E,12540
65
+ torchaudio/models/conformer.py,sha256=5IceU-jcZKofkHTTqRKoytubQ75MzZPrPlfkLsIlxeA,10068
66
+ torchaudio/models/_hdemucs.py,sha256=VPnQ73lA9lfAxRjZ85NCGJYP36mPNwTjS-TU4qelu_k,38242
67
+ torchaudio/models/__init__.py,sha256=BNMNGuwpJAFRsdtwHYQ6slGClkrUTu31_7mXh7FjeV4,1995
68
+ torchaudio/lib/pybind11_prefixctc.so,sha256=M4w_Sesei4cxDH0GrHCoDrwd5CkYvk_np2ckmySz7gg,166208
69
+ torchaudio/lib/libtorchaudio_sox.so,sha256=azWOeAvvz-e-oGCFuye9yGGr5x4-oS8yrcqawGKoiTA,153112
70
+ torchaudio/lib/libtorchaudio.so,sha256=UDozb8st5v-9huOcQe5y2vWv57h_b4TtaVVpjPnvLAk,2644840
71
+ torchaudio/lib/libctc_prefix_decoder.so,sha256=ALMNHcwJ9DU5cPp06yvyoEoNfL4k_rCmSQoEMAKDcZ4,4920960
72
+ torchaudio/lib/_torchaudio_sox.so,sha256=UsTIoWOzPwEYJyXG_EnmpP8srtRbdqVckj5o48VVO_A,283736
73
+ torchaudio/lib/_torchaudio.so,sha256=o99r8_Lt7C3voOancqING7eX4KDwUgFuTh1z7BOIJIo,147360
74
+ torchaudio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
+ torchaudio/io/_playback.py,sha256=70IxGrGPkI1h4rz8_04SFCGsbbGZkTiUdRhbPOMLLgQ,2321
76
+ torchaudio/io/_effector.py,sha256=APDrIU2biwFsSVmhrXjelmc4ndcmb0JL-H189Zp689g,11870
77
+ torchaudio/io/__init__.py,sha256=8nd6s_xuBh5iVzIvQ-qNlforukZzuCx36DyvCmHK748,297
78
+ torchaudio/functional/functional.py,sha256=c8qr3mmPXLi40N4NCLcpHvQeUIuoNtbszksjtruC15g,96006
79
+ torchaudio/functional/filtering.py,sha256=oQU0dKo-ExoLoGWcoV9kZ6Seb4DD8OkEH1RpskoX7QI,61642
80
+ torchaudio/functional/_alignment.py,sha256=wmDeohWvuoYORYDeIRxnYUhUqv1uCUkaCZYLEK_ryUg,4695
81
+ torchaudio/functional/__init__.py,sha256=l-gC2WyY5COabU0lhkUS8EnwOYdEYR_6234OyoAIgnU,2357
82
+ torchaudio/datasets/yesno.py,sha256=4sgfMeSxz8HaRDk6A2UIFP-20q29MwEO_r8DoEtfbvE,3026
83
+ torchaudio/datasets/voxceleb1.py,sha256=9vU0ftB4-2usO8ZiEUKR_IQTEdHhA0M8l9scXCNehnw,11725
84
+ torchaudio/datasets/vctk.py,sha256=twR_n8LyQcT8A_HrJoMx3RkaVrRXXZAnIVU1d0E0npQ,5699
85
+ torchaudio/datasets/utils.py,sha256=QaI02lOcesy6Dnvlof4BeTDIbiOqUcoVEPxL5_T8vwU,1689
86
+ torchaudio/datasets/tedlium.py,sha256=a8Hf2QvOki7_chgXcMAFMk-piTjodktfnc3HRbUVJkU,8698
87
+ torchaudio/datasets/speechcommands.py,sha256=cLSgiVYlQjEOuYPpFeAtcXSGirraH4IMoP8p9WIvUoY,7481
88
+ torchaudio/datasets/snips.py,sha256=WaYUknGFM3rnLklOj5ZYHSX5mhlf_Ce4p3LBZdA9yJc,5008
89
+ torchaudio/datasets/quesst14.py,sha256=QyGd4fMS820ATbP8YgBtu7bSSK09pw5RZklsPJ8Jf0Y,4455
90
+ torchaudio/datasets/musdb_hq.py,sha256=TYKjpat6JKr9bkFqUecu7_hRdshRfQP2UbknaYR3Q0U,5075
91
+ torchaudio/datasets/ljspeech.py,sha256=92NeLQsC1iKpqfiMkKKbcJDpaYdZKVdVEBQJze1wmxY,3494
92
+ torchaudio/datasets/libritts.py,sha256=EtWOoCDz7_qGLZF5YcZfnHaLxH4Y8QJCnopafLiqFno,5870
93
+ torchaudio/datasets/librispeech_biasing.py,sha256=d-02tyrXI-CSGbXBFYFcnM_yT8WSGABHfpNiFxyadL0,6958
94
+ torchaudio/datasets/librispeech.py,sha256=zkzJFWchWs4AktYAI-ghmWH4ZeJ84C0uDo9E1_pTgSI,6308
95
+ torchaudio/datasets/librimix.py,sha256=VtKOhf6VJc1ysWCvUvh0SbtjOkXJChmBM_BhoSkg_2A,5116
96
+ torchaudio/datasets/librilight_limited.py,sha256=fAwpX0hEMze5aV57BP7rjBLwRiZa3Aje_NXi_3o16wA,4179
97
+ torchaudio/datasets/iemocap.py,sha256=X_WCoXOzRqcWRRRoUtY0AlD9SJcUUOACIcgbV0irt48,4930
98
+ torchaudio/datasets/gtzan.py,sha256=I5dRP_QGuQ1joXWRwZwtvpwi22uZTb8QZm9Mr2W55Mg,24357
99
+ torchaudio/datasets/fluentcommands.py,sha256=u3tkO4-AAaTWdbRQi6lIvad4x2plZgXM39KljGtmRsw,3245
100
+ torchaudio/datasets/dr_vctk.py,sha256=Km4-tKllAgnOKCuq66YRWhTlNWmC7D0Xz3dAttRRGSo,4377
101
+ torchaudio/datasets/commonvoice.py,sha256=9khedUCmdEkCKPU6_r8VWz6I2VdJokatuziZ6BxJMZs,2763
102
+ torchaudio/datasets/cmudict.py,sha256=9OEpNDYpyqeEyinAnyGIU8FampDj7ziSOHRwJLIlq2M,5990
103
+ torchaudio/datasets/cmuarctic.py,sha256=KAhTHUJ3g5RSlmsU5mCTcvutOCm3Oqcd3643u3HNqIg,7097
104
+ torchaudio/datasets/__init__.py,sha256=taRr3duDaEK1Pfzj9N1dFuZpXfy8e4uFItcJiRLAQwQ,1171
105
+ torchaudio/compliance/kaldi.py,sha256=XL6hpYTd6nSPb2imIdeU4TM06I2fqh1AmG968y8ZbSk,36666
106
+ torchaudio/compliance/__init__.py,sha256=hhNObUS0c-fS-VMudM7zl3-CvupvCDmESlikntSMn5g,48
107
+ torchaudio/backend/sox_io_backend.py,sha256=XsAB5HkRbI9-W2nXx-yUMUPJP2Ca5sd09TLywrQ2N-E,477
108
+ torchaudio/backend/soundfile_backend.py,sha256=2Tyh5yAn7LQqKzeqW-rx4o2QbmmUrocmh3iYPnuAds0,499
109
+ torchaudio/backend/no_backend.py,sha256=PBEQ9vFG5uVurktjxRAiEqSuVJxImnMyPQlt0reRpP0,469
110
+ torchaudio/backend/common.py,sha256=T_iYc4u_EzfIh7zbG_xW052fyJMXUXEpPfDOaAQ6sAY,443
111
+ torchaudio/backend/_sox_io_backend.py,sha256=PnH-ClsiOy0ekOTY1RKB-cL6xrTPtrzmuXGX3ugATps,11456
112
+ torchaudio/backend/_no_backend.py,sha256=9Ss3b4BMFao5Kfdqh6S8JSLUoYCodbPgNQCiDHbNhDQ,757
113
+ torchaudio/backend/__init__.py,sha256=AL8njOL5hDhIGq5tjRxfFzZXxQdTGlz5gs9g4RToblY,281
114
+ torchaudio/_internal/module_utils.py,sha256=SJr-RS6hs6uJkIVx_WZwsFPKUjtuG6lsfw3uI0UItDE,3562
115
+ torchaudio/_internal/__init__.py,sha256=gjU8g9HhVd9hHrHXJM0xOlZL6cT8ktO60MN8RHI6ZbA,241
116
+ torchaudio/_extension/utils.py,sha256=4FTD6xwcSLqVJ3Kmpx5cvJp1oAUKmWwRjwuxpcbrmzw,6258
117
+ torchaudio/_extension/__init__.py,sha256=lQPB8K7VSxWmtTEiMmF-u7WVq1O10_t5nEghkjCf4Ks,2202
118
+ torchaudio/_backend/utils.py,sha256=Q_RgMaeKFvwOoVdWfdwnL0CmpQli_tmi4wPQ2RRHyRA,13299
119
+ torchaudio/_backend/sox.py,sha256=p_y9bXKz_6Hto5LORGrHXVbXNS7nsvWUc9iucbN-tCA,3360
120
+ torchaudio/_backend/soundfile_backend.py,sha256=qJHEEXU1egCkPJ2Y9uJWFvVhW3AqDZ7z7P7mkJjJJWM,17376
121
+ torchaudio/_backend/soundfile.py,sha256=n0Epw0J9rBb89xVJWTXaDfb96YFz0-i2xarXIdDd-Cw,1703
122
+ torchaudio/_backend/ffmpeg.py,sha256=oL_whDjkPtHzo6HJLiEPlGHdrOqzjlu81g-vlaNkRBA,11294
123
+ torchaudio/_backend/common.py,sha256=55Y0r0MsdW6gvTOT_Zy60UGFXc60DfdJ7uvycJKK3is,1783
124
+ torchaudio/_backend/backend.py,sha256=hSrfZcj5FMzx5ZpwubN-LLMvBFb7ENyw7HvT_6pVYVU,1565
125
+ torchaudio/_backend/__init__.py,sha256=6zMYGajHaaCXUE_U7HuGLp0fqcviYAjBZdFDI4E7C-0,1631
126
+ torchaudio/version.py,sha256=atnzuNpssQIyhgsaGb7uWHVBm1vxflIZcB5b3ttmInw,85
127
+ torchaudio/kaldi_io.py,sha256=TwS2YgSLlJwOXjNNsHBuXyxhKeKKpptVHLBV7QYZCas,5073
128
+ torchaudio/__init__.py,sha256=VSnZ6s4e5clAj7f7aCXBZt9amskeXg1j19txAQBQ2Iw,892
129
+ torchaudio-2.7.0.dist-info/LICENSE,sha256=k6WIYahYzBCOa2uDPgjnbosqZjOeSoAHyKWowf-cQNY,1338
130
+ torchaudio-2.7.0.dist-info/METADATA,sha256=WUbI5YINijwRL4OtFgqeG6S8-rAtOeeEa_qOgdpYpQA,6618
131
+ torchaudio-2.7.0.dist-info/WHEEL,sha256=kWoXVR4I3To8XPPCqa1SkE_Ch3NX6sA2HMthXGEhSws,113
132
+ torchaudio-2.7.0.dist-info/top_level.txt,sha256=GT0MktEbHKoLnvd-6ii7_dhJVvshupOujk840BcHU4U,17
133
+ torchaudio-2.7.0.dist-info/RECORD,,
134
+ torio/utils/ffmpeg_utils.py,sha256=JsP2ptjQAE4U7Z_CSauQKH_k72wdu6nrBMfNHl9pIXQ,8026
135
+ torio/utils/__init__.py,sha256=ScHtnontymRDNn9qEIC0neue5mfG82yhB8bwETOb0Z4,56
136
+ torio/lib/libtorio_ffmpeg6.so,sha256=ElI_MMfMmTfsgPEG07A99nOhwZAzaNJE_7ODiqfEqYI,664248
137
+ torio/lib/libtorio_ffmpeg5.so,sha256=JBX1Yc_woIdNoa0pkdeKv0rXB9AtjfVNksW_RbF6esU,664248
138
+ torio/lib/libtorio_ffmpeg4.so,sha256=ThDaSkqrPFNnDNrUKccq37hwsiobaepEA8nfp_HtXE4,664248
139
+ torio/lib/_torio_ffmpeg6.so,sha256=2MXYfLidNPpotngpjQQdJMmazmWPGWMaMdUFaThOjUA,513792
140
+ torio/lib/_torio_ffmpeg5.so,sha256=PbhRhuFFLgo7TpPUcm5jxKKqxbcwUYWbFJJ-HRx-Cnk,513792
141
+ torio/lib/_torio_ffmpeg4.so,sha256=uyTIbLS-cFvqfbXo-7YrjlEfJUCfWV1PBAuiJO4DAWk,513792
142
+ torio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
143
+ torio/io/_streaming_media_encoder.py,sha256=rSTYmHdi7RPJ6YPgAyGJhbQvn4mcxLem3nlnr_ophTs,19722
144
+ torio/io/_streaming_media_decoder.py,sha256=vSylEWAB_JXOW-0E1n0zDM3Q3Vf1jc1-CNpdUSs13XU,34376
145
+ torio/io/__init__.py,sha256=xz7REkkyfRhAASzVCAfoNruFtAGIx1I--usPAa2tMww,226
146
+ torio/_extension/utils.py,sha256=ktE0L_z-RF1qkpLVGgdG4DEGHa2Zn6uokOAmwC7Evvo,4904
147
+ torio/_extension/__init__.py,sha256=q5jjeOhSrzqn0WTEwrx61Fr13aCjb7IQCDGsBqAdGEU,313
148
+ torio/__init__.py,sha256=aX9s0XAHxHhEXE1akQt74BZ0cMUDgBPhaYHQH1lCbXQ,111
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-manylinux_2_28_x86_64
5
+
@@ -0,0 +1,2 @@
1
+ torchaudio
2
+ torio
torio/__init__.py ADDED
@@ -0,0 +1,8 @@
1
+ from . import _extension # noqa # usort: skip
2
+ from . import io, utils
3
+
4
+
5
+ __all__ = [
6
+ "io",
7
+ "utils",
8
+ ]
@@ -0,0 +1,13 @@
1
+ from .utils import _init_ffmpeg, _LazyImporter
2
+
3
+
4
+ _FFMPEG_EXT = None
5
+
6
+
7
+ def lazy_import_ffmpeg_ext():
8
+ """Load FFmpeg integration based on availability in lazy manner"""
9
+
10
+ global _FFMPEG_EXT
11
+ if _FFMPEG_EXT is None:
12
+ _FFMPEG_EXT = _LazyImporter("_torio_ffmpeg", _init_ffmpeg)
13
+ return _FFMPEG_EXT