Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Inference]Fix fused_flash_attn_pass #64707

Merged
merged 1 commit into from
May 30, 2024

Conversation

YuanRisheng
Copy link
Contributor

@YuanRisheng YuanRisheng commented May 29, 2024

PR Category

Inference

PR Types

Bug fixes

Description

Pcard-71500
修复rec_mtb_nrtr模型使用fused_flash_attn_pass后,flash_attn算子调用三方库Flash Attention维度错误的问题,修复方式为在mask0维与batchsize大小不一致的时候跳过该pass执行

Copy link

paddle-bot bot commented May 29, 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.

@yuanlehome yuanlehome merged commit 968d35e into PaddlePaddle:develop May 30, 2024
32 checks passed
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