Skip to content

Commit 70a37a0

Browse files
authored
add Py Versions to MNIST Examples (#127)
* update Python version in MNIST notebook * Add Py version to TF MNIST
1 parent 36ba179 commit 70a37a0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

training/distributed_training/pytorch/data_parallel/mnist/pytorch_smdataparallel_mnist_demo.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
" entry_point='train_pytorch_smdataparallel_mnist.py',\n",
105105
" role=role,\n",
106106
" framework_version='1.6.0',\n",
107+
" py_version='py3',\n",
107108
" # For training with multinode distributed training, set this count. Example: 2\n",
108109
" instance_count=2,\n",
109110
" # For training with p3dn instance use - ml.p3dn.24xlarge\n",

training/distributed_training/tensorflow/data_parallel/mnist/tensorflow2_smdataparallel_mnist_demo.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
" source_dir='code',\n",
9595
" entry_point='train_tensorflow_smdataparallel_mnist.py',\n",
9696
" role=role,\n",
97+
" py_version='py3',\n",
9798
" framework_version='2.3.1',\n",
9899
" # For training with multinode distributed training, set this count. Example: 2\n",
99100
" instance_count=2,\n",

0 commit comments

Comments
 (0)