dasf.pipeline.executors.ray
Ray executor module.
Attributes
Classes
A pipeline executor based on ray data flow. |
Module Contents
- dasf.pipeline.executors.ray.USE_RAY = True
- class dasf.pipeline.executors.ray.RayPipelineExecutor(address=None, port=6379, local=False, use_gpu=False, ray_kwargs=None)[source]
Bases:
dasf.pipeline.executors.base.Executor
A pipeline executor based on ray data flow.
Parameters
- addressstr
Address of the Dask scheduler, default=None.
- portint
Port of the Ray head, default=8786.
- localbool
Kicks off a new local Ray cluster, default=False.
- use_gpubool
In conjunction with local, it kicks off a local CUDA Ray cluster, default=False.
Constructor of the object RayPipelineExecutor.
- address
- port
- property is_connected
- Return wether the executor is connected or not.
Returns
bool : if the executor is connected.