mirror of
https://github.com/wassname/ray.git
synced 2026-09-11 12:43:20 +08:00
Remove num_local_schedulers argument from ray.worker._init. (#3704)
* Remove num_local_schedulers argument from ray.worker._init. * Fix * Fix tests.
This commit is contained in:
committed by
Philipp Moritz
parent
e78562b2e8
commit
c9d70f0dda
@@ -41,9 +41,7 @@ def ray_start_combination(request):
|
||||
cluster = Cluster(
|
||||
initialize_head=True,
|
||||
head_node_args={
|
||||
"resources": {
|
||||
"CPU": 10
|
||||
},
|
||||
"num_cpus": 10,
|
||||
"redis_max_memory": 10**7
|
||||
})
|
||||
for i in range(num_nodes - 1):
|
||||
@@ -200,9 +198,7 @@ def ray_start_reconstruction(request):
|
||||
cluster = Cluster(
|
||||
initialize_head=True,
|
||||
head_node_args={
|
||||
"resources": {
|
||||
"CPU": 1
|
||||
},
|
||||
"num_cpus": 1,
|
||||
"object_store_memory": plasma_store_memory // num_nodes,
|
||||
"redis_max_memory": 10**7,
|
||||
"redirect_output": True,
|
||||
|
||||
Reference in New Issue
Block a user