mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 18:06:25 +08:00
[Doc] Update actor resource information (#13909)
* in progress. * Revert "in progress." This reverts commit 21a91a47522797210bdc5db9477bd0b02ed9d926. * done. * done.
This commit is contained in:
@@ -174,14 +174,12 @@ have these resources (see `configuration instructions
|
||||
|
||||
* If you specify resource requirements in an actor class's remote decorator,
|
||||
then the actor will acquire those resources for its entire lifetime (if you
|
||||
do not specify CPU resources, the default is 1), even if it is not executing
|
||||
do not specify CPU resources, the default is 0), even if it is not executing
|
||||
any methods. The actor will not acquire any additional resources when
|
||||
executing methods.
|
||||
* If you do not specify any resource requirements in the actor class's remote
|
||||
decorator, then by default, the actor will not acquire any resources for its
|
||||
lifetime, but every time it executes a method, it will need to acquire 1 CPU
|
||||
resource.
|
||||
|
||||
lifetime.
|
||||
|
||||
.. tabs::
|
||||
.. code-tab:: python
|
||||
|
||||
Reference in New Issue
Block a user