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_sliceinstead.- Parameters:
- Returns:
The object refs that
run_on_slicereturns, one per host in the slice.- Return type:
List[ray._raylet.ObjectRef]
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.