Skip to content

Conversation

@Wangzheee
Copy link
Contributor

@Wangzheee Wangzheee commented Dec 5, 2024

PR types

Bug fixes

PR changes

Others

Description

fix norm has different outputs in dynamic mode and static mode
PaddlePaddle/Paddle#69960

@paddle-bot
Copy link

paddle-bot bot commented Dec 5, 2024

Thanks for your contribution!

@CLAassistant
Copy link

CLAassistant commented Dec 12, 2024

CLA assistant check
All committers have signed the CLA.

@Wangzheee Wangzheee force-pushed the fix_dynamic_static_mode branch from d70029e to ca1a475 Compare December 12, 2024 06:35
def compute_layernorm_before_qkv(self, src, i):
if i == 0:
ln_out = self.norm_func(src, self.ln_scales[i], self.ln_biases[i], self._epsilon, begin_norm_axis=1)
ln_out = self.norm_func(src, self.ln_scales[i], self.ln_biases[i], self._epsilon, begin_norm_axis=1)[0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个升级是不是不兼容之前的版本?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

对的,不兼容升级,需要对应paddlepaddle最新的版本

@codecov
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 52.77%. Comparing base (14ed2a2) to head (0a1476a).
Report is 294 commits behind head on develop.

Files with missing lines Patch % Lines
...dlenlp/experimental/transformers/llama/modeling.py 0.00% 2 Missing ⚠️
...erimental/transformers/fused_transformer_layers.py 0.00% 1 Missing ⚠️
...enlp/experimental/transformers/mixtral/modeling.py 0.00% 1 Missing ⚠️
...ddlenlp/experimental/transformers/qwen/modeling.py 0.00% 1 Missing ⚠️
...dlenlp/experimental/transformers/qwen2/modeling.py 0.00% 1 Missing ⚠️
...lp/experimental/transformers/qwen2_moe/modeling.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@ ## develop #9569 +/- ## =========================================== - Coverage 52.83% 52.77% -0.07%  =========================================== Files 701 709 +8 Lines 110577 111172 +595 =========================================== + Hits 58427 58672 +245  - Misses 52150 52500 +350 

☔ 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.
@Wangzheee Wangzheee force-pushed the fix_dynamic_static_mode branch from ca1a475 to 0a1476a Compare December 12, 2024 08:53
Copy link
Contributor

@ZHUI ZHUI left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI ZHUI merged commit db38937 into PaddlePaddle:develop Dec 13, 2024
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants