Skip to content
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

Cherry-pick: Temporarily Disable OpenMP support for libsox (#1026) #1054

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

mthrok
Copy link
Collaborator

@mthrok mthrok commented Nov 20, 2020

Currently libsox on Linux is compiled with GPU OpenMP and it interferes with the version PyTorch uses (Intel in case of binary distribution). This PR disables OpenMP support for libsox, while we investigate the way to use the same OpenMP as PyTorch's version.

Currently `libsox` on Linux is compiled with GPU OpenMP and it interferes with the version PyTorch uses (Intel in case of binary distribution). This PR disables OpenMP support for `libsox`, while we investigate the way to use the same OpenMP as PyTorch's version.

https://github.com/pytorch/audio/issues/1021
"""
executor = ProcessPoolExecutor(1)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you do this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the reproduction of tests reported in #1021

@mthrok mthrok merged commit 130ac7e into pytorch:release/0.7 Dec 3, 2020
@mthrok mthrok deleted the release/0.7 branch December 3, 2020 18:47
@mthrok
Copy link
Collaborator Author

mthrok commented Dec 3, 2020

Thanks!

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.

None yet

3 participants