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

Zero_Stage=1 results in higher TFLOPS? #48

Open
lhb8125 opened this issue Jun 28, 2022 · 1 comment
Open

Zero_Stage=1 results in higher TFLOPS? #48

lhb8125 opened this issue Jun 28, 2022 · 1 comment

Comments

@lhb8125
Copy link

lhb8125 commented Jun 28, 2022

Description

I am learning the chronicles_prequel, and I find the last table in the chapter indicates the higher TFLOPS is achieved with Zero_Stage = 1.
Trying with ZeRO_STAGE=0/1
Zero_stage=1 could reduce the memory cost, but how come it increases the performance with other parameter being the same?

Nodes Size ZS DP TP PP MBS GBS Mem Sec/it TFLOPs Notes
48 181B 1 4 8 12 2 2048 37GB 120.29 134.02 02-21
48 181B 0 4 8 12 2 2048 72GB 137.34 113.02 02-21
@Infi-zc
Copy link

Infi-zc commented Jul 5, 2023

@lhb8125 Do you understand the reason for this issue now?

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

No branches or pull requests

2 participants