mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
[autoscaler] Fix semantics of request_resources (#11820)
This commit is contained in:
@@ -38,6 +38,12 @@ The basic autoscaling config settings are as follows:
|
||||
# considered idle if there are no tasks or actors running on it.
|
||||
idle_timeout_minutes: 5
|
||||
|
||||
Programmatically Scaling a Cluster
|
||||
----------------------------------
|
||||
|
||||
You can from within a Ray program command the autoscaler to scale the cluster up to a desired size with ``request_resources()`` call. The cluster will immediately attempt to scale to accomodate the requested resources, bypassing normal upscaling delay.
|
||||
|
||||
.. autofunction:: ray.autoscaler.sdk.request_resources
|
||||
|
||||
Manually Adding Nodes without Resources (Unmanaged Nodes)
|
||||
---------------------------------------------------------
|
||||
@@ -159,4 +165,4 @@ The following configuration is for a GPU enabled node type:
|
||||
worker_image:
|
||||
- rayproject/ray-ml:latest-gpu
|
||||
worker_run_options: # Appended to top-level docker field.
|
||||
- "-v /home:/home"
|
||||
- "-v /home:/home"
|
||||
|
||||
Reference in New Issue
Block a user