Skip to content

Commit 7e0a950

Browse files
authored
Demo notebook job vs def separation
1 parent 8505e24 commit 7e0a950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo-notebooks/batch-job/batch_mnist_mcad.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
}
6262
],
6363
"source": [
64-
"job = DDPJobDefinition(\n",
64+
"jobdef = DDPJobDefinition(\n",
6565
" name=\"mnistjob\",\n",
6666
" script=\"mnist.py\",\n",
6767
" scheduler_args={\"namespace\": \"default\"},\n",
@@ -71,7 +71,7 @@
7171
" memMB=8000,\n",
7272
" image=\"quay.io/michaelclifford/mnist-test:latest\"\n",
7373
")\n",
74-
"job.submit()"
74+
"job = jobdef.submit()"
7575
]
7676
},
7777
{

0 commit comments

Comments
 (0)