Borrar filtros
Borrar filtros

Matlab does not recognize AWS GPUs

4 visualizaciones (últimos 30 días)
Jon Yarza
Jon Yarza el 3 de Feb. de 2022
Comentada: Jon Yarza el 8 de Feb. de 2022
We are trying to use the GPU of a AWS cloud computer to perform the training of some Neural Networks. The instance (computer) that we are using to carry out the trainigs is the g4dn-xlarge. This means that in addition to the properties detailed in features.jpg , the instance contains a NVIDIA T4 GPU ( that is supported by matlab according to https://ch.mathworks.com/help/cloudcenter/ug/choose-supported-ec2-instance-machine-types.html )
The problem arises when we want to perform any activity with the GPU since Matlab does not recognize the GPU.
For example, if we execute the gpuDevice function, the following error appears:
Error using gpuDevice (line 26)
Unable to find a supported GPU device. For more information on GPU support, see GPU Support by Release.
The installed toolbox are:
  1. Deep Learning Toolbox
  2. Parallel Computing Toolbox
Why doesn't it recognize the AWS GPU? How can we solve this problem?
Thanks in advance,
Jon
  2 comentarios
Joss Knight
Joss Knight el 7 de Feb. de 2022
Hard to say. Probably you haven't installed a GPU driver on your instance. What happens when you run system('nvidia-smi')?
Jon Yarza
Jon Yarza el 8 de Feb. de 2022
Yes it was the driver. When I ran the nvidia-smi command in cmd the response was:
"nvidia-smi is not recognized as an internal or external command"
I have already installed them correctly and it works fine.
Thank you very much for your help.

Iniciar sesión para comentar.

Respuesta aceptada

yanqi liu
yanqi liu el 8 de Feb. de 2022
yes,sir,may be install gpu driver and cuda toolbox,then restart your MATLAB and try

Más respuestas (0)

Categorías

Más información sobre Parallel and Cloud en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by