ray/doc/source/cluster/cluster_under_construction/ray-clusters-on-vms/references/autoscaler-sdk-api.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
636 B
ReStructuredText
Raw Normal View History

.. warning::
This page is under construction!
.. include:: /_includes/clusters/we_are_hiring.rst
.. _ref-autoscaler-sdk-under-construction:
Autoscaler SDK
==============
.. _ref-autoscaler-sdk-request-resources-under-construction:
ray.autoscaler.sdk.request_resources
------------------------------------
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.
.. .. autofunction:: ray.autoscaler.sdk.request_resources