ray.train.collective.barrier#

ray.train.collective.barrier() None#

Create a barrier across all workers.

All workers must call this method before the training function can continue.

Example

PublicAPI (alpha): This API is in alpha and may change before becoming stable.