Deep Learning using GPU

4 visualizzazioni (ultimi 30 giorni)
Sri Adiyanti
Sri Adiyanti il 18 Mag 2021
Risposto: Jayanti il 12 Feb 2025
Hi there,
I want to run my deep learning model (m script) for aesthetic designs (thousands of images of trochloids) using Quadro RTX 4000 GPU; i9 with 10 cores.
Any suggestion so I can run it efficiently? do I need to modify my m script?
Thanks,
S

Risposte (1)

Jayanti
Jayanti il 12 Feb 2025
Hi Sri,
If you want to run a deep learning model using a GPU in MATLAB, the first step is to verify whether GPU is supported. You can quickly check this by visiting the following link:
If GPU is supported and you have the Parallel Computing Toolbox, MATLAB should automatically utilize the GPU for computations.
However, if GPU isn't supported, or if you are working with custom training loops, you will need to take an extra step. In this case, convert the data into gpuarray and ensure that you are using functions that support gpuarray.
Please refer to the below link to refer to the list of GPU supported functions:
For more detailed guidance on running deep learning models on a GPU, you might find the below documentation helpful:
Hope this will be helpful!

Community Treasure Hunt

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

Start Hunting!

Translated by