mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
Restore set omp (#7051)
This commit is contained in:
1 parent
9b9c7f86f7
commit
37053443b4
1 file changed
+1
-1
@@ -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