-
Notifications
You must be signed in to change notification settings - Fork 656
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
Use dlopen for sox #3082
Use dlopen for sox #3082
Conversation
f68dd6b
to
2e330b5
Compare
@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/3082
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 3 Unrelated FailuresAs of commit 88c3f02: BROKEN TRUNK - The following jobs failed but were present on the merge base da21202:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ba9a8ef
to
df19aa6
Compare
1954488
to
87b376e
Compare
077fd6f
to
f46b7c5
Compare
@mthrok has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
3b89487
to
dae2b57
Compare
92bda56
to
bb14df9
Compare
1f90dc2
to
2988fe9
Compare
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
In preparation for pytorch#3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available
Summary: In preparation for #3082 Disable those FFmpeg tests that depend on sox CLI. These tests need to be updated or removed so as not to use sox CLI. Auto-skip some sox tests if decoder/encoder are not available Pull Request resolved: #3494 Differential Revision: D47761948 Pulled By: mthrok fbshipit-source-id: 3a48d7f280f8376a48d223947dd41a7cdc8cbc30
1bcff9f
to
52b18f1
Compare
Since libsox and ffmpeg extensions now depend on external libraries, their initialization processes might cause unrecoverable issue, such as segfault. This commit adds environment variable to disable them so that importing torchaudio won't attempt to load these libraries.
superseded by #3497, which is simpler |
This commit changes the way torchaudio integrates libsox.
Previously, libsox has been statically linked and shipped.
This commit changes it so that libsox will be dl-opened at runtime.
Users now need to install libsox separately. Conda users can do so by
conda install -c conda-forge sox libopus
. Ubuntu users can useapt install libsox-fmt-all
The notable difference is that the supported formats are different from
one distribution to another, thus some formats will not be available unless users build libsox
with these formats enabled.
If this change causes an unrecoverable issue, one can use
TORCHAUDIO_USE_SOX=0
to disablelibsox integration at runtime.