Skip to content

Commit a3d469d

Browse files
committed
update docs to use simpler syntax
1 parent d5e6c00 commit a3d469d

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
@@ -158,8 +158,8 @@ $ ./build.py -v --enable-all
158158
```
159159

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

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

330330
```bash
331-
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>
331+
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>
332332
```
333333

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

348347
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)