Skip to content

Commit 0f607d8

Browse files
build tf 2.18 with protobuf
1 parent 9e144ac commit 0f607d8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

dlc_developer_config.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ deep_canary_mode = false
3737
[build]
3838
# Add in frameworks you would like to build. By default, builds are disabled unless you specify building an image.
3939
# available frameworks - ["base", "vllm", "autogluon", "huggingface_tensorflow", "huggingface_pytorch", "huggingface_tensorflow_trcomp", "huggingface_pytorch_trcomp", "pytorch_trcomp", "tensorflow", "pytorch", "stabilityai_pytorch"]
40-
build_frameworks = []
40+
build_frameworks = ["tensorflow"]
4141

4242

4343
# By default we build both training and inference containers. Set true/false values to determine which to build.
4444
build_training = true
45-
build_inference = true
45+
build_inference = false
4646

4747
# Set do_build to "false" to skip builds and test the latest image built by this PR
4848
# Note: at least one build is required to set do_build to "false"
@@ -120,7 +120,7 @@ use_scheduler = false
120120

121121
# Standard Framework Training
122122
dlc-pr-pytorch-training = ""
123-
dlc-pr-tensorflow-2-training = ""
123+
dlc-pr-tensorflow-2-training = "tensorflow/training/buildspec-2-18-ec2.yml"
124124
dlc-pr-autogluon-training = ""
125125

126126
# ARM64 Training

tensorflow/training/docker/2.18/py3/Dockerfile.cpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ ARG TF_URL
188188
RUN ${PIP} install --no-cache-dir -U \
189189
${TF_URL} \
190190
"tensorflow-io==0.37.*" \
191-
"tensorflow-datasets==4.9.7"
191+
"tensorflow-datasets==4.9.7" \
192+
protobuf
192193

193194
RUN HOME_DIR=/root \
194195
&& curl -o ${HOME_DIR}/oss_compliance.zip https://aws-dlinfra-utilities.s3.amazonaws.com/oss_compliance.zip \

tensorflow/training/docker/2.18/py3/cu125/Dockerfile.gpu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ ARG TF_URL
295295
RUN ${PIP} install --no-cache-dir -U \
296296
${TF_URL} \
297297
"tensorflow-io==0.37.*" \
298-
"tensorflow-datasets==4.9.7"
298+
"tensorflow-datasets==4.9.7" \
299+
protobuf
299300

300301
RUN HOME_DIR=/root \
301302
&& curl -o ${HOME_DIR}/oss_compliance.zip https://aws-dlinfra-utilities.s3.amazonaws.com/oss_compliance.zip \

0 commit comments

Comments
 (0)