Rate This Document
Findability
Accuracy
Completeness
Readability

Environment Requirements

Before compilation and installation, ensure that the environment meets the hardware and software requirements. The hardware configuration includes CPUs. The software configuration includes the OS and applications. Different software versions require different dependencies. Select the version based on your requirements.

Hardware Requirements

Table 1 lists the hardware requirements.

Table 1 Hardware requirements

Item

Description

CPU

Kunpeng 920 processor

OS Requirements

Table 2 lists the OS requirements.

Table 2 OS requirements

Item

Version

Description

How to Obtain

OS

openEuler 22.03 LTS SP3

For a fresh OS installation, choose Minimal Install and select Development Tools to minimize manual operations.

https://repo.openeuler.org/openEuler-22.03-LTS-SP3/ISO/aarch64/

Kernel

5.10.0

-

Included in the OS image.

Software Requirements (TensorFlow 2.13.0)

Table 3 lists the software and dependency components required for porting TensorFlow 2.13.0.

Table 3 Software requirements

Item

Version

Description

How to Obtain

TensorFlow

2.13.0

Software to be ported. It is a deep learning framework developed by Google for research on machine learning and deep neural networks.

https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.13.0.zip

Bazel

5.4.0

Bazel is a build tool that supports multiple languages and platforms. It is required for TensorFlow compilation.

https://github.com/bazelbuild/bazel/releases/download/5.4.0/bazel-5.4.0-dist.zip

GCC/G++

10.3.1

GNU Compiler Collection (GCC) is a programming language compiler developed by GNU.

Install it using Yum.

Software Requirements (TensorFlow 1.15.5)

Table 4 lists the software and dependency components required for porting TensorFlow 1.15.5.

Table 4 Software requirements

Item

Version

Description

How to Obtain

TensorFlow

1.15.5

Software to be ported.

https://github.com/tensorflow/tensorflow/archive/refs/tags/v1.15.5.zip

Bazel

0.26.1

Bazel is a build tool that supports multiple languages and platforms. It is required for TensorFlow compilation.

https://github.com/bazelbuild/bazel/releases/download/0.26.1/bazel-0.26.1-dist.zip

Python

3.7.5

TensorFlow 1.15.5 works with Python 3.7.x.

https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz

HDF5 library

1.10.5

TensorFlow 1.15.5 compilation requires h5py, and h5py depends on the HDF5 library.

https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5.tar.gz

GCC/G++

10.3.1

GNU Compiler Collection (GCC) is a programming language compiler developed by GNU.

Install it using Yum.