We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3af50b1 commit 15b4b10Copy full SHA for 15b4b10
2 files changed
deepspeed/launcher/multinode_runner.py
@@ -4,6 +4,7 @@
4
import subprocess
5
import warnings
6
from abc import ABC, abstractmethod
7
+from shlex import quote
8
9
from ..utils import logger
10
from .constants import PDSH_MAX_FAN_OUT, MVAPICH_TMP_HOSTFILE
deepspeed/launcher/runner.py
@@ -378,7 +378,7 @@ def main(args=None):
378
if os.path.isfile(environ_file):
379
with open(environ_file, 'r') as fd:
380
for var in fd.readlines():
381
- key, val = var.split('=')
+ key, val = var.split('=', maxsplit=1)
382
runner.add_export(key, val)
383
384
cmd = runner.get_cmd(env, active_resources)
0 commit comments