Skip to content

Commit b564d3b

Browse files
committed
update docs to use simpler syntax
1 parent 0c2b246 commit b564d3b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/customization_guide/build.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ $ ./build.py -v --enable-all
156156
```
157157

158158
If you want to enable only certain Triton features, backends, and
159-
repository agents, there are two options:
160-
a. do not specify `--enable-all`, and instead specify the individual flags as documented by `--help`.
159+
repository agents, there are two options:
160+
a. do not specify `--enable-all`, and instead specify the individual flags as documented by `--help`.
161161
b. specify `--enable-all` and then disable selected features that you wish to omit using the `--disable-...` arguments, also documented by `--help`.
162162

163163
#### Building With Specific GitHub Branches and Organization
@@ -326,7 +326,7 @@ and so you must enable them explicitly. The following build.py
326326
invocation builds all features and backends available on windows.
327327

328328
```bash
329-
python build.py --cmake-dir <path/to/repo>/build --build-dir /tmp/citritonbuild --no-container-pull --image base win10-py3-min --enable-feature logging --enable-feature stats --enable-feature tracing --enable-feature gpu --enable-endpoint grpc --enable-endpoint http --component-tag common <container tag> --component-tag core <container tag> --component-tag backend <container tag> --component-tag thirdparty <container tag> --enable-backend ensemble --enable-backend tensorrt --backend-tag tensorrt <container tag> --enable-backend onnxruntime --backend-tag onnxruntime <container tag> --enable-backend openvino --backend-tag openvino <container tag> --enable-backend python --backend-tag python <container tag>
329+
python build.py --cmake-dir <path/to/repo>/build --build-dir /tmp/citritonbuild --no-container-pull --image base win10-py3-min --enable-feature logging stats tracing gpu --enable-endpoint grpc http --component-tag common <container tag> --component-tag core <container tag> --component-tag backend <container tag> --component-tag thirdparty <container tag> --enable-backend ensemble tensorrt onnxruntime openvino python --backend-tag tensorrt <container tag> --backend-tag onnxruntime <container tag> --backend-tag openvino <container tag> --backend-tag python <container tag>
330330
```
331331

332332
If you are building on *main* branch then `<container tag>` will
@@ -340,7 +340,6 @@ branch/tag in the build. For example, if you have a branch called
340340
"mybranch" in the
341341
[onnxruntime_backend](https://github.com/triton-inference-server/onnxruntime_backend)
342342
repo that you want to use in the build, you would specify
343-
repo that you want to use in the build, you would specify
344343
`--backend-tag onnxruntime mybranch`.
345344

346345
If you want to build a backend from an alternative organization or user `<org>`, you can include a similar argument:

0 commit comments

Comments
 (0)