Skip to content

fix qwen model use_casual_mask#9009

Merged
ZHUI merged 1 commit into
PaddlePaddle:developfrom
deepllz:benchmark
Aug 26, 2024
Merged

fix qwen model use_casual_mask#9009
ZHUI merged 1 commit into
PaddlePaddle:developfrom
deepllz:benchmark

Conversation

@deepllz

@deepllz deepllz commented Aug 26, 2024

Copy link
Copy Markdown
Collaborator

PR types

Bug fixes

PR changes

Others

Description

修复qwen组网中use_casual_mask判断错误的问题

@paddle-bot

paddle-bot Bot commented Aug 26, 2024

Copy link
Copy Markdown

Thanks for your contribution!

@codecov

codecov Bot commented Aug 26, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.13%. Comparing base (3ef7c1b) to head (3957da9).
Report is 225 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9009      +/-   ##
===========================================
+ Coverage    54.06%   54.13%   +0.06%     
===========================================
  Files          650      650              
  Lines       103883   103883              
===========================================
+ Hits         56164    56233      +69     
+ Misses       47719    47650      -69     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

use_casual_mask = get_use_casual_mask()
# bool 4D mask
if use_casual_mask is None:
if use_casual_mask is True:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
if use_casual_mask is True:
if use_casual_mask:

@ZHUI ZHUI merged commit 24fa97e into PaddlePaddle:develop Aug 26, 2024
lixcli pushed a commit to lixcli/PaddleNLP that referenced this pull request Aug 28, 2024
Mangodadada pushed a commit to Mangodadada/PaddleNLP that referenced this pull request Sep 10, 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