openxla / xla

A machine learning compiler for GPUs, CPUs, and ML accelerators
Apache License 2.0
2.64k stars 418 forks source link

PR #76831: aarch64: set compute library openmp runtime to off by default #17929

Open copybara-service[bot] opened 1 week ago

copybara-service[bot] commented 1 week ago

PR #76831: aarch64: set compute library openmp runtime to off by default

Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/76831

since the official wheel binary is using Eigen thread pool runtime, there is no dependency on OpenMP. However, having openmp ON by default in compute library bazel config causing an unnecessary dependency on libgomp/libomp for aarch64 linux wheel. This PR is to remove the dependency. Copybara import of the project:

-- b3c62ba5777fb192ca612bca8c20fff9797f99b9 by Sunita Nadampalli nadampal@amazon.com:

aarch64: set compute library openmp runtime to off by default

Merging this change closes #76831

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/76831 from snadampal:compute_library_def_runtime_fix b3c62ba5777fb192ca612bca8c20fff9797f99b9

google-cla[bot] commented 1 week ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.