mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 20:05:38 +08:00
[core] Store Internal Config in GCS (#8921)
This commit is contained in:
+7
-1
@@ -92,6 +92,11 @@ class Node:
|
||||
"The raylet IP address should only be different than the node "
|
||||
"IP address when connecting to an existing raylet; i.e., when "
|
||||
"head=False and connect_only=True.")
|
||||
if ray_params._internal_config and len(
|
||||
ray_params._internal_config) > 0 and (not head
|
||||
and not connect_only):
|
||||
raise ValueError(
|
||||
"Internal config parameters can only be set on the head node.")
|
||||
|
||||
self._raylet_ip_address = raylet_ip_address
|
||||
|
||||
@@ -663,7 +668,8 @@ class Node:
|
||||
plasma_directory=self._ray_params.plasma_directory,
|
||||
huge_pages=self._ray_params.huge_pages,
|
||||
fate_share=self.kernel_fate_share,
|
||||
socket_to_use=self.socket)
|
||||
socket_to_use=self.socket,
|
||||
head_node=self.head)
|
||||
assert ray_constants.PROCESS_TYPE_RAYLET not in self.all_processes
|
||||
self.all_processes[ray_constants.PROCESS_TYPE_RAYLET] = [process_info]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user