ray.experimental.TensorTransportManager.garbage_collect#

abstract TensorTransportManager.garbage_collect(obj_id: str, tensor_transport_meta: TensorTransportMetadata)[source]#

Garbage collect for the tensor transport after the GPU object is freed. This is only called on the source actor after Ray’s distributed reference counting decides the object is out of scope.

Parameters:
  • obj_id – The ID of the GPU object to garbage collect.

  • tensor_transport_meta – The tensor transport metadata.