Merge pull request #32466 from wdirons:undo_omp_num_threads_ppc64le
PiperOrigin-RevId: 277333473 Change-Id: I67f444a6be87dc292a574b4ba0de1a720d275438
This commit is contained in:
commit
207a18a37e
@ -1354,13 +1354,6 @@ def main():
|
||||
else:
|
||||
environ_cp['TF_CONFIGURE_IOS'] = '0'
|
||||
|
||||
# The numpy package on ppc64le uses OpenBLAS which has multi-threading
|
||||
# issues that lead to incorrect answers. Set OMP_NUM_THREADS=1 at
|
||||
# runtime to allow the Tensorflow testcases which compare numpy
|
||||
# results to Tensorflow results to succeed.
|
||||
if is_ppc64le():
|
||||
write_action_env_to_bazelrc('OMP_NUM_THREADS', 1)
|
||||
|
||||
xla_enabled_by_default = is_linux() or is_macos()
|
||||
set_build_var(environ_cp, 'TF_ENABLE_XLA', 'XLA JIT', 'with_xla_support',
|
||||
xla_enabled_by_default, 'xla')
|
||||
|
Loading…
Reference in New Issue
Block a user