AutoscalingCluster#
- class ray.cluster_utils.AutoscalingCluster(head_resources: dict, worker_node_types: dict, autoscaler_v2: bool = False, **config_kwargs)[source]#
Bases:
objectCreate a local autoscaling cluster for testing.
See test_autoscaler_fake_multinode.py for an end-to-end example.
DeveloperAPI: This API may change across minor Ray releases.
Methods