Skip to content

docs(hps): add Triton instance count configuration docs#17765

Open
scyyh11 wants to merge 5 commits intoPaddlePaddle:mainfrom
scyyh11:docs/add-triton-instance-count-docs
Open

docs(hps): add Triton instance count configuration docs#17765
scyyh11 wants to merge 5 commits intoPaddlePaddle:mainfrom
scyyh11:docs/add-triton-instance-count-docs

Conversation

@scyyh11
Copy link
Collaborator

@scyyh11 scyyh11 commented Mar 4, 2026

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.

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.
@scyyh11 scyyh11 requested a review from Bobholamovic March 4, 2026 09:08
@paddle-bot
Copy link

paddle-bot bot commented Mar 4, 2026

Thanks for your contribution!

Bobholamovic and others added 4 commits March 5, 2026 11:38
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.
| `layout-parsing` | 推理设备(如 GPU) | 版面解析推理 |
| `restructure-pages` | CPU | 多页结果后处理(跨页表格合并、标题层级重分配) |

> 注意:Triton 服务中仅加载了版面检测模型(PP-DocLayoutV3),VLM 模型由独立的 vLLM 推理服务提供。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个感觉放在正文里说明更好,比如放在上面的表格里,Triton 服务器里包含版面检测模型以及产线串联逻辑,vLLM 服务器里包含VLM(VLM的“M”就是“模型”,不必重复)


### Triton 实例数

Triton 服务中仅加载了版面检测模型(PP-DocLayoutV3),VLM 模型由独立的 vLLM 推理服务提供。每个 Triton 模型的并行推理实例数通过 `config.pbtxt` 中的 `instance_group` 配置(默认:1)。增加实例数可以提高并行处理能力,但会占用更多设备资源。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议去掉第一句

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants