Skip to content

Conversation

@Aurelius84
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Describe

Pcard-66972

修复了 #50596 引入的is_paddle_func过滤过滤逻辑,导致的自动并行ProxyLayer被命中引起的用户模型代码没有被动转静的问题。

为了方便后续其他框架API也可以自定义应用@to_static(注:之前是假设内部API统一不做转写),提供了一个内部的as_not_paddle_func接口来提供此配置

@paddle-bot
Copy link

paddle-bot bot commented Mar 10, 2023

你的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.

Copy link
Contributor

@2742195759 2742195759 left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit dc95676 into PaddlePaddle:develop Mar 13, 2023
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