dispatch#

ray.util.tpu.dispatch(*args: Any, **kwargs: Any) List[ray._raylet.ObjectRef][source]#

Run a remote function on every host in a TPU slice.

Deprecated, please use run_on_slice instead.

Warning

DEPRECATED: This API is deprecated and may be removed in future Ray releases. ‘dispatch’ is deprecated and has been renamed to ‘run_on_slice’. Please use ‘run_on_slice’ instead.

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