Skip to content

Commit

Permalink
Merge pull request #366 from aviaIguazio/data-ingestion-and-preperation
Browse files Browse the repository at this point in the history
fix fn image and add missing deploy
  • Loading branch information
aviaIguazio authored Apr 28, 2022
2 parents 953e5f1 + 89f73f7 commit a8e2717
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions data-ingestion-and-preparation/dask-cluster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
"metadata": {},
"outputs": [],
"source": [
"fn = mlrun.code_to_function(\"test_dask\", kind='job', handler=\"test_dask\").apply(mlrun.mount_v3io())"
"fn = mlrun.code_to_function(\"test_dask\", kind='job', image='mlrun/mlrun', handler=\"test_dask\").apply(mlrun.mount_v3io())"
]
},
{
Expand All @@ -232,7 +232,7 @@
"metadata": {},
"outputs": [],
"source": [
"dsf = mlrun.new_function(\"dask_init\", kind='dask', image='mlrun/ml-models').apply(mlrun.mount_v3io())"
"dsf = mlrun.new_function(\"dask_init\", kind='dask', image='mlrun/mlrun').apply(mlrun.mount_v3io())"
]
},
{
Expand Down Expand Up @@ -596,6 +596,7 @@
}
],
"source": [
"fn.deploy()\n",
"fn.run(handler = test_dask,\n",
" inputs={\"dataset\": DATA_URL},\n",
" params={\"dask_client\": DASK_CLIENT})"
Expand Down

0 comments on commit a8e2717

Please sign in to comment.