mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[autoscaler] Create Docker Command Runner (v2) (#8840)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
This commit is contained in:
co-authored by
Richard Liaw
parent
ed77c8b16c
commit
0e82f0d7c3
@@ -847,8 +847,9 @@ def submit(cluster_config_file, docker, screen, tmux, stop, start,
|
||||
if start:
|
||||
create_or_update_cluster(cluster_config_file, None, None, False, False,
|
||||
True, cluster_name)
|
||||
|
||||
target = os.path.join("~", os.path.basename(script))
|
||||
target = os.path.basename(script)
|
||||
if not docker:
|
||||
target = os.path.join("~", target)
|
||||
rsync(cluster_config_file, script, target, cluster_name, down=False)
|
||||
|
||||
command_parts = ["python", target]
|
||||
|
||||
Reference in New Issue
Block a user