-
Notifications
You must be signed in to change notification settings - Fork 672
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
TorchAudio Dispatcher Migration #2950
Comments
Related discussion in core: pytorch/pytorch#81102. Ffmpeg integration is currently overlapped/duplicated between torchvision and torchaudio. It would be cool if it moved to a single implementation (in a new / separate package?) Also supporting eliminating global backend state, and forcing user to maintain this selection themselves if they want to use a non-default backend. |
Hi @vadimkantorov — thanks for flagging. Somewhat independently of this particular issue, we are indeed considering consolidating media I/O in a separate package. We'll post updates on the outcomes of our discussions to pytorch/pytorch#81102. |
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also pytorch#2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950
Summary: This commit makes the code defaults to the backend dispatcher by default. Enabling backend dispatcher puts the FFmpeg-based I/O implementation on higher priority (if the corresponding FFmpeg is available), and allows individual function call to specify the backend. See also #2950 Pull Request resolved: #3241 Reviewed By: hwangjeff Differential Revision: D44709068 Pulled By: mthrok fbshipit-source-id: 43aac3433f78a681df6669e9ac46e8ecf3beb1be
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in pytorch#2950.
) Summary: This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in #2950. Pull Request resolved: #3035 Reviewed By: hwangjeff Differential Revision: D44695647 Pulled By: mthrok fbshipit-source-id: 13af0234e288c041bc7b490e1f967f85ce7eb8ec
Overview
We propose the following end state for TorchAudio’s I/O functions info, load, save:
Context
TorchAudio’s functions info, load, and save currently rely on two third-party libraries: SoX and soundfile. Whereas SoX is used in the Linux and Mac distributions, soundfile is used in the Windows distribution.
Through the years, we’ve encountered several issues with SoX:
Separately, our work around streaming I/O introduced FFmpeg as a dependency. FFmpeg's advantages over SoX include the following:
End state
To address the issues above, we propose the following end state:
We anticipate this end state bringing greater cross-platform consistency, simplifying our codebase, and delivering an improved user experience.
Plan
Release 2.0
Release 2.1
torchaudio.sox_effects
. Replace libsox with stub library #3497Release 2.2
The text was updated successfully, but these errors were encountered: