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
Set INTERFACE_LINK_DIRECTORIES on caffe2::mkl #89359
Conversation
This ensures that subsequent link commands involving mkl libraries know where to find the libraries if they are in a non-standard location (which is the case if you installed mkl via conda, which is what our standard instructions recommend.) This is kind of a hack, because the MKL libraries are not actually guaranteed to be in $MKL_ROOT/lib (they are for the conda install though). The real fix is to properly use the MKL targets from FindMKL.cmake but thats its own can of fish. See #73008 This fixes pytorch/audio#2784 Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/89359
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 FailuresAs of commit 0c2d960: The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This ensures that subsequent link commands involving mkl libraries know where to find the libraries if they are in a non-standard location (which is the case if you installed mkl via conda, which is what our standard instructions recommend.) This is kind of a hack, because the MKL libraries are not actually guaranteed to be in $MKL_ROOT/lib (they are for the conda install though). The real fix is to properly use the MKL targets from FindMKL.cmake but thats its own can of fish. See #73008 This fixes pytorch/audio#2784 Signed-off-by: Edward Z. Yang <ezyangfb.com> ghstack-source-id: 65d3516a0f86e464bb27a31978d70828b9bf0ba8 Pull Request resolved: #89359
@pytorchbot merge -f "flaky ci only" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
It looks like this might not be enough; omp dependency isn't setup |
This ensures that subsequent link commands involving mkl libraries know where to find the libraries if they are in a non-standard location (which is the case if you installed mkl via conda, which is what our standard instructions recommend.) This is kind of a hack, because the MKL libraries are not actually guaranteed to be in $MKL_ROOT/lib (they are for the conda install though). The real fix is to properly use the MKL targets from FindMKL.cmake but thats its own can of fish. See pytorch#73008 This fixes pytorch/audio#2784 Signed-off-by: Edward Z. Yang <ezyang@fb.com> Pull Request resolved: pytorch#89359 Approved by: https://github.com/soumith
Stack from ghstack (oldest at bottom):
This ensures that subsequent link commands involving mkl libraries
know where to find the libraries if they are in a non-standard
location (which is the case if you installed mkl via conda, which
is what our standard instructions recommend.)
This is kind of a hack, because the MKL libraries are not actually
guaranteed to be in $MKL_ROOT/lib (they are for the conda install
though). The real fix is to properly use the MKL targets from
FindMKL.cmake but thats its own can of fish. See
#73008
This fixes pytorch/audio#2784
Signed-off-by: Edward Z. Yang ezyang@fb.com