Skip to content

Commit

Permalink
fix fn image and add missing deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaIguazio committed Apr 28, 2022
1 parent a2cf04a commit 89f73f7
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 89f73f7

Please sign in to comment.