* 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
This commit is contained in:
Sheri Gilley 2023-02-02 16:19:55 -06:00 коммит произвёл GitHub
Родитель 6386422f6f
Коммит b7b926b23b
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -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"
]
},
{