You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/tensorflow-serving/README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
-
# Intel® Extension for TensorFlow* Serving Docker Container Guide
1
+
# Intel® Extension for TensorFlow* Serving - Docker Container Guide
2
2
3
3
## Description
4
4
5
-
This document has instruction for running TensorFlow Serving using Intel® Extension for TensorFlow* in docker container.
5
+
This document has instruction for running TensorFlow Serving using Intel® Extension for TensorFlow* in a Docker container.
6
6
7
7
## Build the Docker Image
8
8
9
-
To build the docker container, enter into [docker/tensorflow-serving](./) folder and follow the below steps.
9
+
To build the docker container, enter into [docker/tensorflow-serving](./) folder and follow these steps.
10
10
11
11
### I. Binaries Preparation
12
12
13
-
Refer to [Install for Tensorflow Serving](../../docs/guide/tensorflow_serving.md) to build Tensorflow Serving binary, and refer to [Install for CPP](../../docs/install/install_for_cpp.md) to build Intel® Extension for TensorFlow* CC library form source. And then package and copy them into ./models/binaries directory.
13
+
Refer to [Install for Tensorflow Serving](../../docs/guide/tensorflow_serving.md) to build the TensorFlow Serving binary, and refer to [Install for CPP](../../docs/install/install_for_cpp.md) to build the Intel® Extension for TensorFlow* CC library from source. Then package and copy these binaries into the `./models/binaries` directory, as shown below.
If you build the container using Intel GPU, make sure you meet below assumptions:
31
+
If you build the container using an Intel GPU, make sure you meet these assumptions:
32
32
33
-
* Host machine installs Intel GPU.
34
-
* Host machine installs Linux kernel that is compatible with GPU drivers.
35
-
* Host machine has Intel GPU driver.
33
+
* Host machine has an Intel GPU.
34
+
* Host machine uses a Linux kernel that is compatible with GPU drivers.
35
+
* Host machine has a compatible Intel GPU driver installed.
36
36
37
37
Refer to [Install for GPU](../docs/install/install_for_xpu.md) for detail.
38
38
39
-
Run the [build.sh](./build.sh)to build target docker image.
39
+
Run the [build.sh](./build.sh), specifying either `gpu` or `cpu` as appropriate, to build the target Docker image.
40
40
```bash
41
41
./build.sh [gpu/cpu]
42
42
```
43
43
44
44
## Running the Container
45
45
46
-
Run following commands to start docker container. You can use `-v` option to mount your local directory into container. To make GPU available in the container, attach the GPU to the container using `--device /dev/dri` option and run the container:
46
+
Run these commands to start the Docker container. You can use the `-v` option to mount your local directory into container. To make a GPU available in the container, attach the GPU to the container using the`--device /dev/dri` option and run the container:
0 commit comments