Skip to content

Conversation

@pearu
Copy link
Collaborator

@pearu pearu commented Dec 7, 2025

As of #4142, torchaudio is fully torch ABI stable that includes the extension operations forced_align and rnnt_loss_forward. So, we can continue supporting these in the future.

PLEASE NOTE THAT THE TORCHAUDIO REPOSITORY IS NO LONGER ACTIVELY MONITORED. You may not get a response. For open discussions, visit https://discuss.pytorch.org/.

@pearu pearu requested a review from a team as a code owner December 7, 2025 21:37
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 7, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/4147

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit e679adf with merge base b3bb7bc (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed label Dec 7, 2025
@pearu pearu changed the title Undo drop support for forced_align and rnnt_loss Undo dropping support for forced_align and rnnt_loss Dec 7, 2025
@pearu pearu marked this pull request as draft December 7, 2025 21:40
@pearu pearu force-pushed the pearu/undo-drop-1 branch from e6c1151 to 6c0f140 Compare December 7, 2025 21:43
@pearu pearu marked this pull request as ready for review December 7, 2025 22:32
@pearu pearu requested a review from NicolasHug December 7, 2025 23:02
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pearu

We can probably remove the other usage of dropping_support and dropping_class_support, as well as their implementation now?

~/dev/audio (main*) » git grep -e dropping_class_support -e dropping_support                            nicolashug@nicolashug-fedora-PW0H326Y
src/torchaudio/_internal/module_utils.py:dropping_support = deprecated(DEPRECATION_MSG, version="2.9", remove=True)
src/torchaudio/_internal/module_utils.py:def dropping_class_support(c, msg=DEPRECATION_MSG):
src/torchaudio/_internal/module_utils.py:dropping_class_io_support = partial(dropping_class_support, msg=IO_DEPRECATION_MSG)
src/torchaudio/functional/__init__.py:from torchaudio._internal.module_utils import dropping_support
src/torchaudio/functional/__init__.py:forced_align = dropping_support(_forced_align)
src/torchaudio/functional/functional.py:from torchaudio._internal.module_utils import dropping_support
src/torchaudio/functional/functional.py:rnnt_loss = dropping_support(_rnnt_loss)
src/torchaudio/models/decoder/__init__.py:from torchaudio._internal.module_utils import dropping_class_support, dropping_support
src/torchaudio/models/decoder/__init__.py:            item = dropping_class_support(orig_item)
src/torchaudio/models/decoder/__init__.py:            item = dropping_support(orig_item)
src/torchaudio/transforms/__init__.py:from torchaudio._internal.module_utils import dropping_class_support
src/torchaudio/transforms/__init__.py:RNNTLoss = dropping_class_support(_RNNTLoss)
test/torchaudio_unittest/common_utils/func_utils.py:        # like @deprecated or @dropping_support. Adding the decorators breaks
test/torchaudio_unittest/functional/torchscript_consistency_impl.py:            # like @deprecated or @dropping_support. Adding the decorators breaks

@pearu pearu force-pushed the pearu/undo-drop-1 branch from d2c1439 to 4830cb9 Compare December 8, 2025 14:28
@pearu pearu force-pushed the pearu/undo-drop-1 branch from 4830cb9 to e679adf Compare December 8, 2025 14:30
@pearu
Copy link
Collaborator Author

pearu commented Dec 8, 2025

We can probably remove the other usage of dropping_support and dropping_class_support, as well as their implementation now?

Yes, I have removed dropping* tools as well as deprecated* ones as these are not used anymore either.

@pearu pearu merged commit 5548eb2 into pytorch:main Dec 8, 2025
58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants