Skip to content

Conversation

@SigureMo
Copy link
Member

PR Category

Execute Infrastructure

PR Types

Performance

Description

优化 ConstructAttrMapForRunProgram 性能,先构造 string_view,后统一构造 string

另外,ConstructAttrMapForRunProgram 修改原来解析 [key1, value1, key2, value2, ...]{key1: value1, key2: value2, ...},以免 python 端传递到 C++ 端 dict 转为 list 的额外开销

@paddle-bot
Copy link

paddle-bot bot commented Jun 27, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@SigureMo SigureMo requested a review from gouzil June 28, 2025 15:50
@SigureMo SigureMo merged commit 3ad243c into PaddlePaddle:develop Jun 29, 2025
76 of 82 checks passed
@SigureMo SigureMo deleted the dy2st/optimize-construct-attr-map-for-run-program branch June 29, 2025 06:01
SigureMo added a commit to cattidea/Paddle that referenced this pull request Jul 2, 2025
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