Core API#
Connect to an existing Ray cluster or start one and connect to it. |
|
Disconnect the worker, and terminate processes started by ray.init(). |
|
Check if ray.init has been called yet. |
|
A class used to store the configurations of a job. |
|
Logging configuration for a Ray job. |
Tasks#
Defines a remote function or an actor class. |
|
Configures and overrides the task invocation parameters. |
|
Cancels a task. |
Actors#
Defines a remote function or an actor class. |
|
An actor class. |
|
Configures and overrides the actor instantiation parameters. |
|
A class used to invoke an actor method. |
|
A handle to an actor. |
|
Intentionally exit the current actor. |
|
Annotate an actor method. |
|
Get a handle to a named actor. |
|
Kill an actor forcefully. |
Objects#
Get a remote object or a list of remote objects from the object store. |
|
Return a list of IDs that are ready and a list of IDs that are not. |
|
Store an object in the object store. |
Runtime Context#
Get the runtime context of the current driver/worker. |
|
A class used for getting runtime context. |
|
Get the IDs of the GPUs that are available to the worker. |
Cross Language#
Define a Java function. |
|
Define a Java actor class. |