mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 04:54:15 +08:00
Use grpc for communication from worker to local raylet (task submission and direct actor args only) (#6118)
* Skeleton for SubmitTask proto * Pass through node manager port, connect in raylet client * Switch submit task to grpc * Check port in use * doc * Remove default port, set port randomly from driver * update * Fix test * Fix object manager test
This commit is contained in:
@@ -19,6 +19,11 @@ parser.add_argument(
|
||||
required=True,
|
||||
type=str,
|
||||
help="the ip address of the worker's node")
|
||||
parser.add_argument(
|
||||
"--node-manager-port",
|
||||
required=True,
|
||||
type=int,
|
||||
help="the port of the worker's node")
|
||||
parser.add_argument(
|
||||
"--redis-address",
|
||||
required=True,
|
||||
@@ -74,6 +79,7 @@ if __name__ == "__main__":
|
||||
|
||||
ray_params = RayParams(
|
||||
node_ip_address=args.node_ip_address,
|
||||
node_manager_port=args.node_manager_port,
|
||||
redis_address=args.redis_address,
|
||||
redis_password=args.redis_password,
|
||||
plasma_store_socket_name=args.object_store_name,
|
||||
|
||||
Reference in New Issue
Block a user