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

Question about the training cost. #7

Open
yiboz2001 opened this issue Jul 21, 2024 · 4 comments
Open

Question about the training cost. #7

yiboz2001 opened this issue Jul 21, 2024 · 4 comments

Comments

@yiboz2001
Copy link

Hi, thanks for your excellent work!
I would like to know more about the training cost of these three models. At the same time, I ran the ModelScope script on 4 A40-48G GPUs, and it shows that 460 hours are required for 10,000 iterations. Is this in line with expectations?
I am looking forward to your reply.
1721547523274

@mihirp1998
Copy link
Owner

Hi,

The network should train probably in about 6-12 hours. The number of iterations is not properly set currently, sorry about that.

@yiboz2001
Copy link
Author

Thanks for the response! Please notify me when the corrected version is released, thank you.

@QinOwen
Copy link
Collaborator

QinOwen commented Jul 22, 2024

Hello. Thanks for pointing out the issue! We have updated the default max_train_steps value for reference. Considering you are using 4 GPUs, --gradient_accumulation_steps could be set to 4 or 2 to speed the training process up. Also, please feel free to select the optimal checkpoint based on the avg_loss curve or the visualization from wandb.

@choucaicai
Copy link

same question, i need 60 hours to train Open-Sora on 2x A6000 GPUs. Could the author please specify which model was trained for 15 hours in the paper and what the corresponding configuration was?

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

4 participants