[Doc]: Online benchmark server limit is smaller than the sample workload

未关闭 适合新手
#20,875 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@git-jxj 已经在做这个了。

开始于 2026年10月23日。

  • #20882 来自 @git-jxj —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
84/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
documentation

调研方向

阅读docs/source/commands/trtllm-serve/run-benchmark-with-trtllm-serve.md,并根据文档中记录的isl=1024和osl=1024工作负载检查服务器的--max_seq_len。报告建议将示例值提高到4096;当指南中的服务器容量能够满足这两个长度,并且示例能够生成图示输出时,工作即告完成。

由索引模型根据 Issue 内容生成。

描述

Doc
📚 The doc issue

The online benchmarking guide starts trtllm-serve with --max_seq_len 1024, then configures its client with isl=1024 and osl=1024.

The workload needs 2048 tokens per sequence. In executor/base_worker.py, the available generation budget is max_seq_len - prompt_length; a 1024-token prompt therefore leaves no generation room with the documented server setting. This prevents the example from producing its illustrated 1024-token output even with --ignore-eos.

Suggest a potential alternative/fix

Increase the example's --max_seq_len to 4096 so it covers both the input and output lengths, with room for tokenization overhead.

Before submitting a new issue...
  • I searched the relevant issues, documentation, and examples. #17249 discusses early EOS; this report concerns the server's total sequence capacity.
主要语言
Python
星标
15k
派生
2.9k
平均合并
2 天 22 小时
30 天内合并 PR
443

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/TensorRT-LLM 的其他 Issue

查看 NVIDIA/TensorRT-LLM 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。