Skip to content

Conversation

@deepllz
Copy link
Collaborator

@deepllz deepllz commented Aug 26, 2024

PR types

Bug fixes

PR changes

Others

Description

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

@paddle-bot
Copy link

paddle-bot bot commented Aug 26, 2024

Thanks for your contribution!

@codecov
Copy link

codecov bot commented Aug 26, 2024

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
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