Skip to content

Commit

Permalink
Updated the multiprocess inference file
Browse files Browse the repository at this point in the history
  • Loading branch information
narendrachaudhary51 committed Nov 1, 2023
1 parent 4553842 commit 4969e2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_multiprocess_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def main(argv):
root_condaenv=FLAGS.root_condaenv
input_dir = FLAGS.input_dir

os.environ["LD_PRELOAD"] = "{}/lib/libiomp5.so:{}/lib/libjemalloc.so".format(root_condaenv, root_condaenv)
os.environ["LD_PRELOAD"] = "{}/lib/libiomp5.so:{}/lib/libjemalloc.so:$LD_PRELOAD".format(root_condaenv, root_condaenv)
os.environ["TF_ENABLE_ONEDNN_OPTS"] = "1"
# os.environ["MALLOC_CONF"] = "oversize_threshold:1,background_thread:true,metadata_thp:auto,dirty_decay_ms:-1,muzzy_decay_ms:-1"
os.environ["MALLOC_CONF"] = "oversize_threshold:1,background_thread:true,metadata_thp:auto,dirty_decay_ms:-1,muzzy_decay_ms:-1"
os.environ["USE_OPENMP"] = "1"
os.environ["USE_AVX512"] = "1"
os.environ["IPEX_ONEDNN_LAYOUT"] = "1"
Expand Down

0 comments on commit 4969e2b

Please sign in to comment.