Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Development notes
I tested this on the
pandas-iris
starter pipeline. The modifications I made were to:tags=["executor:kedro.symphony.executor.dask_executor.DaskExecutor"],
for the DS pipelineprint("Model accuracy on test set: %0.2f%%", accuracy * 100)
to thereport_accuracy
node, because the log wasn't showing up on the workerI started up a local Dask cluster following https://towardsdatascience.com/just-start-with-the-dask-localcluster-saturn-cloud-7dbfe5a89c9a ("What to do" section), with
export PYTHONPATH=/Users/deepyaman_datta/new-kedro-project/src
in each shell first as a quick hack (as per https://stackoverflow.com/a/39994128, where MRocklin suggests usingClient.upload_file
as a better method, which makes sense).And then
kedro run
!dask-scheduler
console:dask-worker
console:A lot of the Dask code is taken from https://github.com/hhuuggoo/kedro-dask-example/blob/416034880d9cf3500409fd49ff8053870ce6e15e/src/kedro_dask_example/io/__init__.py.
TODO:
Checklist
RELEASE.md
fileNotice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.