def attach(): project_definition = load_project_or_throw() attach_cluster( project_definition["cluster"], start=False, use_tmux=False, override_cluster_name=None, new=False, )
def attach(tmux): project_definition = load_project_or_throw() attach_cluster( project_definition.cluster_yaml(), start=False, use_tmux=tmux, override_cluster_name=None, new=False, )
def attach(cluster_config_file, start, screen, tmux, cluster_name, new, port_forward): """Create or attach to a SSH session to a Ray cluster.""" port_forward = [(port, port) for port in list(port_forward)] attach_cluster(cluster_config_file, start, screen, tmux, cluster_name, new, port_forward)
def attach(cluster_config_file, start, tmux, cluster_name, new): attach_cluster(cluster_config_file, start, tmux, cluster_name, new)
def attach(cluster_config_file, start, cluster_name): attach_cluster(cluster_config_file, start, cluster_name)
def attach(cluster_config_file, start, screen, tmux, cluster_name, new, port_forward): port_forward = [(port, port) for port in list(port_forward)] attach_cluster(cluster_config_file, start, screen, tmux, cluster_name, new, port_forward)