-
Notifications
You must be signed in to change notification settings - Fork 746
Undo dropping support for forced_align and rnnt_loss #4147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 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 FailuresAs of commit e679adf with merge base b3bb7bc ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
e6c1151 to
6c0f140
Compare
NicolasHug
left a comment
There was a problem hiding this 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
d2c1439 to
4830cb9
Compare
4830cb9 to
e679adf
Compare
Yes, I have removed |
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/.