Paths for Software Porting
Before compiling and installing the software, plan the software and dependency installation paths. The planned installation paths are used as examples in subsequent sections.
This chapter provides details on the software installation paths involved in setting up the benchmarking system for search and recommendation ranking models, as shown in Table 1 and Table 2.
No. |
Software Installation Path |
Purpose |
Description |
|---|---|---|---|
1 |
/path/to/tensorflow115 |
Installation path of TensorFlow 1.15 |
The installation paths provided here are for reference only. Shared paths are recommended. The actual installation paths may be different, and you need to change the installation paths in subsequent commands in this document based on the actual situation. |
2 |
/path/to/model_zoo/download |
Path for storing external dependencies for building TensorFlow and TensorFlow Serving |
|
3 |
/path/to/bazel026 |
Installation path of Bazel 0.26.0 |
|
4 |
/path/to/sra_benchmark |
Path for storing the ModelZoo model repository |
|
5 |
/path/to/dataset |
Path for storing the ModelZoo model training dataset |
No. |
Software Installation Path |
Purpose |
Description |
|---|---|---|---|
1 |
/path/to/serving |
Installation path of TensorFlow Serving 2.15 |
The installation paths provided here are for reference only. Shared paths are recommended. The actual installation paths may be different, and you need to change the installation paths in subsequent commands in this document based on the actual situation. |
2 |
/path/to/tensorflow |
Installation path of TensorFlow 2.15 |
|
3 |
/path/to/sra-tensorflow |
Repository path of the TensorFlow optimization patch |
|
4 |
/path/to/sra-serving |
Repository path of the TensorFlow Serving optimization patch |
|
5 |
/path/to/model_zoo/download |
Path for storing external dependencies for building TensorFlow and TensorFlow Serving |
|
6 |
/path/to/bazel |
Installation path of Bazel 6.5.0 |
|
7 |
/path/to/model_zoo/models |
Path for storing the search and recommendation models for benchmark testing |
|
8 |
/path/to/model_zoo/annc-models |
Path for storing the model optimized using Accelerated Neural Network Compiler (ANNC) |