mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-22 21:49:08 +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)
|
fab_conn = fabric.Connection(hostinfo.hostname, port=hostinfo.port)
|
||||||
finish = False
|
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
|
# keep listening until exit
|
||||||
while not finish:
|
while not finish:
|
||||||
|
Loading…
Reference in New Issue
Block a user