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
* Move cpp install into cmake file
* add pytest to cpp ci workflow
* Fix cpp ci
* Add debugging
* Change exec dir for test
* Start running of tests to ctest; removed from build.sh start fixing unit tests
* fix tests
* Enable test before adding subdirectory; use make test in build.sh
* Remove build.sh
* Fix import error in python 3.9
* Fix examples + halde nccl not found
* Fix lib not found
* convert tokenizer-cpp from submodule to fetch_content
* Change skip condition for cpp pytest
* Remove kineto submodule
* Remove yaml-cpp submodule
* Convert llama2.so to fetch_content
* Convert llama2.c submodule into fetch_content
* fix relateive path
---------
Co-authored-by: lxning <[email protected]>
Co-authored-by: lxning <[email protected]>
Copy file name to clipboardexpand all lines: cpp/README.md
+8-3
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,9 @@ cd serve/docker
17
17
Start the container and optionally bind mount a build directory into the container to persist build artifacts across container runs
18
18
```
19
19
# For CPU support
20
-
docker run [-v /path/to/build/dir:/serve/cpp/_build] -it pytorch/torchserve:cpp-dev-cpu /bin/bash
20
+
docker run [-v /path/to/build/dir:/serve/cpp/build] -it pytorch/torchserve:cpp-dev-cpu /bin/bash
21
21
# For GPU support
22
-
docker run --gpus all [-v /path/to/build/dir:/serve/cpp/_build] -it pytorch/torchserve:cpp-dev-gpu /bin/bash
22
+
docker run --gpus all [-v /path/to/build/dir:/serve/cpp/build] -it pytorch/torchserve:cpp-dev-gpu /bin/bash
23
23
```
24
24
`Warning`: The dev docker container does not install all necessary dependencies or build Torchserve CPP. Please follow the steps below after starting the container.
25
25
@@ -41,7 +41,12 @@ Then build the backend:
41
41
```
42
42
## Dev Build
43
43
cd cpp
44
-
./build.sh
44
+
mkdir build && cd build
45
+
# Optionally, you can skip building the tests by adding: -DBUILD_TESTS=OFF
0 commit comments