How can i use GPU for mathlab2024b version training please, i need steps

5 visualizaciones (últimos 30 días)
For now training is running on CPU, but i want it on GPU, i need urgent support
  5 comentarios
Walter Roberson
Walter Roberson el 24 de Mzo. de 2025
In particular you would need an NVIDIA GPU
Evangeline
Evangeline el 24 de Mzo. de 2025

I do have NVIDIA Geforce MX230 in my laptop already, but matlab needed upgraded version, so I had visited their official page and downloaded and installed a similar version of MX250. Well, I'm training on it, says it 6.1 version, it's pretty slow...I reduced epoch count to 5 and miniBatch to 8. Let's see the accuracy...

But my question is to make the training faster, I need a higher GPU? Such as a Desktop?

Iniciar sesión para comentar.

Respuestas (1)

Steven Lord
Steven Lord el 24 de Mzo. de 2025
Have you reviewed the documentation pages in this category in the Deep Learning Toolbox documentation? If you have, do you have a specific question about one or more of the suggestions / steps on a particular page? Please post a link to that page and ask your specific question about the content on that page.
  4 comentarios
Walter Roberson
Walter Roberson el 24 de Mzo. de 2025
The MX230 has a maximum of 2 gigabytes of RAM, so you might be getting crashes if you are trying to use models that are more than roughly 2/3 to 1 gigabyte.
Joss Knight
Joss Knight el 24 de Mzo. de 2025
Hi Evangeline, this is a bit confusing. How can you use multiple GPUs for training on a laptop? Perhaps, again, reading the documentation on training on multiple GPUs might be what you need before bringing your questions to this forum.
This
I had visited their official page and downloaded and installed a similar version of MX250
doesn't really make sense - you can't download a new GPU. So perhaps you are referring to something else and are getting your terminology mixed up?
Note that laptop GPUs are heavily power throttled. Try turning your power settings to best performance, and ensuring your laptop is plugged in - that may help if you haven't done that already, although you may still see throttling if your laptop is overheating. The answer to your original question may indeed be yes, you need a desktop GPU or you need to lease some machine time from the cloud.

Iniciar sesión para comentar.

Categorías

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

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by