diff --git a/python/ray/autoscaler/updater.py b/python/ray/autoscaler/updater.py index eb320abb6..b5bae21ae 100644 --- a/python/ray/autoscaler/updater.py +++ b/python/ray/autoscaler/updater.py @@ -29,7 +29,7 @@ KUBECTL_RSYNC = os.path.join( def with_interactive(cmd): force_interactive = ("true && source ~/.bashrc && " - "export PYTHONWARNINGS=ignore && ") + "export OMP_NUM_THREADS=1 PYTHONWARNINGS=ignore && ") return ["bash", "--login", "-c", "-i", quote(force_interactive + cmd)]