mirror of
https://github.com/wassname/ray.git
synced 2026-08-16 11:27:09 +08:00
[autoscaler] Support min_workers for multi node type (#11041)
* prepare for head node * move command runner interface outside _private * remove space * Eric * flake * min_workers in multi node type * fixing edge cases * eric not idle * fix target_workers to consider min_workers of node types * idle timeout * minor * minor fix * test * lint * eric v2 * eric 3 * min_workers constraint before bin packing * Update resource_demand_scheduler.py * Revert "Update resource_demand_scheduler.py" This reverts commit 818a63a2c86d8437b3ef21c5035d701c1d1127b5. * reducing diff Co-authored-by: Ameer Haj Ali <ameerhajali@ameers-mbp.lan> Co-authored-by: Alex Wu <alex@anyscale.io> Co-authored-by: Alex Wu <itswu.alex@gmail.com>
This commit is contained in:
co-authored by
Ameer Haj Ali
Alex Wu
Alex Wu
parent
0a6164ab15
commit
0d36e4c025
@@ -17,6 +17,7 @@ available_node_types:
|
||||
node_config:
|
||||
InstanceType: m4.xlarge
|
||||
resources: {"CPU": 4}
|
||||
min_workers: 1
|
||||
max_workers: 5
|
||||
cpu_16_spot:
|
||||
node_config:
|
||||
|
||||
Reference in New Issue
Block a user