@@ -184,7 +184,6 @@ processing, and training of the model.
184184 python3 triton/calculate_metrics.py \
185185 --dump-dir ${SHARED_DIR}/correctness_dump \
186186 --metrics triton/metrics.py \
187- --output-used-for-metrics classes \
188187 --csv ${SHARED_DIR}/correctness_metrics.csv
189188
190189 cat ${SHARED_DIR}/correctness_metrics.csv
@@ -194,24 +193,26 @@ processing, and training of the model.
1941939 . Configure the model on Triton Inference Server.
195194
196195 Generate the configuration from your model repository.
197-
198196 ```
199- python3 triton/config_model_on_triton.py \
200- --model-repository ${MODEL_REPOSITORY_PATH} \
201- --model-path ${SHARED_DIR}/model \
202- --model-format ${FORMAT} \
203- --model-name ${MODEL_NAME} \
204- --model-version 1 \
205- --max-batch-size ${MAX_BATCH_SIZE} \
206- --precision ${PRECISION} \
207- --number-of-model-instances ${NUMBER_OF_MODEL_INSTANCES} \
208- --max-queue-delay-us ${TRITON_MAX_QUEUE_DELAY} \
209- --preferred-batch-sizes ${TRITON_PREFERRED_BATCH_SIZES} \
210- --capture-cuda-graph 0 \
211- --backend-accelerator ${BACKEND_ACCELERATOR} \
212- --load-model ${TRITON_LOAD_MODEL_METHOD}
213- ```
214-
197+ model-navigator triton-config-model \
198+ --model-repository ${MODEL_REPOSITORY_PATH} \
199+ --model-name ${MODEL_NAME} \
200+ --model-version 1 \
201+ --model-path ${SHARED_DIR}/model \
202+ --model-format ${FORMAT} \
203+ --load-model \
204+ --load-model-timeout-s 100 \
205+ --verbose \
206+ \
207+ --batching dynamic \
208+ --max-queue-delay-us ${TRITON_MAX_QUEUE_DELAY} \
209+ --preferred-batch-sizes ${TRITON_PREFERRED_BATCH_SIZES} \
210+ --backend-accelerator ${BACKEND_ACCELERATOR} \
211+ --tensorrt-precision ${PRECISION} \
212+ --max-batch-size ${MAX_BATCH_SIZE} \
213+ --engine-count-per-device ${DEVICE_KIND}=${NUMBER_OF_MODEL_INSTANCES}
214+ ```
215+
21521610 . Run the Triton Inference Server accuracy tests.
216217
217218 ```
@@ -228,7 +229,6 @@ processing, and training of the model.
228229 python3 triton/calculate_metrics.py \
229230 --dump-dir ${SHARED_DIR}/accuracy_dump \
230231 --metrics triton/metrics.py \
231- --output-used-for-metrics classes \
232232 --csv ${SHARED_DIR}/accuracy_metrics.csv
233233
234234 cat ${SHARED_DIR}/accuracy_metrics.csv
@@ -307,12 +307,12 @@ Example values of some key variables in one configuration:
307307PRECISION="fp16"
308308FORMAT="tf-trt"
309309BATCH_SIZE="1, 2, 4, 8, 16, 32, 64, 128"
310- BACKEND_ACCELERATOR="trt "
310+ BACKEND_ACCELERATOR="none "
311311MAX_BATCH_SIZE="128"
312312NUMBER_OF_MODEL_INSTANCES="2"
313313TRITON_MAX_QUEUE_DELAY="1"
314314TRITON_PREFERRED_BATCH_SIZES="64 128"
315-
315+ DEVICE_KIND="gpu"
316316```
317317
318318
@@ -352,9 +352,9 @@ The performance measurements in this document were conducted at the time of publ
352352This table lists the common variable parameters for all performance measurements:
353353| Parameter Name | Parameter Value |
354354| :-----------------------------| :------------------|
355- | Max Batch Size | 128.0 |
356- | Number of model instances | 2.0 |
357- | Triton Max Queue Delay | 1.0 |
355+ | Max Batch Size | 128 |
356+ | Number of model instances | 2 |
357+ | Triton Max Queue Delay | 1 |
358358| Triton Preferred Batch Sizes | 64 128 |
359359
360360
@@ -495,9 +495,9 @@ Full tabular data
495495This table lists the common variable parameters for all performance measurements:
496496| Parameter Name | Parameter Value |
497497| :-----------------------------| :------------------|
498- | Max Batch Size | 128.0 |
499- | Number of model instances | 2.0 |
500- | Triton Max Queue Delay | 1.0 |
498+ | Max Batch Size | 128 |
499+ | Number of model instances | 2 |
500+ | Triton Max Queue Delay | 1 |
501501| Triton Preferred Batch Sizes | 64 128 |
502502
503503
0 commit comments