mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Don't rsync checkpoint_tmp directories. (#18434)
checkpoint_tmpxxxxxx directories must not be synced from the worker nodes to the head node. Co-authored-by: Maxim Egorushkin <maxim.egorushkin@gmail.com> Co-authored-by: Kai Fricke <kai@anyscale.com> Co-authored-by: Kai Fricke <krfricke@users.noreply.github.com>
This commit is contained in:
parent
940c028540
commit
3e7ef04203
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ def log_sync_template(options: str = ""):
|
|||
|
||||
rsh = "ssh -i {ssh_key} -o ConnectTimeout=120s -o StrictHostKeyChecking=no"
|
||||
rsh = rsh.format(ssh_key=quote(ssh_key))
|
||||
options += " --exclude='checkpoint_tmp*'"
|
||||
template = "rsync {options} -savz -e {rsh} {{source}} {{target}}"
|
||||
return template.format(options=options, rsh=quote(rsh))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue