mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
Restore set omp (#7051)
This commit is contained in:
@@ -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)]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user