Change log level for OMP warning (#7114)

This commit is contained in:
Simon Mo authored and GitHub committed 2020-02-11 14:15:38 -08:00
1 parent 2a0e4d94aa
commit 039d2cde88
2 files changed
+11 -3

No files matched your search

+3 -3
View File
@@ -14,9 +14,9 @@ if "pickle5" in sys.modules:
"packaged along with Ray).")
if "OMP_NUM_THREADS" not in os.environ:
logger.warning("[ray] Forcing OMP_NUM_THREADS=1 to avoid performance "
"degradation with many workers (issue #6998). You can "
"override this by explicitly setting OMP_NUM_THREADS.")
logger.debug("[ray] Forcing OMP_NUM_THREADS=1 to avoid performance "
"degradation with many workers (issue #6998). You can "
"override this by explicitly setting OMP_NUM_THREADS.")
os.environ["OMP_NUM_THREADS"] = "1"
# Add the directory containing pickle5 to the Python path so that we find the