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

aarch64: cd: switch from libomp to libgomp #1805

Merged
merged 1 commit into from
May 8, 2024

Conversation

snadampal
Copy link
Contributor

In the current version of the CD scripts, torch libraries are linked to llvm openmp because conda openblas-openmp is linked to it. To switch to gnu libgomp, we are building the openblas from sources instead of installing from conda.
Building openBLAS shared library instead of static library to be able to discover LAPACK support in OpenBLAS.

fixes #1774
cherrypicked #1803

In the current version of the CD scripts, torch libraries are
linked to llvm openmp because conda openblas-openmp is linked to it.
To switch to gnu libgomp, we are building the openblas from sources
instead of installing from conda.
Building openBLAS shared library instead of static library to
be able to discover LAPACK support in OpenBLAS.

cherrypicked from pytorch#1803
fixes: pytorch#1774
@snadampal
Copy link
Contributor Author

this is to fix the issue in PyTorch 2.3.x release.
cc: @malfet , @atalman

@snadampal
Copy link
Contributor Author

This PR also fixes: pytorch/pytorch#124922

@atalman atalman merged commit ba10bae into pytorch:release/2.3 May 8, 2024
2 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.

3 participants