ray/doc/source/cluster-deprecated/sdk.rst
Chen Shen ddca52d2ca
[cluster doc] Promote new doc and deprecate the old (#27759)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2022-08-10 17:41:56 -07:00

15 lines
524 B
ReStructuredText

.. include:: we_are_hiring.rst
.. _ref-autoscaler-sdk:
Autoscaler SDK
==============
.. _ref-autoscaler-sdk-request-resources:
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