Ray Direct Transport (RDT) API#
Usage with Core APIs#
Enable RDT for actor tasks with the @ray.method
decorator, or pass _tensor_transport
to ray.put()
. You can then pass the resulting ray.ObjectRef
to other actor tasks, or use ray.get()
to retrieve the result. See Ray Direct Transport (RDT) for more details on usage.
Annotate an actor method. |
|
Store an object in the object store. |
|
Get a remote object or a list of remote objects from the object store. |
Collective tensor transports#
Collective tensor transports require a collective group to be created before RDT objects can be used. Use these methods to create and manage collective groups for the gloo
and nccl
tensor transports.
Create a collective group on the given list of actors. |
|
Get the collective groups that the given actors are a subset of. |
|
Destroy a collective group. |