Skip to content

Conversation

@SigureMo
Copy link
Member

PR Category

Execute Infrastructure

PR Types

Improvements

Description

#69210 里因为 create fake value 是已经知道另一个分支的 type 了,因此直接使用另一个分支的 shape 来创建 value,但 full 不支持传入动态 shape,因此会导致一系列模型挂掉

恢复原来的做法,创建 fake value 时仍然使用 0D Tensor

PCard-66972

@paddle-bot
Copy link

paddle-bot bot commented Nov 11, 2024

你的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 review from gouzil and zrr1999 November 11, 2024 10:33
@SigureMo SigureMo closed this Nov 11, 2024
@SigureMo SigureMo reopened this Nov 11, 2024
@SigureMo SigureMo merged commit 4ee2f7a into PaddlePaddle:develop Nov 11, 2024
28 checks passed
@SigureMo SigureMo deleted the dy2st/create-fake-value-with-0d-tensor-to-avoid-dynamic-shape-error branch November 11, 2024 14:06
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