diff --git a/python/ray/tune/syncer.py b/python/ray/tune/syncer.py index 37dc2dc57..46c70a652 100644 --- a/python/ray/tune/syncer.py +++ b/python/ray/tune/syncer.py @@ -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))