pull/845/head
Xiujuan Li 2024-07-03 16:06:47 +08:00
parent 24df89bf45
commit dbf6449385
1 changed files with 2 additions and 1 deletions

View File

@ -1615,7 +1615,8 @@ if is_on_sagemaker:
try:
if sync_script and (
sync_script.startswith("cat") or sync_script.startswith("os.environ")
or sync_script.startswith("print") or sync_script.startswith("ls")
or sync_script.startswith("print") or sync_script.startswith("ls ")
or sync_script.startswith("du ")
# or sync_script.startswith("python3 -m pip") or sync_script.startswith("python -m pip")
# or sync_script.startswith("pip install") or sync_script.startswith("apt")
# or sync_script.startswith("curl") or sync_script.startswith("wget")