Skip to content

[Fix] Upgrade min opset version of pd_op.expand to 12#1564

Closed
0x3878f wants to merge 2 commits intoPaddlePaddle:developfrom
0x3878f:pir_develop_43
Closed

[Fix] Upgrade min opset version of pd_op.expand to 12#1564
0x3878f wants to merge 2 commits intoPaddlePaddle:developfrom
0x3878f:pir_develop_43

Conversation

@0x3878f
Copy link
Collaborator

@0x3878f 0x3878f commented Apr 27, 2025

升级pd_op.expand mapper要求的最小opset version为12,因为在使用polygraphy优化ONNX模型时会消除Cast节点,导致opset version < 12时cast失败。可复现模型:PP-ShiTuV2_rec_CLIP_vit_base

@paddle-bot
Copy link

paddle-bot bot commented Apr 27, 2025

Thanks for your contribution!

@0x3878f 0x3878f closed this Apr 27, 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.

1 participant