Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] zcc ema under non-pp when acc=1 #9941

Open
wants to merge 2 commits into
base: incubate/paddlenlp-fleety
Choose a base branch
from

Conversation

Meiyim
Copy link
Contributor

@Meiyim Meiyim commented Feb 25, 2025

非 pp 下面,on_step_end 是第一次调用 offload_hook 的地方。
acc==1时,并不会执行on_substep_end, 这会导致写在prepare 过程前面的 第一次 offload hook 不被触发。

Copy link

paddle-bot bot commented Feb 25, 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