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

5 次查看(过去 30 天)
For now training is running on CPU, but i want it on GPU, i need urgent support
  5 个评论
Evangeline
Evangeline 2025-3-24

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?

请先登录,再进行评论。

回答(1 个)

Steven Lord
Steven Lord 2025-3-24
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 个评论
Walter Roberson
Walter Roberson 2025-3-24
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 2025-3-24
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Parallel and Cloud 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by