moving to lightning makes my code slower :( #8409
Unanswered
glupol
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
Dear @glupol, Are you using multiple workers ? You can use Trainer(profiler=simple|advanced|pytorch) to get a better insight where the time is lost. Best, |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi, I have moved my 3D u-net like model to the lightning.
I have a single GPU (i.e. K40) and was hoping for a better utilisation of it.
It looks like my code does not utilizes it’s full potential.
However, after running trainer.fit() I can see 2x slow down 😦
The whole framework looks quite complex and I wanted to ask for some tips on where should I look to get it tuned up?
Are there some unnecessary data transmissions or logging etc.
Thank you in advance for all the help.
G.
Beta Was this translation helpful? Give feedback.
All reactions