docs(hps): add Triton instance count configuration docs#17765
Open
scyyh11 wants to merge 5 commits intoPaddlePaddle:mainfrom
Open
docs(hps): add Triton instance count configuration docs#17765scyyh11 wants to merge 5 commits intoPaddlePaddle:mainfrom
scyyh11 wants to merge 5 commits intoPaddlePaddle:mainfrom
Conversation
Add documentation for Triton `instance_group` count parameter in both Chinese and English READMEs, covering configuration examples and tuning guidance for GPU and CPU models.
|
Thanks for your contribution! |
Rewrite instance count docs to accurately describe behavior: single instance processes one batch at a time with intra-batch blocking, while multiple instances enable parallel batch processing to reduce queuing latency.
Clarify that Triton only loads the layout detection model (PP-DocLayoutV3) while VLM is served by vLLM separately. Note that multiple instances improve per-request latency, and that additional instances also increase vLLM load, CPU and memory usage.
…ure section Add a note under the Triton models table clarifying that only the layout detection model (PP-DocLayoutV3) runs in Triton, while VLM is served separately by vLLM.
Bobholamovic
reviewed
Mar 5, 2026
| | `layout-parsing` | 推理设备(如 GPU) | 版面解析推理 | | ||
| | `restructure-pages` | CPU | 多页结果后处理(跨页表格合并、标题层级重分配) | | ||
|
|
||
| > 注意:Triton 服务中仅加载了版面检测模型(PP-DocLayoutV3),VLM 模型由独立的 vLLM 推理服务提供。 |
Member
There was a problem hiding this comment.
这个感觉放在正文里说明更好,比如放在上面的表格里,Triton 服务器里包含版面检测模型以及产线串联逻辑,vLLM 服务器里包含VLM(VLM的“M”就是“模型”,不必重复)
|
|
||
| ### Triton 实例数 | ||
|
|
||
| Triton 服务中仅加载了版面检测模型(PP-DocLayoutV3),VLM 模型由独立的 vLLM 推理服务提供。每个 Triton 模型的并行推理实例数通过 `config.pbtxt` 中的 `instance_group` 配置(默认:1)。增加实例数可以提高并行处理能力,但会占用更多设备资源。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add documentation for Triton
instance_groupcount parameter in both Chinese and English READMEs, covering configuration examples and tuning guidance for GPU and CPU models.