Skip to content

Conversation

@Aurelius84
Copy link
Contributor

@Aurelius84 Aurelius84 commented Mar 1, 2024

PR types

Bug fixes

PR changes

Others

Description

Pcard-67164

段错误的原因是 是DRR Pattern 少了一个分支case的处理逻辑。

在Llama2里触发的位置是下图
image

image

@paddle-bot
Copy link

paddle-bot bot commented Mar 1, 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.

// Tigger early stop while operand is BlockArgument with
// producer_op==nullptr.
if (drr_producer_op && ir_producer_op == nullptr) {
matched = false;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

核心修复方式是这三行,其他都是代码refine

@Aurelius84 Aurelius84 merged commit f445bd8 into PaddlePaddle:develop Mar 2, 2024
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Mar 2, 2024
… infer (PaddlePaddle#62283)

* [DRR]Fix SegmentFault for BlockArgument while applying pass in Llama2 infer

* fix typo
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.

4 participants