Environment Setup
- Download and install the CANN software package and framework package by referring to Environment Setup.
- Install the dependencies listed in Table 1.
- The GCC and G++ versions must match. Otherwise, errors may occur during the compilation of TF Serving.
- For details about how to use bazel for building, see Installing bazel 0.24.1 from Source Code.
- For details about how to use CMake for building, see Installing CMake 3.14.0 from Source Code.
- If the swig software package fails to be installed, rectify the fault by referring to What Should I Do If the swig Dependency Package Cannot Be Installed?.
- The gcc, g++, zip, unzip, libtool, and automake software packages must be installed using apt or yum. The TensorFlow, tensorflow-serving-api, and future software packages must be installed using pip3.