ray.experimental.TensorTransportManager.can_abort_transport#
- abstract static TensorTransportManager.can_abort_transport() bool[source]#
Indicates whether your transport can safely abort an in-progress transfer.
If
True, Ray callsabort_transporton both the source and destination actors when a send / recv error, allowing your transport to clean up gracefully.If
False, Ray kills the involved actors to prevent deadlocks when errors occur during transfer.Return
Trueonly if your transport can reliably interrupt an in-progress send or receive operation without leaving either party in a blocked state.- Returns:
True if the backend can abort the transport.
- Return type: