Back to Daft

Using Daft with Flyte

tutorials/flyte/README.md

0.7.10595 B
Original Source

Using Daft with Flyte

Daft works well with the Flyte workflow engine and its Ray plugin.

Using from Flyte task

To run Daft in a Flyte task, use Daft as if you were using Daft in a local machine!

Using Daft from a Ray Flyte task

To run Daft in a Ray Flyte task and connect to a Ray cluster, use Daft as if ray.init() has already been called.

That is to say, run Daft with: daft.set_runner_ray().

See: app.py for an example.

Setup

To run this locally, perform Flyte local setup as detailed here: https://github.com/jeevb/flyte-examples/tree/main/ray