synchronize#

ray.util.collective.collective.synchronize(gpu_id: int)[source]#

Synchronize the current process to a give device.

Parameters:

gpu_id (int) – the GPU device id to synchronize.