GPU usage maxed at 10% #11580
Replies: 2 comments 6 replies
-
boring model is not very complex and won't lead to high GPU usage. Maybe try increasing the batch_size? |
Beta Was this translation helpful? Give feedback.
-
I think I kept on playing with this and got GPU usage up to ~50%. But that's as high as I could go. As far as I can tell, GPU usage can only increase if we're computing more on the GPU before attempting to load more data, but I could not load more data onto the GPU because it would surpass the onboard memory (10GB). You should be able to run the above testcase. Is there anything else I can do to improve performance without using more GPU ram? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was never able to get GPU usage to 10% for my own application so I decided to try BoringModel and ran into the same problem.
gpus=-1
to Trainer configurationmax_epochs
to 10_000 in Trainer configurationEnvironment:
Am I doing something wrong, or is there some sort of bug in pytorch or pytorch lightning triggering this?
Beta Was this translation helpful? Give feedback.
All reactions