mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-22 05:29:36 +00:00
[fix] error on special env variables #6032
This commit is contained in:
parent
af06d162cf
commit
3de9b42f55
@ -27,7 +27,7 @@ def run_on_host(
|
||||
|
||||
fab_conn = fabric.Connection(hostinfo.hostname, port=hostinfo.port)
|
||||
finish = False
|
||||
env_msg = " ".join([f'{k}="{v}"' for k, v in env.items()])
|
||||
env_msg = " ".join([f"{k}='{v}'" for k, v in env.items()])
|
||||
|
||||
# keep listening until exit
|
||||
while not finish:
|
||||
|
Loading…
Reference in New Issue
Block a user