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

[BugFix][NPU] fix llama attn_mask astype error #8528

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

tianhaodongbd
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Description

修复当attention_mask为None时调用astype导致的报错问题

Copy link

paddle-bot bot commented Jun 3, 2024

Thanks for your contribution!

Copy link
Contributor

@SylarTiaNII SylarTiaNII left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit cb8a229 into PaddlePaddle:develop Jun 4, 2024
6 of 10 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.

3 participants