torchaudio 2.7.1__cp311-cp311-win_amd64.whl → 2.8.0__cp311-cp311-win_amd64.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.
- torchaudio/__init__.py +16 -5
- torchaudio/_backend/sox.py +2 -2
- torchaudio/_backend/utils.py +33 -0
- torchaudio/_internal/module_utils.py +59 -10
- torchaudio/_torchcodec.py +352 -0
- torchaudio/backend/no_backend.py +2 -2
- torchaudio/backend/soundfile_backend.py +2 -2
- torchaudio/backend/sox_io_backend.py +2 -2
- torchaudio/functional/__init__.py +6 -1
- torchaudio/functional/functional.py +7 -3
- torchaudio/io/__init__.py +10 -3
- torchaudio/kaldi_io.py +6 -0
- torchaudio/lib/_torchaudio.pyd +0 -0
- torchaudio/lib/libtorchaudio.pyd +0 -0
- torchaudio/models/decoder/__init__.py +7 -1
- torchaudio/pipelines/_tts/utils.py +3 -1
- torchaudio/prototype/datasets/musan.py +2 -1
- torchaudio/prototype/functional/_dsp.py +8 -0
- torchaudio/prototype/functional/_rir.py +3 -0
- torchaudio/prototype/functional/functional.py +3 -0
- torchaudio/prototype/models/__init__.py +4 -1
- torchaudio/prototype/models/_conformer_wav2vec2.py +7 -0
- torchaudio/prototype/models/_emformer_hubert.py +4 -0
- torchaudio/prototype/models/conv_emformer.py +4 -0
- torchaudio/prototype/models/hifi_gan.py +6 -0
- torchaudio/prototype/models/rnnt.py +6 -0
- torchaudio/prototype/models/rnnt_decoder.py +3 -0
- torchaudio/prototype/pipelines/__init__.py +11 -2
- torchaudio/prototype/pipelines/_vggish/__init__.py +5 -1
- torchaudio/prototype/pipelines/_vggish/_vggish_impl.py +4 -1
- torchaudio/prototype/pipelines/_vggish/_vggish_pipeline.py +3 -2
- torchaudio/prototype/pipelines/hifigan_pipeline.py +5 -0
- torchaudio/prototype/transforms/_transforms.py +6 -1
- torchaudio/sox_effects/sox_effects.py +4 -1
- torchaudio/transforms/__init__.py +3 -1
- torchaudio/transforms/_transforms.py +3 -2
- torchaudio/utils/download.py +2 -0
- torchaudio/utils/sox_utils.py +19 -0
- torchaudio/version.py +2 -2
- {torchaudio-2.7.1.dist-info → torchaudio-2.8.0.dist-info}/METADATA +13 -2
- {torchaudio-2.7.1.dist-info → torchaudio-2.8.0.dist-info}/RECORD +52 -51
- torio/io/_streaming_media_decoder.py +0 -1
- torio/lib/_torio_ffmpeg4.pyd +0 -0
- torio/lib/_torio_ffmpeg5.pyd +0 -0
- torio/lib/_torio_ffmpeg6.pyd +0 -0
- torio/lib/libtorio_ffmpeg4.pyd +0 -0
- torio/lib/libtorio_ffmpeg5.pyd +0 -0
- torio/lib/libtorio_ffmpeg6.pyd +0 -0
- torio/utils/ffmpeg_utils.py +28 -0
- {torchaudio-2.7.1.dist-info → torchaudio-2.8.0.dist-info}/WHEEL +0 -0
- {torchaudio-2.7.1.dist-info → torchaudio-2.8.0.dist-info}/licenses/LICENSE +0 -0
- {torchaudio-2.7.1.dist-info → torchaudio-2.8.0.dist-info}/top_level.txt +0 -0
torchaudio/utils/download.py
CHANGED
torchaudio/utils/sox_utils.py
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
"""Module to change the configuration of libsox, which is used by I/O functions like
|
|
2
2
|
:py:mod:`~torchaudio.backend.sox_io_backend` and :py:mod:`~torchaudio.sox_effects`.
|
|
3
|
+
|
|
4
|
+
.. warning::
|
|
5
|
+
Starting with version 2.8, we are refactoring TorchAudio to transition it
|
|
6
|
+
into a maintenance phase. As a result:
|
|
7
|
+
|
|
8
|
+
- Some APIs are deprecated in 2.8 and will be removed in 2.9.
|
|
9
|
+
- The decoding and encoding capabilities of PyTorch for both audio and video
|
|
10
|
+
are being consolidated into TorchCodec.
|
|
11
|
+
|
|
12
|
+
Please see https://github.com/pytorch/audio/issues/3902 for more information.
|
|
3
13
|
"""
|
|
4
14
|
|
|
5
15
|
from typing import Dict, List
|
|
@@ -8,7 +18,9 @@ import torchaudio
|
|
|
8
18
|
|
|
9
19
|
sox_ext = torchaudio._extension.lazy_import_sox_ext()
|
|
10
20
|
|
|
21
|
+
from torchaudio._internal.module_utils import dropping_support
|
|
11
22
|
|
|
23
|
+
@dropping_support
|
|
12
24
|
def set_seed(seed: int):
|
|
13
25
|
"""Set libsox's PRNG
|
|
14
26
|
|
|
@@ -21,6 +33,7 @@ def set_seed(seed: int):
|
|
|
21
33
|
sox_ext.set_seed(seed)
|
|
22
34
|
|
|
23
35
|
|
|
36
|
+
@dropping_support
|
|
24
37
|
def set_verbosity(verbosity: int):
|
|
25
38
|
"""Set libsox's verbosity
|
|
26
39
|
|
|
@@ -38,6 +51,7 @@ def set_verbosity(verbosity: int):
|
|
|
38
51
|
sox_ext.set_verbosity(verbosity)
|
|
39
52
|
|
|
40
53
|
|
|
54
|
+
@dropping_support
|
|
41
55
|
def set_buffer_size(buffer_size: int):
|
|
42
56
|
"""Set buffer size for sox effect chain
|
|
43
57
|
|
|
@@ -50,6 +64,7 @@ def set_buffer_size(buffer_size: int):
|
|
|
50
64
|
sox_ext.set_buffer_size(buffer_size)
|
|
51
65
|
|
|
52
66
|
|
|
67
|
+
@dropping_support
|
|
53
68
|
def set_use_threads(use_threads: bool):
|
|
54
69
|
"""Set multithread option for sox effect chain
|
|
55
70
|
|
|
@@ -63,6 +78,7 @@ def set_use_threads(use_threads: bool):
|
|
|
63
78
|
sox_ext.set_use_threads(use_threads)
|
|
64
79
|
|
|
65
80
|
|
|
81
|
+
@dropping_support
|
|
66
82
|
def list_effects() -> Dict[str, str]:
|
|
67
83
|
"""List the available sox effect names
|
|
68
84
|
|
|
@@ -72,6 +88,7 @@ def list_effects() -> Dict[str, str]:
|
|
|
72
88
|
return dict(sox_ext.list_effects())
|
|
73
89
|
|
|
74
90
|
|
|
91
|
+
@dropping_support
|
|
75
92
|
def list_read_formats() -> List[str]:
|
|
76
93
|
"""List the supported audio formats for read
|
|
77
94
|
|
|
@@ -81,6 +98,7 @@ def list_read_formats() -> List[str]:
|
|
|
81
98
|
return sox_ext.list_read_formats()
|
|
82
99
|
|
|
83
100
|
|
|
101
|
+
@dropping_support
|
|
84
102
|
def list_write_formats() -> List[str]:
|
|
85
103
|
"""List the supported audio formats for write
|
|
86
104
|
|
|
@@ -90,6 +108,7 @@ def list_write_formats() -> List[str]:
|
|
|
90
108
|
return sox_ext.list_write_formats()
|
|
91
109
|
|
|
92
110
|
|
|
111
|
+
@dropping_support
|
|
93
112
|
def get_buffer_size() -> int:
|
|
94
113
|
"""Get buffer size for sox effect chain
|
|
95
114
|
|
torchaudio/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = '2.
|
|
2
|
-
git_version = '
|
|
1
|
+
__version__ = '2.8.0+cpu'
|
|
2
|
+
git_version = '6e1c7fe9ff6d82b8665d0a46d859d3357d2ebaaa'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: torchaudio
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: An audio package for PyTorch
|
|
5
5
|
Home-page: https://github.com/pytorch/audio
|
|
6
6
|
Author: Soumith Chintala, David Pollack, Sean Naren, Peter Goldsborough, Moto Hira, Caroline Chen, Jeff Hwang, Zhaoheng Ni, Xiaohui Zhang
|
|
@@ -25,7 +25,7 @@ Classifier: Topic :: Multimedia :: Sound/Audio
|
|
|
25
25
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
27
27
|
License-File: LICENSE
|
|
28
|
-
Requires-Dist: torch==2.
|
|
28
|
+
Requires-Dist: torch==2.8.0
|
|
29
29
|
Dynamic: author
|
|
30
30
|
Dynamic: author-email
|
|
31
31
|
Dynamic: classifier
|
|
@@ -47,6 +47,17 @@ torchaudio: an audio library for PyTorch
|
|
|
47
47
|
|
|
48
48
|

|
|
49
49
|
|
|
50
|
+
> [!NOTE]
|
|
51
|
+
> **We are in the process of refactoring TorchAudio and transitioning it into a
|
|
52
|
+
> maintenance phase. This process will include removing some user-facing
|
|
53
|
+
> features: those features are deprecated from TorchAudio 2.8 and will be removed in 2.9.
|
|
54
|
+
> Our main goals are to reduce redundancies with the rest of the
|
|
55
|
+
> PyTorch ecosystem, make it easier to maintain, and create a version of
|
|
56
|
+
> TorchAudio that is more tightly scoped to its strengths: processing audio
|
|
57
|
+
> data for ML. Please see
|
|
58
|
+
> [our community message](https://github.com/pytorch/audio/issues/3902)
|
|
59
|
+
> for more details.**
|
|
60
|
+
|
|
50
61
|
The aim of torchaudio is to apply [PyTorch](https://github.com/pytorch/pytorch) to
|
|
51
62
|
the audio domain. By supporting PyTorch, torchaudio follows the same philosophy
|
|
52
63
|
of providing strong GPU acceleration, having a focus on trainable features through
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
torchaudio/__init__.py,sha256=
|
|
2
|
-
torchaudio/
|
|
3
|
-
torchaudio/
|
|
1
|
+
torchaudio/__init__.py,sha256=sz2lTxSrqXNOpX4qUS6sxITrLYRiDeQ7CIPfVgITUJs,1546
|
|
2
|
+
torchaudio/_torchcodec.py,sha256=eWb6j8glcLKTFqLwS0OuTYp3qbysrYteorPSZSONdwI,14138
|
|
3
|
+
torchaudio/kaldi_io.py,sha256=9CcQfQFaU5ZtkQ-5XC1FWM0z0na_6N6sbAtAcWgTimg,5376
|
|
4
|
+
torchaudio/version.py,sha256=uE4xtVTIwbuenIWZnPoV_RyXxkE17WGuMG5mXchO64U,85
|
|
4
5
|
torchaudio/_backend/__init__.py,sha256=2bMTZ3tG2_5nvnqAAmvEnGBInO5a9DdUPNoyXEnX1M0,1692
|
|
5
6
|
torchaudio/_backend/backend.py,sha256=CakqB9z_4ZtLsQTyMZbEbB0kTqpUe_gidHgObv9acyQ,1618
|
|
6
7
|
torchaudio/_backend/common.py,sha256=h9R29RTTW2lqOiKYByETXfXWsrTH65uHxGDKw3bWj-s,1835
|
|
7
8
|
torchaudio/_backend/ffmpeg.py,sha256=b6dr67sWg47uFJxIyWLXCtrdPMlgjYdWmj7n919Ph1M,11628
|
|
8
9
|
torchaudio/_backend/soundfile.py,sha256=Dd-K6Tg_G3ze08hImvnAsO5lpAERpmUd9oxkNsGJUno,1757
|
|
9
10
|
torchaudio/_backend/soundfile_backend.py,sha256=sVSEM2On6PMY7AbPqpfvE1u1Bg2_0aiSrZ4TclAFi_w,17833
|
|
10
|
-
torchaudio/_backend/sox.py,sha256=
|
|
11
|
-
torchaudio/_backend/utils.py,sha256=
|
|
11
|
+
torchaudio/_backend/sox.py,sha256=nFPpv-9VsToxkZcAwpku667ZIMzj0ZneV-7nzKUtKOM,3461
|
|
12
|
+
torchaudio/_backend/utils.py,sha256=2jPWFmMHrByyvJ08xXTMhnyO14XoY49ZNWUH2Si2x5w,15727
|
|
12
13
|
torchaudio/_extension/__init__.py,sha256=s6AzXocDcuh0mtYVUCOOjZ_mCmSCno8jbZN750YI-Ps,2276
|
|
13
14
|
torchaudio/_extension/utils.py,sha256=wFDF8B6Q22UL3zyX8swZ-JjlDgm9-VdjeraslQr2yIY,6438
|
|
14
15
|
torchaudio/_internal/__init__.py,sha256=80cpJfTS8977YYrU3q5p4DRAGAkqEJrmG9Lq2hEDpoo,251
|
|
15
|
-
torchaudio/_internal/module_utils.py,sha256=
|
|
16
|
+
torchaudio/_internal/module_utils.py,sha256=AUA-ATgk_Bbo1fGZfy1Ra1cwkJ7sqzZvlXtRm-3EcYo,5411
|
|
16
17
|
torchaudio/backend/__init__.py,sha256=ckKT_tmcmc_Z43ZTlqJ39fwUbmv-j-mAP2BWp0sU4Tg,289
|
|
17
18
|
torchaudio/backend/_no_backend.py,sha256=CEpYJ0bZi937Z0q2JHdRVnDKd7HWlCUVR7rEVHE_xmE,782
|
|
18
19
|
torchaudio/backend/_sox_io_backend.py,sha256=Ut3-QaqzaJ0MvNc7NdpMTST7_mZy1xSixGbDC7418Qk,11750
|
|
19
20
|
torchaudio/backend/common.py,sha256=mn0l6GBwet7DvRQPURhYIHF-HrQFvEFVKM23PawfbH8,456
|
|
20
|
-
torchaudio/backend/no_backend.py,sha256=
|
|
21
|
-
torchaudio/backend/soundfile_backend.py,sha256=
|
|
22
|
-
torchaudio/backend/sox_io_backend.py,sha256=
|
|
21
|
+
torchaudio/backend/no_backend.py,sha256=q4Czg1NFcsPKl8C4Ik89Ud51SlVHlTtNAcMNZ6cKgQ8,483
|
|
22
|
+
torchaudio/backend/soundfile_backend.py,sha256=BXLy1io5jDXxa-1G9rUzlJZNdiaiO_h7hr74sdTk4Tc,513
|
|
23
|
+
torchaudio/backend/sox_io_backend.py,sha256=xfzCNvGsMbH-lfJP4c19gn8pZKUOusGsRWkdJd-I9ZU,491
|
|
23
24
|
torchaudio/compliance/__init__.py,sha256=JNH_-dTQVmm55YwcVMuVvUYFWdXhGn4C__9S8IUsNoU,53
|
|
24
25
|
torchaudio/compliance/kaldi.py,sha256=bS7qJgS3k8FK1RkMiNEoP3q0xhjeV_V4RHQ9jo_rqOM,37479
|
|
25
26
|
torchaudio/datasets/__init__.py,sha256=hdHldm3OzoQLbI0kHj8tLxqwDhzMfedq0_t1kAK7ORg,1218
|
|
@@ -45,16 +46,16 @@ torchaudio/datasets/utils.py,sha256=m-sBYgQb0JxgGVfsVpekKFDI_7PGXCTma6N2ymfJl0g,
|
|
|
45
46
|
torchaudio/datasets/vctk.py,sha256=vN_VzxTLyHW11I_rzfzMVA3h5JW917FaU3NCnR-zcL0,5842
|
|
46
47
|
torchaudio/datasets/voxceleb1.py,sha256=JlYkbyYOAFUFhGLULe3lgucANWf_G7qGqw47YjiX2IM,12034
|
|
47
48
|
torchaudio/datasets/yesno.py,sha256=B3hRNUazvB8V8SwOUlQzliB9vI9gMkl9SEl-dZ4PEaw,3115
|
|
48
|
-
torchaudio/functional/__init__.py,sha256=
|
|
49
|
+
torchaudio/functional/__init__.py,sha256=avLNjTJJuvXGjLQZk3AwpXSRhW-NeOx9R1PDD5aQA5o,2619
|
|
49
50
|
torchaudio/functional/_alignment.py,sha256=46GhuEYUqI1gE-2UKSu9BIQF1QpZ5yunUS8JZGZJuss,4823
|
|
50
51
|
torchaudio/functional/filtering.py,sha256=6_Xz-aT8JyVf4n-aos63eNstvNHookSVlGL_NfEXWsg,63312
|
|
51
|
-
torchaudio/functional/functional.py,sha256=
|
|
52
|
-
torchaudio/io/__init__.py,sha256=
|
|
52
|
+
torchaudio/functional/functional.py,sha256=1_7gbT0xqT8Fa-e7DCjc6vsEyURZwFUeypai9AFPI6A,98720
|
|
53
|
+
torchaudio/io/__init__.py,sha256=syrguNxNQKo7_eKuFFLU_Ze5wtyxdOXVyQ84dyuCig0,753
|
|
53
54
|
torchaudio/io/_effector.py,sha256=5Kh7br-ZuLzmoRSVXk5JNQ8NkwcGUiY_mrt7d_1W1eg,12217
|
|
54
55
|
torchaudio/io/_playback.py,sha256=UpPb-m35XUlYL2lybQGXAJAvfmUPT_Kqx4jpYArIAz0,2393
|
|
55
56
|
torchaudio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
|
-
torchaudio/lib/_torchaudio.pyd,sha256=
|
|
57
|
-
torchaudio/lib/libtorchaudio.pyd,sha256=
|
|
57
|
+
torchaudio/lib/_torchaudio.pyd,sha256=qTLKw-Z9L1qPEhFGxjmGPO_h6jne2nglMf9zgNaIJ18,770048
|
|
58
|
+
torchaudio/lib/libtorchaudio.pyd,sha256=OJXBGa44PeTFlHhx6E17dRnWVNlJOKDtk45b6pMDgEs,1762304
|
|
58
59
|
torchaudio/models/__init__.py,sha256=Gi3UQvxjwTLW9wfKlF42O3Vup70d0bk2x-rZS89ASwI,2080
|
|
59
60
|
torchaudio/models/_hdemucs.py,sha256=ipAj7965PO_WEZqQwW1om9gQj90UhQOeU6HU3Lpvzwo,39250
|
|
60
61
|
torchaudio/models/conformer.py,sha256=gVrOYeJkPlVaX-4eZpVzNUe_r3k7g1Y6NaaQ8JZP-r4,10361
|
|
@@ -66,7 +67,7 @@ torchaudio/models/rnnt_decoder.py,sha256=CBBMZhhq5Bgax0_3p3SZD-Os3S1LFHB91oTgVED
|
|
|
66
67
|
torchaudio/models/tacotron2.py,sha256=mZ5lLSa75oqc0hgkc3sIm5_gK-knhtgX3dmg9-oLQao,46960
|
|
67
68
|
torchaudio/models/wav2letter.py,sha256=oetxpH5RG0TadYB75IOmYOrnraaPvSlcSNpRZb2FE_A,3350
|
|
68
69
|
torchaudio/models/wavernn.py,sha256=LRgL36jA6WzI1PAzBY6P52oCMGSTOraXB8fEgkwpSxw,15855
|
|
69
|
-
torchaudio/models/decoder/__init__.py,sha256=
|
|
70
|
+
torchaudio/models/decoder/__init__.py,sha256=Lskj9moDFtjxRDbz4nnnzMcgqofaKILdgODqlnauEwc,1518
|
|
70
71
|
torchaudio/models/decoder/_ctc_decoder.py,sha256=woyUaDCuaMQqPTQ7uLuc99lxMAOsJj5AxWwS9hf6JNY,20650
|
|
71
72
|
torchaudio/models/decoder/_cuda_ctc_decoder.py,sha256=BZCjAdZ50umWW171nJYHy24YZ5CxM8a2JfMIeO4S3BM,7373
|
|
72
73
|
torchaudio/models/squim/__init__.py,sha256=eQox8kPviOthKulpzZvPK0a66NHW7MzYE4aOF7va_kU,357
|
|
@@ -86,59 +87,59 @@ torchaudio/pipelines/rnnt_pipeline.py,sha256=S0DLMPbt-lqNBWOcjG5KP2IfU1X_oTv95CV
|
|
|
86
87
|
torchaudio/pipelines/_tts/__init__.py,sha256=WKc5c06b_M9MvEohJZghJJWAL7vXvfwRIkdy85UCh04,442
|
|
87
88
|
torchaudio/pipelines/_tts/impl.py,sha256=wwrTyTEEkew22AnzB_ZklapGaAstJSUBawhA7bOcGXM,15759
|
|
88
89
|
torchaudio/pipelines/_tts/interface.py,sha256=y1mU0446Vy2hHpCwMqRZt1UI4ZXl-C4tJp92EylwHh0,10479
|
|
89
|
-
torchaudio/pipelines/_tts/utils.py,sha256=
|
|
90
|
+
torchaudio/pipelines/_tts/utils.py,sha256=JbGBrD49FMw1igen4ZKOmuNA4bDWHRX48h5Zs2VFlTM,5040
|
|
90
91
|
torchaudio/pipelines/_wav2vec2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
92
|
torchaudio/pipelines/_wav2vec2/aligner.py,sha256=HOcthFgup97QMx9ZXCmkv6jdw_zxdRT-e_SilXEujNU,2796
|
|
92
93
|
torchaudio/pipelines/_wav2vec2/impl.py,sha256=I6htNo4Wt5LPxX9Z8rmxarFE8BZOZBUFIU9T9k1k2Po,67260
|
|
93
94
|
torchaudio/pipelines/_wav2vec2/utils.py,sha256=CVawfXmVGWY8mj-_6r4KO907BpF67WAVWHEHhycFIaM,7317
|
|
94
95
|
torchaudio/prototype/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
95
96
|
torchaudio/prototype/datasets/__init__.py,sha256=l2k9V6ujGOiiPUXtJqMT0sao0zIUqKOg-243PAVs7NM,51
|
|
96
|
-
torchaudio/prototype/datasets/musan.py,sha256=
|
|
97
|
+
torchaudio/prototype/datasets/musan.py,sha256=_wc_4Ye2-07xiR6q5f7e7kyK7A22plim1frfnjFv44I,2274
|
|
97
98
|
torchaudio/prototype/functional/__init__.py,sha256=C5uPqrnwc_VJ9ajJpudsBAmxt6-RKrHirIJa3RHLlfs,588
|
|
98
|
-
torchaudio/prototype/functional/_dsp.py,sha256=
|
|
99
|
-
torchaudio/prototype/functional/_rir.py,sha256=
|
|
100
|
-
torchaudio/prototype/functional/functional.py,sha256=
|
|
101
|
-
torchaudio/prototype/models/__init__.py,sha256=
|
|
102
|
-
torchaudio/prototype/models/_conformer_wav2vec2.py,sha256=
|
|
103
|
-
torchaudio/prototype/models/_emformer_hubert.py,sha256=
|
|
104
|
-
torchaudio/prototype/models/conv_emformer.py,sha256=
|
|
105
|
-
torchaudio/prototype/models/hifi_gan.py,sha256=
|
|
106
|
-
torchaudio/prototype/models/rnnt.py,sha256=
|
|
107
|
-
torchaudio/prototype/models/rnnt_decoder.py,sha256=
|
|
108
|
-
torchaudio/prototype/pipelines/__init__.py,sha256=
|
|
109
|
-
torchaudio/prototype/pipelines/hifigan_pipeline.py,sha256
|
|
99
|
+
torchaudio/prototype/functional/_dsp.py,sha256=ir70C3Wf9SIeFpdDzt5RAaeqeSQz8H3TUr3CdB5NkdQ,17268
|
|
100
|
+
torchaudio/prototype/functional/_rir.py,sha256=vE1afWLwZlTE6J1Mdir0JaLOLwXSKwJXw-UhVLF68Zw,17736
|
|
101
|
+
torchaudio/prototype/functional/functional.py,sha256=Cwsrj7PE3vQtpm56cD1xNyt5FWT5TVjNicTl_kBEtA8,6756
|
|
102
|
+
torchaudio/prototype/models/__init__.py,sha256=ZrVFYZCFGRAS7FbALYnSRKE8jAnl2rmT7oSKhWgkJIg,1446
|
|
103
|
+
torchaudio/prototype/models/_conformer_wav2vec2.py,sha256=eqlmpWGMJZrhzeeiyGVHI-K5yXLGc-s_Go9_JADtsY0,30524
|
|
104
|
+
torchaudio/prototype/models/_emformer_hubert.py,sha256=zvkz9Kt2rV4hSOGKR3gk6ZJyWTkxwrD0pF4do-bSmeE,13935
|
|
105
|
+
torchaudio/prototype/models/conv_emformer.py,sha256=46wl2YOa6Mnzd-0oOLegxzru08Jt9O3fKZVvyXCXTw8,23739
|
|
106
|
+
torchaudio/prototype/models/hifi_gan.py,sha256=0P2RbDEdqXAiv9p_7HNsql5NAe7blxM3xWIRES1SYvc,13005
|
|
107
|
+
torchaudio/prototype/models/rnnt.py,sha256=xk4rhiYGeAjLPEzyRdCWmnASFftJjxLxxKUcC2_Vywg,31712
|
|
108
|
+
torchaudio/prototype/models/rnnt_decoder.py,sha256=PqEXRgRo4pQcrPqYUKS8gUlSFhOos8Yd46gW9U8QmMA,16231
|
|
109
|
+
torchaudio/prototype/pipelines/__init__.py,sha256=uYbi90E5U-LfZuaTlLukFYfT0eMmCsReUi_bbMTmWxs,822
|
|
110
|
+
torchaudio/prototype/pipelines/hifigan_pipeline.py,sha256=FHWa96-bhWcPT-3Y4geALG5qebxNRNi2Gm5xtIYVaS8,10043
|
|
110
111
|
torchaudio/prototype/pipelines/rnnt_pipeline.py,sha256=6zeezoHIPo-9Sc0B19cFoJrQMybmDP1MDoUZzMFheOo,2242
|
|
111
|
-
torchaudio/prototype/pipelines/_vggish/__init__.py,sha256=
|
|
112
|
-
torchaudio/prototype/pipelines/_vggish/_vggish_impl.py,sha256=
|
|
113
|
-
torchaudio/prototype/pipelines/_vggish/_vggish_pipeline.py,sha256=
|
|
112
|
+
torchaudio/prototype/pipelines/_vggish/__init__.py,sha256=QCdAgmNiHA-nwgDIn94GqeEpZM-8vIIXNNYoFMphjCU,229
|
|
113
|
+
torchaudio/prototype/pipelines/_vggish/_vggish_impl.py,sha256=GWVx5k2LcdCkWtoPKIhywIGAE23H39mtRsuGgo0yuYw,8850
|
|
114
|
+
torchaudio/prototype/pipelines/_vggish/_vggish_pipeline.py,sha256=D1DXlgt1Vrj0gT_O77o285z5TrnYmackhj6sDsunYF8,2859
|
|
114
115
|
torchaudio/prototype/transforms/__init__.py,sha256=a-LNmupvUQvpo3CrTvqXudgY8G6cRGI1zy6j9oWST_o,234
|
|
115
|
-
torchaudio/prototype/transforms/_transforms.py,sha256=
|
|
116
|
+
torchaudio/prototype/transforms/_transforms.py,sha256=rP7kM-ZkY-qnB8qIoLUUuNDbxA3XefUkAVlMI7Dg1Lg,19811
|
|
116
117
|
torchaudio/sox_effects/__init__.py,sha256=NVN6rAkHxizmOsZgLnxjMX5qXcPkABzLE-hvTMaSbEw,272
|
|
117
|
-
torchaudio/sox_effects/sox_effects.py,sha256=
|
|
118
|
-
torchaudio/transforms/__init__.py,sha256=
|
|
118
|
+
torchaudio/sox_effects/sox_effects.py,sha256=bafww0e2colzzN8bTMRHG5zvA6oON0pLEpCWRt6wp90,11328
|
|
119
|
+
torchaudio/transforms/__init__.py,sha256=MlMn3JIZvOVdXB0qAk27fgCq1U_RiO6Wz4ntkAGi6ec,1474
|
|
119
120
|
torchaudio/transforms/_multi_channel.py,sha256=Musw7dTu25HNjKeIcKHUDuqBmj_GC2e3TaakqJcffW8,22688
|
|
120
|
-
torchaudio/transforms/_transforms.py,sha256=
|
|
121
|
+
torchaudio/transforms/_transforms.py,sha256=S_a0nvUT2G6w3jm9ILWzWbxNfMyIIFlkTZhee4xI6gU,89076
|
|
121
122
|
torchaudio/utils/__init__.py,sha256=h4Jvrb4vzdxzgJqgzA-TOUqLSZ2mRVALERR8am7BlvQ,185
|
|
122
|
-
torchaudio/utils/download.py,sha256=
|
|
123
|
+
torchaudio/utils/download.py,sha256=tyPmX8EA9xAnz615UtZZsYi1mtGu3vVh4ZfYzWa2DNw,3054
|
|
123
124
|
torchaudio/utils/ffmpeg_utils.py,sha256=1r5cdbhz9ZCY5jW-5_gQ5G360a2fEwd--GBFMq_TxVk,330
|
|
124
|
-
torchaudio/utils/sox_utils.py,sha256=
|
|
125
|
+
torchaudio/utils/sox_utils.py,sha256=VF4ikIm3Eiw99RdaXN_f96QDuqAw9cjS4LxN2E_ETJE,3158
|
|
125
126
|
torio/__init__.py,sha256=6Rz28GL44aSOszXJewvjdcm8Fp47TgphNMPtsIBd2aE,119
|
|
126
127
|
torio/_extension/__init__.py,sha256=9GnFiLWPCViTbUUNio9At1M0ALGqKtZ9lFOuPUn1Sc8,326
|
|
127
128
|
torio/_extension/utils.py,sha256=ppIGBFk868z7QbfSjawHUkSO3yZ7ML2jHFgE-j6GymI,5051
|
|
128
129
|
torio/io/__init__.py,sha256=GSt-4DRzgiuVmNN3WwjDAMACztJidmEP5ghVOlW6OQI,235
|
|
129
|
-
torio/io/_streaming_media_decoder.py,sha256=
|
|
130
|
+
torio/io/_streaming_media_decoder.py,sha256=VT4FaGfV44cJfG6MFQNV1Puocz6PayZ2iDNWfM5apB4,35352
|
|
130
131
|
torio/io/_streaming_media_encoder.py,sha256=C4zIasotf7GlkQqtRK3vMCt2aN6FkG6NK2KUw0ZdHHo,20224
|
|
131
132
|
torio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
132
|
-
torio/lib/_torio_ffmpeg4.pyd,sha256=
|
|
133
|
-
torio/lib/_torio_ffmpeg5.pyd,sha256=
|
|
134
|
-
torio/lib/_torio_ffmpeg6.pyd,sha256=
|
|
135
|
-
torio/lib/libtorio_ffmpeg4.pyd,sha256=
|
|
136
|
-
torio/lib/libtorio_ffmpeg5.pyd,sha256=
|
|
137
|
-
torio/lib/libtorio_ffmpeg6.pyd,sha256=
|
|
133
|
+
torio/lib/_torio_ffmpeg4.pyd,sha256=fZ_N6Qjm7Lq2IyutqzQ2UvF4wg8m92350nXmpoTg81w,2110464
|
|
134
|
+
torio/lib/_torio_ffmpeg5.pyd,sha256=axDTU7eokc2CHKQmGh08gSjwM3q4NNXX_bHx6aWY7b8,2110464
|
|
135
|
+
torio/lib/_torio_ffmpeg6.pyd,sha256=ecautqUrctjp-N0xuUfShybrkeX97_xaMiqzgC2sCEc,2110464
|
|
136
|
+
torio/lib/libtorio_ffmpeg4.pyd,sha256=wjny6pOYA2Z2sKGzznpH0MUXEDqyPghLDPToMUeuV9o,967680
|
|
137
|
+
torio/lib/libtorio_ffmpeg5.pyd,sha256=VXE1-2swfEhKxnLjCI1gm2onf9EWpntA9lnN5AR3yQM,967680
|
|
138
|
+
torio/lib/libtorio_ffmpeg6.pyd,sha256=GO-q0w6dZWJxLTg_bUL0ytCXHRTujEWLP1E5EPigcw4,967680
|
|
138
139
|
torio/utils/__init__.py,sha256=uQV58SlyikUr6yF4HITASCvuX-_fnzbeDxFRzFucQE4,60
|
|
139
|
-
torio/utils/ffmpeg_utils.py,sha256=
|
|
140
|
-
torchaudio-2.
|
|
141
|
-
torchaudio-2.
|
|
142
|
-
torchaudio-2.
|
|
143
|
-
torchaudio-2.
|
|
144
|
-
torchaudio-2.
|
|
140
|
+
torio/utils/ffmpeg_utils.py,sha256=1qDvl4b0ziLPS6cyEL63_LINHScbawJga3Yk2BLuY54,9048
|
|
141
|
+
torchaudio-2.8.0.dist-info/METADATA,sha256=OckS0WMRSG0XrYz9w857UycDcGxBCxQKdMlRH6hof-8,7236
|
|
142
|
+
torchaudio-2.8.0.dist-info/WHEEL,sha256=pkI-s5KKCTCXRcuamRCpmUHK9lBRiVf1mC9_VUZSXgc,101
|
|
143
|
+
torchaudio-2.8.0.dist-info/top_level.txt,sha256=GT0MktEbHKoLnvd-6ii7_dhJVvshupOujk840BcHU4U,17
|
|
144
|
+
torchaudio-2.8.0.dist-info/RECORD,,
|
|
145
|
+
torchaudio-2.8.0.dist-info/licenses/LICENSE,sha256=MmOOF5kxv-VR6r9nsOZ6E7SD4Wa1jdcmNjSrf4nzlvU,1363
|
|
@@ -437,7 +437,6 @@ _format_video_args = _format_doc(
|
|
|
437
437
|
InputStreamTypes = TypeVar("InputStream", bound=SourceStream)
|
|
438
438
|
OutputStreamTypes = TypeVar("OutputStream", bound=OutputStream)
|
|
439
439
|
|
|
440
|
-
|
|
441
440
|
class StreamingMediaDecoder:
|
|
442
441
|
"""Fetch and decode audio/video streams chunk by chunk.
|
|
443
442
|
|
torio/lib/_torio_ffmpeg4.pyd
CHANGED
|
Binary file
|
torio/lib/_torio_ffmpeg5.pyd
CHANGED
|
Binary file
|
torio/lib/_torio_ffmpeg6.pyd
CHANGED
|
Binary file
|
torio/lib/libtorio_ffmpeg4.pyd
CHANGED
|
Binary file
|
torio/lib/libtorio_ffmpeg5.pyd
CHANGED
|
Binary file
|
torio/lib/libtorio_ffmpeg6.pyd
CHANGED
|
Binary file
|
torio/utils/ffmpeg_utils.py
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
"""Module to change the configuration of FFmpeg libraries (such as libavformat).
|
|
2
2
|
|
|
3
3
|
It affects functionalities in :py:mod:`torio.io`.
|
|
4
|
+
|
|
5
|
+
.. warning::
|
|
6
|
+
Starting with version 2.8, we are refactoring TorchAudio to transition it
|
|
7
|
+
into a maintenance phase. As a result:
|
|
8
|
+
|
|
9
|
+
- Some APIs are deprecated in 2.8 and will be removed in 2.9.
|
|
10
|
+
- The decoding and encoding capabilities of PyTorch for both audio and video
|
|
11
|
+
are being consolidated into TorchCodec.
|
|
12
|
+
|
|
13
|
+
Please see https://github.com/pytorch/audio/issues/3902 for more information.
|
|
4
14
|
"""
|
|
5
15
|
from typing import Dict, List, Tuple
|
|
6
16
|
|
|
@@ -9,6 +19,10 @@ import torio
|
|
|
9
19
|
ffmpeg_ext = torio._extension.lazy_import_ffmpeg_ext()
|
|
10
20
|
|
|
11
21
|
|
|
22
|
+
from torchaudio._internal.module_utils import dropping_support
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@dropping_support
|
|
12
26
|
def get_versions() -> Dict[str, Tuple[int]]:
|
|
13
27
|
"""Get the versions of FFmpeg libraries
|
|
14
28
|
|
|
@@ -19,6 +33,7 @@ def get_versions() -> Dict[str, Tuple[int]]:
|
|
|
19
33
|
return ffmpeg_ext.get_versions()
|
|
20
34
|
|
|
21
35
|
|
|
36
|
+
@dropping_support
|
|
22
37
|
def get_log_level() -> int:
|
|
23
38
|
"""Get the log level of FFmpeg.
|
|
24
39
|
|
|
@@ -27,6 +42,7 @@ def get_log_level() -> int:
|
|
|
27
42
|
return ffmpeg_ext.get_log_level()
|
|
28
43
|
|
|
29
44
|
|
|
45
|
+
@dropping_support
|
|
30
46
|
def set_log_level(level: int):
|
|
31
47
|
"""Set the log level of FFmpeg (libavformat etc)
|
|
32
48
|
|
|
@@ -63,6 +79,7 @@ def set_log_level(level: int):
|
|
|
63
79
|
ffmpeg_ext.set_log_level(level)
|
|
64
80
|
|
|
65
81
|
|
|
82
|
+
@dropping_support
|
|
66
83
|
def get_demuxers() -> Dict[str, str]:
|
|
67
84
|
"""Get the available demuxers.
|
|
68
85
|
|
|
@@ -80,6 +97,7 @@ def get_demuxers() -> Dict[str, str]:
|
|
|
80
97
|
return ffmpeg_ext.get_demuxers()
|
|
81
98
|
|
|
82
99
|
|
|
100
|
+
@dropping_support
|
|
83
101
|
def get_muxers() -> Dict[str, str]:
|
|
84
102
|
"""Get the available muxers.
|
|
85
103
|
|
|
@@ -98,6 +116,7 @@ def get_muxers() -> Dict[str, str]:
|
|
|
98
116
|
return ffmpeg_ext.get_muxers()
|
|
99
117
|
|
|
100
118
|
|
|
119
|
+
@dropping_support
|
|
101
120
|
def get_audio_decoders() -> Dict[str, str]:
|
|
102
121
|
"""Get the available audio decoders.
|
|
103
122
|
|
|
@@ -116,6 +135,7 @@ def get_audio_decoders() -> Dict[str, str]:
|
|
|
116
135
|
return ffmpeg_ext.get_audio_decoders()
|
|
117
136
|
|
|
118
137
|
|
|
138
|
+
@dropping_support
|
|
119
139
|
def get_audio_encoders() -> Dict[str, str]:
|
|
120
140
|
"""Get the available audio encoders.
|
|
121
141
|
|
|
@@ -135,6 +155,7 @@ def get_audio_encoders() -> Dict[str, str]:
|
|
|
135
155
|
return ffmpeg_ext.get_audio_encoders()
|
|
136
156
|
|
|
137
157
|
|
|
158
|
+
@dropping_support
|
|
138
159
|
def get_video_decoders() -> Dict[str, str]:
|
|
139
160
|
"""Get the available video decoders.
|
|
140
161
|
|
|
@@ -154,6 +175,7 @@ def get_video_decoders() -> Dict[str, str]:
|
|
|
154
175
|
return ffmpeg_ext.get_video_decoders()
|
|
155
176
|
|
|
156
177
|
|
|
178
|
+
@dropping_support
|
|
157
179
|
def get_video_encoders() -> Dict[str, str]:
|
|
158
180
|
"""Get the available video encoders.
|
|
159
181
|
|
|
@@ -174,6 +196,7 @@ def get_video_encoders() -> Dict[str, str]:
|
|
|
174
196
|
return ffmpeg_ext.get_video_encoders()
|
|
175
197
|
|
|
176
198
|
|
|
199
|
+
@dropping_support
|
|
177
200
|
def get_input_devices() -> Dict[str, str]:
|
|
178
201
|
"""Get the available input devices.
|
|
179
202
|
|
|
@@ -189,6 +212,7 @@ def get_input_devices() -> Dict[str, str]:
|
|
|
189
212
|
return ffmpeg_ext.get_input_devices()
|
|
190
213
|
|
|
191
214
|
|
|
215
|
+
@dropping_support
|
|
192
216
|
def get_output_devices() -> Dict[str, str]:
|
|
193
217
|
"""Get the available output devices.
|
|
194
218
|
|
|
@@ -203,6 +227,7 @@ def get_output_devices() -> Dict[str, str]:
|
|
|
203
227
|
return ffmpeg_ext.get_output_devices()
|
|
204
228
|
|
|
205
229
|
|
|
230
|
+
@dropping_support
|
|
206
231
|
def get_input_protocols() -> List[str]:
|
|
207
232
|
"""Get the supported input protocols.
|
|
208
233
|
|
|
@@ -216,6 +241,7 @@ def get_input_protocols() -> List[str]:
|
|
|
216
241
|
return ffmpeg_ext.get_input_protocols()
|
|
217
242
|
|
|
218
243
|
|
|
244
|
+
@dropping_support
|
|
219
245
|
def get_output_protocols() -> List[str]:
|
|
220
246
|
"""Get the supported output protocols.
|
|
221
247
|
|
|
@@ -229,6 +255,7 @@ def get_output_protocols() -> List[str]:
|
|
|
229
255
|
return ffmpeg_ext.get_output_protocols()
|
|
230
256
|
|
|
231
257
|
|
|
258
|
+
@dropping_support
|
|
232
259
|
def get_build_config() -> str:
|
|
233
260
|
"""Get the FFmpeg build configuration
|
|
234
261
|
|
|
@@ -242,6 +269,7 @@ def get_build_config() -> str:
|
|
|
242
269
|
return ffmpeg_ext.get_build_config()
|
|
243
270
|
|
|
244
271
|
|
|
272
|
+
@dropping_support
|
|
245
273
|
def clear_cuda_context_cache():
|
|
246
274
|
"""Clear the CUDA context used by CUDA Hardware accelerated video decoding"""
|
|
247
275
|
ffmpeg_ext.clear_cuda_context_cache()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|