Skip to content

Commit

Permalink
Switch restart_ray to True so that we start our own Ray cluster ins…
Browse files Browse the repository at this point in the history
…tead of using SkyPilot's. (#742)

instead of using SkyPilot's.
  • Loading branch information
rohinb2 committed Apr 25, 2024
1 parent d5e3354 commit a8735e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runhouse/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def _start_server(

@app.command()
def start(
restart_ray: bool = typer.Option(False, help="Restart the Ray runtime"),
restart_ray: bool = typer.Option(True, help="Restart the Ray runtime"),
screen: bool = typer.Option(False, help="Start the server in a screen"),
nohup: bool = typer.Option(
False, help="Start the server in a nohup if screen is not available"
Expand Down Expand Up @@ -518,7 +518,7 @@ def start(
@app.command()
def restart(
name: str = typer.Option(None, help="A *saved* remote cluster object to restart."),
restart_ray: bool = typer.Option(False, help="Restart the Ray runtime"),
restart_ray: bool = typer.Option(True, help="Restart the Ray runtime"),
screen: bool = typer.Option(
True,
help="Start the server in a screen. Only relevant when restarting locally.",
Expand Down
2 changes: 1 addition & 1 deletion runhouse/resources/hardware/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def restart_server(
self,
_rh_install_url: str = None,
resync_rh: bool = True,
restart_ray: bool = False,
restart_ray: bool = True,
restart_proxy: bool = False,
):
"""Restart the RPC server.
Expand Down

0 comments on commit a8735e1

Please sign in to comment.