torchaudio 2.5.1__cp312-cp312-macosx_11_0_arm64.whl → 2.7.0__cp312-cp312-macosx_11_0_arm64.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.

@@ -999,7 +999,8 @@ else:
999
999
 
1000
1000
  def lfilter(waveform: Tensor, a_coeffs: Tensor, b_coeffs: Tensor, clamp: bool = True, batching: bool = True) -> Tensor:
1001
1001
  r"""Perform an IIR filter by evaluating difference equation, using differentiable implementation
1002
- developed independently by *Yu et al.* :cite:`ismir_YuF23` and *Forgione et al.* :cite:`forgione2021dynonet`.
1002
+ developed separately by *Yu et al.* :cite:`ismir_YuF23` and *Forgione et al.* :cite:`forgione2021dynonet`.
1003
+ The gradients of ``a_coeffs`` are computed based on a faster algorithm from :cite:`ycy2024diffapf`.
1003
1004
 
1004
1005
  .. devices:: CPU CUDA
1005
1006
 
@@ -1661,9 +1662,9 @@ def vad(
1661
1662
  flushedLen_ns = (measures_len - num_measures_to_flush) * measure_period_ns
1662
1663
  break
1663
1664
  # end for window
1664
- if not has_triggered:
1665
- return waveform[..., :0].view(shape[:-1] + torch.Size([0]))
1665
+ if not has_triggered and shape[-1] >= fixed_pre_trigger_len_ns:
1666
+ return waveform[..., :fixed_pre_trigger_len_ns].view(shape[:-1] + torch.Size([fixed_pre_trigger_len_ns]))
1666
1667
 
1667
- res = waveform[:, pos - samplesLen_ns + flushedLen_ns :]
1668
+ res = waveform[:, max(pos - samplesLen_ns + flushedLen_ns, 0) :]
1668
1669
  # unpack batch
1669
1670
  return res.view(shape[:-1] + res.shape[-1:])
Binary file
Binary file
Binary file
Binary file
torchaudio/version.py CHANGED
@@ -1,2 +1,2 @@
1
- __version__ = '2.5.1'
2
- git_version = '1661daf10599ca8889f092ec37814fabbe202bb0'
1
+ __version__ = '2.7.0'
2
+ git_version = '654fee8fd17784271be1637eac1293fd834b4e9a'
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: torchaudio
3
- Version: 2.5.1
3
+ Version: 2.7.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
@@ -15,16 +15,27 @@ Classifier: Operating System :: MacOS :: MacOS X
15
15
  Classifier: Operating System :: Microsoft :: Windows
16
16
  Classifier: Operating System :: POSIX
17
17
  Classifier: Programming Language :: C++
18
- Classifier: Programming Language :: Python :: 3.8
19
18
  Classifier: Programming Language :: Python :: 3.9
20
19
  Classifier: Programming Language :: Python :: 3.10
21
20
  Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
24
  Classifier: Topic :: Multimedia :: Sound/Audio
24
25
  Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
26
  Description-Content-Type: text/markdown
26
27
  License-File: LICENSE
27
- Requires-Dist: torch (==2.5.1)
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
28
39
 
29
40
  torchaudio: an audio library for PyTorch
30
41
  ========================================
@@ -79,7 +90,7 @@ If you find this package useful, please cite as:
79
90
  ```bibtex
80
91
  @article{yang2021torchaudio,
81
92
  title={TorchAudio: Building Blocks for Audio and Speech Processing},
82
- 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},
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},
83
94
  journal={arXiv preprint arXiv:2110.15018},
84
95
  year={2021}
85
96
  }
@@ -4,21 +4,16 @@ torio/io/__init__.py,sha256=xz7REkkyfRhAASzVCAfoNruFtAGIx1I--usPAa2tMww,226
4
4
  torio/io/_streaming_media_encoder.py,sha256=rSTYmHdi7RPJ6YPgAyGJhbQvn4mcxLem3nlnr_ophTs,19722
5
5
  torio/utils/__init__.py,sha256=ScHtnontymRDNn9qEIC0neue5mfG82yhB8bwETOb0Z4,56
6
6
  torio/utils/ffmpeg_utils.py,sha256=JsP2ptjQAE4U7Z_CSauQKH_k72wdu6nrBMfNHl9pIXQ,8026
7
- torio/lib/libtorio_ffmpeg5.so,sha256=NHKLC__a2P2Gn-ffqPfKqZTIeNL_9z3EcbNPpRNl4SQ,515616
8
- torio/lib/_torio_ffmpeg4.so,sha256=NlhSBJZoBj2d_gY6xx-apwbD6xmlBj4ED0i4XIafBBk,521824
7
+ torio/lib/libtorio_ffmpeg5.so,sha256=B1aUwfp2kH00dc4avycbs55WsGHbLyi60-98ob4VoB0,515760
8
+ torio/lib/_torio_ffmpeg4.so,sha256=oqZY28qlSqFS9TzFSqXUAvsVOpQvodIgIgnb7wtwZm4,543792
9
9
  torio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- torio/lib/_torio_ffmpeg5.so,sha256=MZPDcyOhw8xbEcNkReIPkPSmahLF5iTlGxc8V_R8zQo,521824
11
- torio/lib/libtorio_ffmpeg4.so,sha256=ToOf-xxGR-cKuyZpEbk4Rs38tt0Z1dUkeuZWlCiU35s,515616
12
- torio/lib/_torio_ffmpeg6.so,sha256=N8bW5RfZ3H1DfeuckSczU-RR0CMDY4pylFS9vDyKmJA,521824
13
- torio/lib/libtorio_ffmpeg6.so,sha256=eiP8cfxCErkHuyTzjjPnKc-axlYKQ6wAzFGpSVoQioE,515616
10
+ torio/lib/_torio_ffmpeg5.so,sha256=-bEMt-ZZLrfETZNIWQsTBBljQ5estqpkXH2kI45tdVA,543792
11
+ torio/lib/libtorio_ffmpeg4.so,sha256=vGP2LAbKgs7PJLSOfsrNfc-6pseeXuiuY4oOOkesEt0,515760
12
+ torio/lib/_torio_ffmpeg6.so,sha256=X0TqZvUBpUphX3DyKvF4zeFbJp8KiQHiN6ZPq5Ge9OI,543792
13
+ torio/lib/libtorio_ffmpeg6.so,sha256=yfGWtQFharN9Qstmslcn-lUlkjkgg29ENB8M52mei-I,515760
14
14
  torio/_extension/__init__.py,sha256=q5jjeOhSrzqn0WTEwrx61Fr13aCjb7IQCDGsBqAdGEU,313
15
15
  torio/_extension/utils.py,sha256=ktE0L_z-RF1qkpLVGgdG4DEGHa2Zn6uokOAmwC7Evvo,4904
16
- torchaudio-2.5.1.dist-info/RECORD,,
17
- torchaudio-2.5.1.dist-info/LICENSE,sha256=k6WIYahYzBCOa2uDPgjnbosqZjOeSoAHyKWowf-cQNY,1338
18
- torchaudio-2.5.1.dist-info/WHEEL,sha256=lWey-nzGdePMz7fsIJ1fIMVKiFg5IkOcUVqkuIpdbws,109
19
- torchaudio-2.5.1.dist-info/top_level.txt,sha256=GT0MktEbHKoLnvd-6ii7_dhJVvshupOujk840BcHU4U,17
20
- torchaudio-2.5.1.dist-info/METADATA,sha256=RcyC-WrPDB8jGnGByVu2pMbcYh2Yu7gjeBIl9JoibDA,6355
21
- torchaudio/version.py,sha256=f4bXuRI4ZuPihUu1mg1Iysl1uDGTQK32QPtKHBc8_og,79
16
+ torchaudio/version.py,sha256=wz00mShnrV6KeyRAHdlrRnqrweZJF5dzQGVdtNA0grU,79
22
17
  torchaudio/kaldi_io.py,sha256=TwS2YgSLlJwOXjNNsHBuXyxhKeKKpptVHLBV7QYZCas,5073
23
18
  torchaudio/__init__.py,sha256=VSnZ6s4e5clAj7f7aCXBZt9amskeXg1j19txAQBQ2Iw,892
24
19
  torchaudio/_internal/__init__.py,sha256=gjU8g9HhVd9hHrHXJM0xOlZL6cT8ktO60MN8RHI6ZbA,241
@@ -132,16 +127,21 @@ torchaudio/_backend/soundfile_backend.py,sha256=qJHEEXU1egCkPJ2Y9uJWFvVhW3AqDZ7z
132
127
  torchaudio/transforms/__init__.py,sha256=Tp1o4haiJAV3MRJenmvGXFbmt-RE4qM_pd6U3Ghohqw,1270
133
128
  torchaudio/transforms/_transforms.py,sha256=QHrEsxxxm1bPd5dltPeTcNOsMBu0Ecxa2oe6GIX-nvk,86872
134
129
  torchaudio/transforms/_multi_channel.py,sha256=GZ2rrwFt2KtSG7At7kS9Bqh1KmYYw0HwcUnEjc-AWr8,22221
135
- torchaudio/lib/libtorchaudio.so,sha256=G0ZlBFZU3ch4cBNaAZSFFBYXimsis-moAfdy5FXWrDY,721808
130
+ torchaudio/lib/libtorchaudio.so,sha256=9_jiHqwlIjs7sEnEy0rN_Yj1A2hioM2NO5xk6pUnxlY,819552
136
131
  torchaudio/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
137
- torchaudio/lib/_torchaudio.so,sha256=p_32_7A-6JNkPv5x4L2dFqihGy7hTmBQ_nZLnTELXh4,192112
138
- torchaudio/lib/libtorchaudio_sox.so,sha256=GWLrqvkRX18HHwjCGjLXQdlVEwXf9-q3zjxVrZXHYtU,173280
139
- torchaudio/lib/_torchaudio_sox.so,sha256=0uqnu0iZwkmyHPyEp2NYBESfT2MMz-wxMeRymDv_j1Y,320416
132
+ torchaudio/lib/_torchaudio.so,sha256=bWEcEpw0Qv4hOMSu9XWZJYpJLMgS4w3XVG4UjYIj_-s,192016
133
+ torchaudio/lib/libtorchaudio_sox.so,sha256=FOiB1OfwnhzY2QJfE6lipAxhYcpVQAy_1diVmHBUeZU,173280
134
+ torchaudio/lib/_torchaudio_sox.so,sha256=_EaOSQgOwQbJGf1aNk75D9IcPwD9yK_wUxM3Wyolf4I,320304
140
135
  torchaudio/_extension/__init__.py,sha256=lQPB8K7VSxWmtTEiMmF-u7WVq1O10_t5nEghkjCf4Ks,2202
141
136
  torchaudio/_extension/utils.py,sha256=4FTD6xwcSLqVJ3Kmpx5cvJp1oAUKmWwRjwuxpcbrmzw,6258
142
137
  torchaudio/sox_effects/sox_effects.py,sha256=7cHpPFRJ_pZuohHMnX9JIhiVmIJGYntSmgT6QH5GNMA,10981
143
138
  torchaudio/sox_effects/__init__.py,sha256=gCxdiwHK3ldlGCeYc9VatJW5HyzjWIgw_Sz_krp_rOw,262
144
- torchaudio/functional/filtering.py,sha256=5SAPz-0sioU5EYX4VqOnbPAys8jtPSpFnpzbVnTlZyM,61445
139
+ torchaudio/functional/filtering.py,sha256=oQU0dKo-ExoLoGWcoV9kZ6Seb4DD8OkEH1RpskoX7QI,61642
145
140
  torchaudio/functional/__init__.py,sha256=l-gC2WyY5COabU0lhkUS8EnwOYdEYR_6234OyoAIgnU,2357
146
141
  torchaudio/functional/_alignment.py,sha256=wmDeohWvuoYORYDeIRxnYUhUqv1uCUkaCZYLEK_ryUg,4695
147
142
  torchaudio/functional/functional.py,sha256=c8qr3mmPXLi40N4NCLcpHvQeUIuoNtbszksjtruC15g,96006
143
+ torchaudio-2.7.0.dist-info/RECORD,,
144
+ torchaudio-2.7.0.dist-info/LICENSE,sha256=k6WIYahYzBCOa2uDPgjnbosqZjOeSoAHyKWowf-cQNY,1338
145
+ torchaudio-2.7.0.dist-info/WHEEL,sha256=VujM3ypTCyUW6hcTDdK2ej0ARVMxlU1Djlh_zWnDgqk,109
146
+ torchaudio-2.7.0.dist-info/top_level.txt,sha256=GT0MktEbHKoLnvd-6ii7_dhJVvshupOujk840BcHU4U,17
147
+ torchaudio-2.7.0.dist-info/METADATA,sha256=WUbI5YINijwRL4OtFgqeG6S8-rAtOeeEa_qOgdpYpQA,6618
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-macosx_11_0_arm64
5
5
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file