Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rkooo567 committed Sep 1, 2023
1 parent eeb3610 commit 484c68a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions python/ray/scripts/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,14 +537,6 @@ def debug(address):
type=str,
help="a JSON serialized dictionary mapping label name to label value.",
)
@click.option(
"--session-name",
required=False,
hidden=False,
default=None,
type=str,
help="The session name of the cluster.",
)
@add_click_logging_options
@PublicAPI
def start(
Expand Down Expand Up @@ -590,7 +582,6 @@ def start(
ray_debugger_external,
disable_usage_stats,
labels,
session_name,
):
"""Start Ray processes manually on the local machine."""

Expand Down Expand Up @@ -643,9 +634,6 @@ def start(
if has_ray_client and ray_client_server_port is None:
ray_client_server_port = 10001

if session_name:
session_name = f"session_{session_name}"

ray_params = ray._private.parameter.RayParams(
node_ip_address=node_ip_address,
node_name=node_name if node_name else node_ip_address,
Expand Down Expand Up @@ -682,9 +670,7 @@ def start(
no_monitor=no_monitor,
tracing_startup_hook=tracing_startup_hook,
ray_debugger_external=ray_debugger_external,
session_name=session_name,
)
print("SANG-TODO 1", ray_params.session_name)

if ray_constants.RAY_START_HOOK in os.environ:
_load_class(os.environ[ray_constants.RAY_START_HOOK])(ray_params, head)
Expand Down
2 changes: 0 additions & 2 deletions python/ray/tests/conftest_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ def print_logs(self):
# ip:port is treated as a different raylet.
"--node-manager-port",
"9379",
"--session-name",
session_name,
],
volumes={"{head_node_vol.name}": {"bind": "/tmp", "mode": "rw"}},
environment={"RAY_REDIS_ADDRESS": "{redis.ips.primary}:6379"},
Expand Down

0 comments on commit 484c68a

Please sign in to comment.