TensorRT-LLM icon indicating copy to clipboard operation
TensorRT-LLM copied to clipboard

Failed to run benchmark llama-7b.

Open kmati-dev opened this issue 3 years ago • 2 comments

My code.

python benchmark.py \
    -m llama_7b \
    --mode plugin \
    --batch_size "1;10;30;60" \
    --input_output_len "128,512;128,1024;128,2048;128,4096"

The error.

[WARNING] check inlen(128) <= max_inlen(512) and outlen(512) <= max_outlen(200) failed, skipping.
[WARNING] check inlen(128) <= max_inlen(512) and outlen(1024) <= max_outlen(200) failed, skipping.
[WARNING] check inlen(128) <= max_inlen(512) and outlen(2048) <= max_outlen(200) failed, skipping.
[WARNING] check inlen(128) <= max_inlen(512) and outlen(4096) <= max_outlen(200) failed, skipping.

kmati-dev avatar Oct 20 '23 12:10 kmati-dev

You must pass adequate engine building options (i.e. --max_output_len=4096) for those workloads to run.

mickaelseznec avatar Oct 20 '23 12:10 mickaelseznec

Close

kmati-dev avatar Oct 20 '23 12:10 kmati-dev