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

How long does training take with default training settings? #66

Open
mesllo opened this issue May 5, 2022 · 2 comments
Open

How long does training take with default training settings? #66

mesllo opened this issue May 5, 2022 · 2 comments

Comments

@mesllo
Copy link

mesllo commented May 5, 2022

If I train with 8 GPUs, a batch size 4, and 100 epochs (50 for normal lr, 50 for decaying lr), how long would it take? I'm asking because I only have 4 GPUs and I am using a shared environment where I won't be able to train for more than 8 hours per run.

@hanchaoyuan
Copy link

The complete training has four stages, the third stage has 200 epochs and takes the longest. The training code prints the estimated time, you can try it

@mesllo
Copy link
Author

mesllo commented May 6, 2022

Thank you for your reply! I have tried it and even for the first stage, training takes about 24 hours on 4 GPUs which is not feasible for me. I can also try to take a multi-node approach and run on 8 GPUs across 2 nodes. Is the code already optimized for multiple nodes or do I have to do this myself? From what I can understand, it seems that the current code only considers a single node.

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