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

training is so slow #676

Open
tengshaofeng opened this issue Apr 29, 2024 · 2 comments
Open

training is so slow #676

tengshaofeng opened this issue Apr 29, 2024 · 2 comments

Comments

@tengshaofeng
Copy link

Hi, You really did a great job. thanks so much. When I train it myself. It is so slow, I do not think it is the right speed.
Image gives the trainning process. How do you think that?
image
Because I use the pytorch-lightning==2.2.3, I can run only when I modified from "pl.Trainer(gpus=1, precision=32, callbacks=[logger])" to "pl.Trainer(precision=32, callbacks=[logger])". Dose it matter?

@tengshaofeng
Copy link
Author

when I install pytorch-lightning==1.5.0, and turn back "pl.Trainer(precision=32, callbacks=[logger])" to "pl.Trainer(gpus=1, precision=32, callbacks=[logger])". It gives the training process like follow:
image
Is it the right speed?

@tengshaofeng
Copy link
Author

pip install pytorch-lightning==2.2.3 and modify the code to "trainer = pl.Trainer(accelerator='gpu', devices=1, precision=32, callbacks=[logger])" is also work.

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

1 participant