send_multiple_tensors#
- abstractmethod TensorTransportManager.send_multiple_tensors(tensors: List[Any], tensor_transport_metadata: TensorTransportMetadata, communicator_metadata: CommunicatorMetadata)[source]#
Sends tensors from the source actor to the destination actor. Ray calls this on the source actor during the transfer. Implement this to perform the actual data transfer using your transport’s send mechanism. For one-sided transports, you can simply avoid implementing this method or even raise a NotImplementedError to ensure it’s not being called.