Deep Learning using GPU

6 views (last 30 days)
Sri Adiyanti
Sri Adiyanti on 18 May 2021
Answered: Jayanti on 12 Feb 2025 at 6:44
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

Answers (1)

Jayanti
Jayanti on 12 Feb 2025 at 6:44
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!

Categories

Find more on Parallel and Cloud in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!