TensorRT-LLMs/examples/serve/aiperf_client.sh
Pengyun Lin 684b37df02
[https://nvbugs/5747938][fix] Use local tokenizer (#10230)
Signed-off-by: Pengyun Lin <81065165+LinPoly@users.noreply.github.com>
2025-12-26 22:08:10 +08:00

17 lines
489 B
Bash
Executable File

#! /usr/bin/env bash
aiperf profile \
-m TinyLlama-1.1B-Chat-v1.0 \
--tokenizer ${AIPERF_TOKENIZER_PATH:-TinyLlama/TinyLlama-1.1B-Chat-v1.0} \
--endpoint-type chat \
--random-seed 123 \
--synthetic-input-tokens-mean 128 \
--synthetic-input-tokens-stddev 0 \
--output-tokens-mean 128 \
--output-tokens-stddev 0 \
--request-count 100 \
--request-rate 10 \
--profile-export-file my_profile_export.json \
--url localhost:8000 \
--streaming