mirror of
https://github.com/wassname/ray.git
synced 2026-07-11 22:17:23 +08:00
Replace --redis-address with --address in test, docs, tune, rllib (#5602)
* wip * add tests and tune * add ci * test fix * lint * fix tests * wip * sugar dep
This commit is contained in:
@@ -28,7 +28,7 @@ def create_cluster(num_nodes):
|
||||
for i in range(num_nodes):
|
||||
cluster.add_node(resources={str(i): 100}, object_store_memory=10**9)
|
||||
|
||||
ray.init(redis_address=cluster.redis_address)
|
||||
ray.init(address=cluster.address)
|
||||
return cluster
|
||||
|
||||
|
||||
@@ -226,7 +226,7 @@ def test_object_transfer_retry(ray_start_cluster):
|
||||
num_gpus=1,
|
||||
object_store_memory=object_store_memory,
|
||||
_internal_config=config)
|
||||
ray.init(redis_address=cluster.redis_address)
|
||||
ray.init(address=cluster.address)
|
||||
|
||||
@ray.remote(num_gpus=1)
|
||||
def f(size):
|
||||
|
||||
Reference in New Issue
Block a user