Skip to content

Commit 7bb906b

Browse files
authored
Merge pull request Azure#87 from rastala/master
Update to version 0.1.80
2 parents f5bcc55 + 5726fe3 commit 7bb906b

File tree

61 files changed

+23015
-24656
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+23015
-24656
lines changed

00.configuration.ipynb

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"* Your subscription id\n",
141141
"* The resource group name\n",
142142
"\n",
143-
"**Note**: As with other Azure services, there are limits on certain resources (for eg. BatchAI cluster size) associated with the Azure Machine Learning service. Please read [this article](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-manage-quotas) on the default limits and how to request more quota."
143+
"**Note**: As with other Azure services, there are limits on certain resources (for eg. AmlCompute quota) associated with the Azure Machine Learning service. Please read [this article](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-manage-quotas) on the default limits and how to request more quota."
144144
]
145145
},
146146
{
@@ -210,7 +210,7 @@
210210
"source": [
211211
"## Create compute resources for your training experiments\n",
212212
"\n",
213-
"Many of the subsequent examples use BatchAI clusters to train models at scale. To create a **CPU** cluster now, run the cell below. The autoscale settings mean that the cluster will scale down to 0 nodes when inactive and up to 4 nodes when busy."
213+
"Many of the subsequent examples use Azure Machine Learning managed compute (AmlCompute) to train models at scale. To create a **CPU** cluster now, run the cell below. The autoscale settings mean that the cluster will scale down to 0 nodes when inactive and up to 4 nodes when busy."
214214
]
215215
},
216216
{
@@ -219,7 +219,7 @@
219219
"metadata": {},
220220
"outputs": [],
221221
"source": [
222-
"from azureml.core.compute import ComputeTarget, BatchAiCompute\n",
222+
"from azureml.core.compute import ComputeTarget, AmlCompute\n",
223223
"from azureml.core.compute_target import ComputeTargetException\n",
224224
"\n",
225225
"# Choose a name for your CPU cluster\n",
@@ -230,10 +230,8 @@
230230
" cpu_cluster = ComputeTarget(workspace=ws, name=cpu_cluster_name)\n",
231231
" print('Found existing cluster, use it.')\n",
232232
"except ComputeTargetException:\n",
233-
" compute_config = BatchAiCompute.provisioning_configuration(vm_size='STANDARD_D2_V2', \n",
234-
" autoscale_enabled=True,\n",
235-
" cluster_min_nodes=0, \n",
236-
" cluster_max_nodes=4)\n",
233+
" compute_config = AmlCompute.provisioning_configuration(vm_size='STANDARD_D2_V2',\n",
234+
" max_nodes=4)\n",
237235
" cpu_cluster = ComputeTarget.create(ws, cpu_cluster_name, compute_config)\n",
238236
"\n",
239237
"cpu_cluster.wait_for_completion(show_output=True)"
@@ -252,7 +250,7 @@
252250
"metadata": {},
253251
"outputs": [],
254252
"source": [
255-
"from azureml.core.compute import ComputeTarget, BatchAiCompute\n",
253+
"from azureml.core.compute import ComputeTarget, AmlCompute\n",
256254
"from azureml.core.compute_target import ComputeTargetException\n",
257255
"\n",
258256
"# Choose a name for your GPU cluster\n",
@@ -263,10 +261,8 @@
263261
" gpu_cluster = ComputeTarget(workspace=ws, name=gpu_cluster_name)\n",
264262
" print('Found existing cluster, use it.')\n",
265263
"except ComputeTargetException:\n",
266-
" compute_config = BatchAiCompute.provisioning_configuration(vm_size='STANDARD_NC6', \n",
267-
" autoscale_enabled=True,\n",
268-
" cluster_min_nodes=0, \n",
269-
" cluster_max_nodes=4)\n",
264+
" compute_config = AmlCompute.provisioning_configuration(vm_size='STANDARD_NC6',\n",
265+
" max_nodes=4)\n",
270266
" gpu_cluster = ComputeTarget.create(ws, gpu_cluster_name, compute_config)\n",
271267
"\n",
272268
"gpu_cluster.wait_for_completion(show_output=True)"
@@ -309,7 +305,7 @@
309305
"name": "python",
310306
"nbconvert_exporter": "python",
311307
"pygments_lexer": "ipython3",
312-
"version": "3.6.6"
308+
"version": "3.6.2"
313309
}
314310
},
315311
"nbformat": 4,

0 commit comments

Comments
 (0)