Skip to content

Commit e13d336

Browse files
Support ARM64 platform in TensorFlow examples (#2119)
* Support ARM64 platform in TensorFlow examples Signed-off-by: akhilsaivenkata <[email protected]> * Support ARM64 platform in TensorFlow examples Signed-off-by: akhilsaivenkata <[email protected]> * Support ARM64 platform in TensorFlow examples Signed-off-by: akhilsaivenkata <[email protected]> --------- Signed-off-by: akhilsaivenkata <[email protected]>
1 parent 687f0c9 commit e13d336

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/publish-example-images.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,19 @@ jobs:
2222
matrix:
2323
include:
2424
- component-name: tf-dist-mnist-test
25+
platforms: linux/amd64,linux/arm64
2526
dockerfile: examples/tensorflow/dist-mnist/Dockerfile
2627
- component-name: tf-distributed-worker
28+
platforms: linux/amd64,linux/arm64
2729
dockerfile: examples/tensorflow/distribution_strategy/estimator-API/Dockerfile
2830
- component-name: tf-multi-worker-strategy
31+
platforms: linux/amd64,linux/arm64
2932
dockerfile: examples/tensorflow/distribution_strategy/keras-API/Dockerfile
3033
- component-name: tf-mnist-with-summaries
34+
platforms: linux/amd64,linux/arm64
3135
dockerfile: examples/tensorflow/mnist_with_summaries/Dockerfile
3236
- component-name: tf-smoke
37+
platforms: linux/amd64,linux/arm64
3338
dockerfile: examples/tensorflow/tf_sample/Dockerfile
3439
- component-name: pytorch-dist-sendrecv-test
3540
platforms: linux/amd64,linux/arm64

examples/tensorflow/distribution_strategy/keras-API/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
FROM python:3.9
22

3+
RUN apt-get update && \
4+
apt-get install -y libhdf5-dev && \
5+
apt-get clean && \
6+
rm -rf /var/lib/apt/lists/*
7+
38
RUN pip install tensorflow==2.11.0 tensorflow_datasets==4.7.0
49

510
COPY examples/tensorflow/distribution_strategy/keras-API/multi_worker_strategy-with-keras.py /

0 commit comments

Comments
 (0)