RayΒΆ
The Burr Ray integration allows you to run parallel sub-applications on Ray.
- class burr.integrations.ray.RayExecutor(shutdown_on_end: bool = False)ΒΆ
Ray parallel executor β implementation of concurrent.futures.Executor. Currently experimental
- shutdown(wait=True, **kwargs)ΒΆ
Shuts down the executor by shutting down ray
- Parameters:
wait β Whether to wait β required for hte API but not respected (yet)
kwargs β Keyword arguments β not used yet
- submit(fn, *args, **kwargs)ΒΆ
Submits to ray β creates a python future by calling ray.remote
- Parameters:
fn β Function to submit
args β Args for the fn
kwargs β Kwargs for the fn
- Returns:
The future for the fn