Open
Description
How do I set OMP_NUM_THREADS? I'm using high-core cpu and I'm trying to implement intel's recommendations here: https://github.com/IntelAI/models/blob/master/docs/general/tensorflow/GeneralBestPractices.md
As far as I can tell, I can set inter_op_parallelism_threads via tf$config.threading$set_intra_op_parallelism_threads(32L)
and channels first via k_set_image_data_format('channels_first')
but since OMP_NUM_THREADS is an environment variable I'm not sure how to set it such that the python shell inherits it.