The utilization of GPU is low in deep learning

15 vues (au cours des 30 derniers jours)
Lamya Mohammad
Lamya Mohammad le 29 Fév 2020
Commenté : Joss Knight le 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

Réponses (1)

Joss Knight
Joss Knight le 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 commentaires
Lamya Mohammad
Lamya Mohammad le 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 le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by