Skip to content

Commit e57404d

Browse files
authored
Update tensorflow_multi_worker_mirrored_strategy.ipynb
1 parent 332401e commit e57404d

File tree

1 file changed

+61
-10
lines changed

1 file changed

+61
-10
lines changed

training/distributed_training/tensorflow/multi_worker_mirrored_strategy/tensorflow_multi_worker_mirrored_strategy.ipynb

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
"# Distributed training with TensorFlow Distribute Strategy API on Amazon SageMaker"
88
]
99
},
10+
{
11+
"cell_type": "markdown",
12+
"metadata": {},
13+
"source": [
14+
"---\n",
15+
"\n",
16+
"This notebook's CI test result for us-west-2 is as follows. CI test results in other regions can be found at the end of the notebook.\n",
17+
"\n",
18+
"![This us-west-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/us-west-2/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
19+
"\n",
20+
"---"
21+
]
22+
},
1023
{
1124
"cell_type": "markdown",
1225
"metadata": {},
@@ -118,18 +131,18 @@
118131
"\n",
119132
"if local_mode:\n",
120133
" instance_type = \"local_gpu\"\n",
121-
" instance_count=1\n",
134+
" instance_count = 1\n",
122135
"else:\n",
123136
" instance_type = \"ml.g5.xlarge\"\n",
124-
" instance_count=1\n",
137+
" instance_count = 1\n",
125138
"\n",
126139
"mnist_estimator = TensorFlow(\n",
127140
" entry_point=\"mnist.py\",\n",
128141
" role=role,\n",
129142
" instance_count=instance_count,\n",
130143
" instance_type=instance_type,\n",
131144
" framework_version=\"2.14.1\",\n",
132-
" py_version=\"py310\"\n",
145+
" py_version=\"py310\",\n",
133146
")"
134147
]
135148
},
@@ -280,10 +293,10 @@
280293
"\n",
281294
"if local_mode:\n",
282295
" instance_type = \"local_gpu\"\n",
283-
" instance_count=1\n",
296+
" instance_count = 1\n",
284297
"else:\n",
285298
" instance_type = \"ml.g5.24xlarge\"\n",
286-
" instance_count=2\n",
299+
" instance_count = 2\n",
287300
"\n",
288301
"mnist_estimator_distibuted = TensorFlow(\n",
289302
" entry_point=\"mnist-distributed.py\",\n",
@@ -292,11 +305,7 @@
292305
" instance_type=instance_type,\n",
293306
" framework_version=\"2.14.1\",\n",
294307
" py_version=\"py310\",\n",
295-
" distribution={\n",
296-
" \"multi_worker_mirrored_strategy\": {\n",
297-
" \"enabled\": True\n",
298-
" }\n",
299-
" }\n",
308+
" distribution={\"multi_worker_mirrored_strategy\": {\"enabled\": True}},\n",
300309
")"
301310
]
302311
},
@@ -317,6 +326,48 @@
317326
"source": [
318327
"mnist_estimator_distibuted.fit(training_data_uri)"
319328
]
329+
},
330+
{
331+
"cell_type": "markdown",
332+
"metadata": {
333+
"tags": []
334+
},
335+
"source": [
336+
"## Notebook CI Test Results\n",
337+
"\n",
338+
"This notebook was tested in multiple regions. The test results are as follows, except for us-west-2 which is shown at the top of the notebook.\n",
339+
"\n",
340+
"\n",
341+
"![This us-east-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/us-east-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
342+
"\n",
343+
"![This us-east-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/us-east-2/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
344+
"\n",
345+
"![This us-west-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/us-west-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
346+
"\n",
347+
"![This ca-central-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ca-central-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
348+
"\n",
349+
"![This sa-east-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/sa-east-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
350+
"\n",
351+
"![This eu-west-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/eu-west-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
352+
"\n",
353+
"![This eu-west-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/eu-west-2/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
354+
"\n",
355+
"![This eu-west-3 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/eu-west-3/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
356+
"\n",
357+
"![This eu-central-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/eu-central-1/NOTEBOOK_PATH)\n",
358+
"\n",
359+
"![This eu-north-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/eu-north-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
360+
"\n",
361+
"![This ap-southeast-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ap-southeast-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
362+
"\n",
363+
"![This ap-southeast-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ap-southeast-2/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
364+
"\n",
365+
"![This ap-northeast-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ap-northeast-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
366+
"\n",
367+
"![This ap-northeast-2 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ap-northeast-2/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n",
368+
"\n",
369+
"![This ap-south-1 badge failed to load. Check your device's internet connectivity, otherwise the service is currently unavailable](https://prod.us-west-2.tcx-beacon.docs.aws.dev/sagemaker-nb/ap-south-1/training|distributed_training|tensorflow|multi_worker_mirrored_strategy|tensorflow_multi_worker_mirrored_strategy.ipynb)\n"
370+
]
320371
}
321372
],
322373
"metadata": {

0 commit comments

Comments
 (0)