Skip to content

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

Merged
wawltor merged 1 commit into
PaddlePaddle:developfrom
tianhaodongbd:fix_npu_bug
Jun 4, 2024
Merged

[BugFix][NPU] fix llama attn_mask astype error#8528
wawltor merged 1 commit into
PaddlePaddle:developfrom
tianhaodongbd:fix_npu_bug

Conversation

@tianhaodongbd
Copy link
Copy Markdown
Contributor

PR types

Bug fixes

PR changes

Others

Description

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

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Jun 3, 2024

Thanks for your contribution!

Copy link
Copy Markdown
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
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