launcher support for quoted user arg values
diff --git a/deepspeed/pt/deepspeed_run.py b/deepspeed/pt/deepspeed_run.py
index 43b9f0e9e6e2..02a5f351cd6d 100755
--- a/deepspeed/pt/deepspeed_run.py
+++ b/deepspeed/pt/deepspeed_run.py
@@ -329,7 +329,10 @@ def main(args=None):
             "--master_addr={}".format(args.master_addr),
             "--master_port={}".format(args.master_port)
         ]
-        cmd = pdsh_cmd_args + deepspeed_launch + [args.user_script] + args.user_args
+        user_args = list(
+            map(lambda x: x if x.startswith("-") else "'{}'".format(x),
+                args.user_args))
+        cmd = pdsh_cmd_args + deepspeed_launch + [args.user_script] + user_args
     logger.info("cmd={}".format(cmd))
     result = subprocess.Popen(cmd, env=env)
     result.wait()
