The utilization of GPU is low in deep learning

13 visualizzazioni (ultimi 30 giorni)
Lamya Mohammad
Lamya Mohammad il 29 Feb 2020
Commentato: Joss Knight il 5 Mar 2020
Hello, I’m using NVIDIA GeForce GTX 1080 Ti to run “single image super resolution network” code The utilization average for gpu was 25%, I added this code:
feature('GpuAllocPoolSizeKb', intmax('int32'));
And the utilization increased to 33%
Is there something more I can do to increase the utilization? Also, I don’t think MATLAB runs in the same speed of my GPU Note: my MATLAB version is R2019b, and I have student license

Risposte (1)

Joss Knight
Joss Knight il 3 Mar 2020
Try following some of the advice in the following MATLAB Answer: https://uk.mathworks.com/matlabcentral/answers/463367-gpu-utilization-is-not-100
  5 Commenti
Lamya Mohammad
Lamya Mohammad il 5 Mar 2020
Thank you, I’ll try them for the next training. For the feature function, can I use it anywhere in the code?
Joss Knight
Joss Knight il 5 Mar 2020
You can use it anywhere as long as it is called after the first command that does something on the GPU in a MATLAB session, such as calling gpuDevice or creating a gpuArray.

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by