Skip to content

Conversation

@llbdyiu66
Copy link
Collaborator

No description provided.

@paddle-bot
Copy link

paddle-bot bot commented Nov 20, 2025

Thanks for your contribution!

@codecov-commenter
Copy link

codecov-commenter commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 35.90909% with 141 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@85529fe). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddleformers/transformers/qwen2_moe/modeling.py 34.92% 41 Missing ⚠️
paddleformers/transformers/qwen3/modeling.py 32.78% 41 Missing ⚠️
paddleformers/transformers/qwen2/modeling.py 35.08% 37 Missing ⚠️
paddleformers/transformers/qwen3_moe/modeling.py 43.58% 22 Missing ⚠️

❌ Your patch status has failed because the patch coverage (35.90%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2981   +/-   ##
==========================================
  Coverage           ?   31.35%           
==========================================
  Files              ?      420           
  Lines              ?    68728           
  Branches           ?        0           
==========================================
  Hits               ?    21547           
  Misses             ?    47181           
  Partials           ?        0           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

max_sequence_length = self.config.max_sequence_length
bsz = hidden_states.shape[0] * self.config.tensor_parallel_degree // max_sequence_length
q_len = max_sequence_length
if not self.fuse_attention_qkv:
Copy link
Collaborator

Choose a reason for hiding this comment

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

补充一个fuse 和非fuse的单测 logits对比单测 ,类似下面这种https://github.com/PaddlePaddle/PaddleFormers/blob/develop/tests/transformers/qwen3moe/test_modeling.py#L396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants