We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding the ability to execute via Dask, will require modifications to the original workflow:
This example code demonstrates the necessary wrappers to make Dask work with prefect
from prefect import flow, task from prefect_dask import DaskTaskRunner .... def dask_flow(): prefect_future = stage.submit() return prefect_future.result() client = Client() wrapper = flow( dask_flow, task_runner=DaskTaskRunner( cluster_kwargs={"n_workers": 2, "threads_per_worker": 1}, ) ) wrapper()
The text was updated successfully, but these errors were encountered:
Fixed in #34
Sorry, something went wrong.
kreczko
No branches or pull requests
Adding the ability to execute via Dask, will require modifications to the original workflow:
This example code demonstrates the necessary wrappers to make Dask work with prefect
The text was updated successfully, but these errors were encountered: