Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

zty-king
Copy link
Contributor

PR types

Others

PR changes

Others

Description

在对齐模式的训练中添加分支测试GradientClipByGlobalNorm,之前grad_norm逻辑有问题,在对齐模式下设置的是0.0即不做grad_norm,此次提交一并将其去除,当前可以以正确逻辑做GradientClipByGlobalNorm

Copy link

paddle-bot bot commented Aug 15, 2025

Thanks for your contribution!

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.

2 participants