Skip to content

[Executor] Updated the documents related to cuda graph and static graph.#2898

Merged
gongshaotian merged 2 commits into
PaddlePaddle:developfrom
gongshaotian:chunk_prefill
Jul 17, 2025
Merged

[Executor] Updated the documents related to cuda graph and static graph.#2898
gongshaotian merged 2 commits into
PaddlePaddle:developfrom
gongshaotian:chunk_prefill

Conversation

@gongshaotian

@gongshaotian gongshaotian commented Jul 17, 2025

Copy link
Copy Markdown
Collaborator

Description

Updated user manuals related to cuda graph and static graph.

@paddle-bot

paddle-bot Bot commented Jul 17, 2025

Copy link
Copy Markdown

Thanks for your contribution!

@gongshaotian gongshaotian changed the title [Executor] Updated the documents for GraphOptimizationBackend [Executor] Updated the documents related to cuda graph and static graph. Jul 17, 2025
Comment thread docs/parameters.md
Comment on lines +75 to +78
- `use_cudagraph` : bool = False
- `graph_optimization_config` : Dict[str, Any]
- `graph_opt_level`: int = 0
- `use_cudagraph`: bool = False

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

use_cudagraph有两个相同的参数,不一致时得考虑优先级的问题,从用户视角看会有一些奇怪

@gongshaotian gongshaotian Jul 17, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

嗯嗯,代码里有做检查,冲突时会直接挂掉,提示用户设置了两次。默认情况下用户只用设置 graph_optimization_config 外的 use_cudagraph 就行。graph_optimization_config 语意范围大一些,所以也保留了设置的功能,方便使用。

@gongshaotian gongshaotian merged commit bbe2c5c into PaddlePaddle:develop Jul 17, 2025
3 of 6 checks passed
@gongshaotian gongshaotian deleted the chunk_prefill branch August 20, 2025 08:22
xiaoguoguo626807 pushed a commit to xiaoguoguo626807/FastDeploy that referenced this pull request May 7, 2026
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.

3 participants