The code that migrated to pytorch lightning is very slow #8711
Unanswered
Keiku
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 2 comments 8 replies
-
I have a very similar problem, and my profiling results look just like yours (see my issue here). Did you manage to solve the issue? |
Beta Was this translation helpful? Give feedback.
5 replies
-
@Keiku Could you try the master? We have resolved some performance issues. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Below is the results when trained with 2 epochs, 500 videos for debugging. It's almost the same code, but the time per iter is quite different. How can I solve it?
Migrated PyTorch Lightning version
https://github.com/Keiku/PyTorch-Lightning-Video-Classification
The following is the execution result in the debug branch.
PyTorch implementation before migration
https://github.com/Keiku/Action-Recognition-CNN-LSTM
The iteration time is about 25 times different, and the total time is also about 25 times different.
Below is the result of
profiler = "simple"
. Do you know what the problem is?Beta Was this translation helpful? Give feedback.
All reactions