reference.rst 534 B

1234567891011121314
  1. .. _ref-autoscaler-sdk:
  2. Programmatic Cluster Scaling
  3. ============================
  4. .. _ref-autoscaler-sdk-request-resources:
  5. ray.autoscaler.sdk.request_resources
  6. ------------------------------------
  7. Within a Ray program, you can command the autoscaler to scale the cluster up to a desired size with ``request_resources()`` call. The cluster will immediately attempt to scale to accommodate the requested resources, bypassing normal upscaling speed constraints.
  8. .. autofunction:: ray.autoscaler.sdk.request_resources
  9. :noindex: