Use our own implementation of parallel_memcopy (#7254)

This commit is contained in:
Edward Oakes
2020-02-21 11:03:50 -08:00
committed by GitHub
parent cbc808bc6b
commit d190e73727
7 changed files with 69 additions and 27 deletions
-6
View File
@@ -13,12 +13,6 @@ if "pickle5" in sys.modules:
"requires a specific version of pickle5 (which is "
"packaged along with Ray).")
if "OMP_NUM_THREADS" not in os.environ:
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
# pickle5 version packaged with ray and not a pre-existing pickle5.
pickle5_path = os.path.join(