Skip to content

Commit

Permalink
fix code cell (Azure#2039)
Browse files Browse the repository at this point in the history
* fix code cell

If creating the compute cluster, the print didn't work.  This change fixes that.
(Default code won't hit this, because the compute cluster already exists.  But only occurs when that default cluster is not present.)

* Update azureml-in-a-day.ipynb

* Update azureml-in-a-day.ipynb

* move print and revert var change
  • Loading branch information
sdgilley committed Feb 2, 2023
1 parent 6386422 commit b7b926b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tutorials/azureml-in-a-day/azureml-in-a-day.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,14 @@
" # Dedicated or LowPriority. The latter is cheaper but there is a chance of job termination\n",
" tier=\"Dedicated\",\n",
" )\n",

" print(\n",
" f\"AMLCompute with name {cpu_cluster.name} will be created, with compute size {cpu_cluster.size}\"\n",
" )",
"\n",
" # Now, we pass the object to MLClient's create_or_update method\n",
" cpu_cluster = ml_client.compute.begin_create_or_update(cpu_cluster)\n",
"\n",
"print(\n",
" f\"AMLCompute with name {cpu_cluster.name} is created, the compute size is {cpu_cluster.size}\"\n",
")"
"\n"
]
},
{
Expand Down

0 comments on commit b7b926b

Please sign in to comment.