Beispiel #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,
    )
Beispiel #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,
    )
Beispiel #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)
Beispiel #4
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)
Beispiel #5
0
def attach(cluster_config_file, start, cluster_name):
    attach_cluster(cluster_config_file, start, cluster_name)
Beispiel #6
0
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)
Beispiel #7
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)