Example #1
0
def attach():
    project_definition = load_project_or_throw()
    attach_cluster(
        project_definition["cluster"],
        start=False,
        use_tmux=False,
        override_cluster_name=None,
        new=False,
    )
Example #2
0
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,
    )
Example #3
0
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)
Example #4
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)
Example #5
0
def attach(cluster_config_file, start, cluster_name):
    attach_cluster(cluster_config_file, start, cluster_name)
Example #6
0
File: scripts.py Project: w0617/ray
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)
Example #7
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)