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 libmkl_rt, or statically link against MKL #31159
Conversation
Part of removing RTLD_GLOBAL for _C. MKL doesn't like being in a local scope, unless you use the libmkl_rt.so variant, so I adapted our CMake configuration to either accept that or only allow static linking. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
Part of removing RTLD_GLOBAL for _C. MKL doesn't like being in a local scope, unless you use the libmkl_rt.so variant, so I adapted our CMake configuration to either accept that or only allow static linking. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: 1ab07cd1671d716aa88ccce62bfa788f0de87bbe Pull Request resolved: #31159
CircleCI build failures summaryAs of commit ee279de:
Detailed failure analysisOne may explore the probable reasons each build failed interactively on the Dr. CI website. 1 new failure recognized by patternsThe following build failures don't appear to be due to upstream breakage: pytorch_linux_xenial_py3_5_test (1/1)Step: "Test" (details)
1 failure not recognized by patterns:
This comment was automatically generated by Dr. CI. Please report bugs/suggestions on the GitHub issue tracker. This comment has been revised 4 times. |
Hooo boy, this is the change that's causing the numeric errors. |
Part of removing RTLD_GLOBAL for _C. MKL doesn't like being in a local scope, unless you use the libmkl_rt.so variant, so I adapted our CMake configuration to either accept that or only allow static linking. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
Part of removing RTLD_GLOBAL for _C. MKL doesn't like being in a local scope, unless you use the libmkl_rt.so variant, so I adapted our CMake configuration to either accept that or only allow static linking. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: f7c8fe043a71af62afc3336dfef4547d0acacda7 Pull Request resolved: pytorch/pytorch#31159
Stack from ghstack:
Part of removing RTLD_GLOBAL for _C.
MKL doesn't like being in a local scope, unless you use the libmkl_rt.so
variant, so I adapted our CMake configuration to either accept that or
only allow static linking.
Signed-off-by: Edward Z. Yang ezyang@fb.com