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 the LfI training take? #1

Open
maguro27 opened this issue Jan 12, 2023 · 9 comments
Open

How long does the LfI training take? #1

maguro27 opened this issue Jan 12, 2023 · 9 comments

Comments

@maguro27
Copy link

Hi.
Thank you for your excellent work!

I ran the LfI training script using an A100 40GB GPU.
The training script takes 6 hours in each epoch.
Consequently, the training script may take two and a half days.
Is it correct behavior?

Thanks.

@lishiqianhugh
Copy link
Owner

lishiqianhugh commented Jan 12, 2023 via email

@maguro27
Copy link
Author

Thank you for getting back to me.

You said, "a V100 128GB GPU".
Is this the typo of "a V100 32GB GPU"?

In addition, could you run the LfI training script after cloning this repository?
After that, please tell me the training time in each epoch.

@lishiqianhugh
Copy link
Owner

lishiqianhugh commented Jan 12, 2023 via email

@lishiqianhugh
Copy link
Owner

lishiqianhugh commented Jan 12, 2023 via email

@maguro27
Copy link
Author

Hmm...

How many mini-batch sizes did you use?
Just now, the training script takes 5.5 hours though I re-run the training script using the default config.

@lishiqianhugh
Copy link
Owner

lishiqianhugh commented Jan 12, 2023 via email

@maguro27
Copy link
Author

I updated the mini-batch size from 128 to 256.
However, the training script also takes 5.5 hours in each epoch.

Anyway, I ran the training script using SwinTransformer.
However, the Swin training script also needs 6.5 hours.
There is a slight difference between ViT and Swin.

Do you come up with a cause?

@maguro27
Copy link
Author

Oh!

I understand the cause.
Also, you said, the data loader includes an online data collection phase.
If you have time, please add a full offline training script to this repository.
Thanks.

@lishiqianhugh
Copy link
Owner

lishiqianhugh commented Jan 12, 2023 via email

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