mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 18:45:03 +08:00
Ray, Tune, and RLlib support for memory, object_store_memory options (#5226)
This commit is contained in:
committed by
Robert Nishihara
parent
c852213b83
commit
e2e30ca507
@@ -114,6 +114,12 @@ def cli(logging_level, logging_format):
|
||||
required=False,
|
||||
type=int,
|
||||
help="the port to use for starting the node manager")
|
||||
@click.option(
|
||||
"--memory",
|
||||
required=False,
|
||||
type=int,
|
||||
help="The amount of memory (in bytes) to make available to workers. "
|
||||
"By default, this is set to the available memory on the node.")
|
||||
@click.option(
|
||||
"--object-store-memory",
|
||||
required=False,
|
||||
@@ -220,7 +226,7 @@ def cli(logging_level, logging_format):
|
||||
help="Specify whether load code from local file or GCS serialization.")
|
||||
def start(node_ip_address, redis_address, address, redis_port,
|
||||
num_redis_shards, redis_max_clients, redis_password,
|
||||
redis_shard_ports, object_manager_port, node_manager_port,
|
||||
redis_shard_ports, object_manager_port, node_manager_port, memory,
|
||||
object_store_memory, redis_max_memory, num_cpus, num_gpus, resources,
|
||||
head, include_webui, block, plasma_directory, huge_pages,
|
||||
autoscaling_config, no_redirect_worker_output, no_redirect_output,
|
||||
@@ -253,6 +259,7 @@ def start(node_ip_address, redis_address, address, redis_port,
|
||||
node_ip_address=node_ip_address,
|
||||
object_manager_port=object_manager_port,
|
||||
node_manager_port=node_manager_port,
|
||||
memory=memory,
|
||||
object_store_memory=object_store_memory,
|
||||
redis_password=redis_password,
|
||||
redirect_worker_output=redirect_worker_output,
|
||||
|
||||
Reference in New Issue
Block a user