Skip to content

Commit 02c8e1a

Browse files
SinaChavoshiTensorflow Cloud maintainers
authored andcommitted
Anchor tf_cloud samples to 2.4.1 while investigating segfault
PiperOrigin-RevId: 379299277
1 parent aef2e05 commit 02c8e1a

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

g3doc/tutorials/distributed_training_nasnet_with_tensorflow_cloud.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@
392392
"\n",
393393
"# Optional: Some recommended base images. If you provide none the system\n",
394394
"# will choose one for you.\n",
395-
"TF_GPU_IMAGE= \"tensorflow/tensorflow:latest-gpu\"\n",
396-
"TF_CPU_IMAGE= \"tensorflow/tensorflow:latest\"\n",
395+
"TF_GPU_IMAGE= \"tensorflow/tensorflow:2.4.1-gpu\"\n",
396+
"TF_CPU_IMAGE= \"tensorflow/tensorflow:2.4.1\"\n",
397397
"\n",
398398
"# Submit a distributed training job using GPUs.\n",
399399
"tfc.run(\n",

g3doc/tutorials/hp_tuning_cifar10_using_google_cloud.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@
416416
" f.write('keras-tuner\\n')\n",
417417
"\n",
418418
"# Optional: Some recommended base images. If you provide none the system will choose one for you.\n",
419-
"TF_GPU_IMAGE= \"tensorflow/tensorflow:latest-gpu\"\n",
420-
"TF_CPU_IMAGE= \"tensorflow/tensorflow:latest\"\n",
419+
"TF_GPU_IMAGE= \"tensorflow/tensorflow:2.4.1-gpu\"\n",
420+
"TF_CPU_IMAGE= \"tensorflow/tensorflow:2.4.1\"\n",
421421
"\n",
422422
"\n",
423423
"tfc.run_cloudtuner(\n",

g3doc/tutorials/hp_tuning_wide_and_deep_model.ipynb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,16 @@
550550
},
551551
"outputs": [],
552552
"source": [
553+
"\n",
554+
"# Optional: Some recommended base images. If you provide none the system will choose one for you.\n",
555+
"TF_GPU_IMAGE= \"tensorflow/tensorflow:2.4.1-gpu\"\n",
556+
"TF_CPU_IMAGE= \"tensorflow/tensorflow:2.4.1\"\n",
557+
"\n",
558+
"\n",
553559
"tfc.run_cloudtuner(\n",
554560
" distribution_strategy='auto',\n",
555561
" docker_config=tfc.DockerConfig(\n",
562+
" parent_image=TF_GPU_IMAGE,\n",
556563
" image_build_bucket=GCS_BUCKET\n",
557564
" ),\n",
558565
" chief_config=tfc.MachineConfig(\n",

g3doc/tutorials/overview.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@
418418
"\n",
419419
"# Optional: Some recommended base images. If you provide none the system\n",
420420
"# will choose one for you.\n",
421-
"TF_GPU_IMAGE= \"tensorflow/tensorflow:latest-gpu\"\n",
422-
"TF_CPU_IMAGE= \"tensorflow/tensorflow:latest\"\n",
421+
"TF_GPU_IMAGE= \"tensorflow/tensorflow:2.4.1-gpu\"\n",
422+
"TF_CPU_IMAGE= \"tensorflow/tensorflow:2.4.1\"\n",
423423
"\n",
424424
"# Submit a single node training job using GPU.\n",
425425
"tfc.run(\n",

0 commit comments

Comments
 (0)