示例#1
0
文件: scripts.py 项目: hkourog/ray
def attach():
    project_definition = load_project_or_throw()
    attach_cluster(
        project_definition["cluster"],
        start=False,
        use_tmux=False,
        override_cluster_name=None,
        new=False,
    )
示例#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,
    )
示例#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)
示例#4
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)
示例#5
0
def attach(cluster_config_file, start, cluster_name):
    attach_cluster(cluster_config_file, start, cluster_name)
示例#6
0
文件: scripts.py 项目: 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)
示例#7
0
def attach(cluster_config_file, start, tmux, cluster_name, new):
    attach_cluster(cluster_config_file, start, tmux, cluster_name, new)