Can intel ultra series cpu be used in matlab
134 views (last 30 days)
Show older comments
Recently bought a new laptop MSI Stealth 14
Specifications: intel ultra7 155H/32G/1T/RTX 4060 8G
I need to use MATLAB and VScode. VScode runs fine, but my MATLAB version R2023b has issues. When running some AI training scripts within a few hundred lines, it gets stuck on busy during the AI training phase, even though the initial data processing runs fine. I often have to use the Task Manager to close the software.
I have tried running it on other computers
1. PC/i7-9700K 3.60GHz/RAM 64G/2T
2. PC/i7-10700 2.90GHz/RAM 16G/2T
3.Stealth 16/i9-13900H 2.60GHz/RAM 32G/2T
All of these machines run the code smoothly,Could it be that the CPU is too new for MATLAB to handle, or could it be another issue?
0 Comments
Answers (1)
Harsh
on 29 Jul 2024
From what I can gather, the task involves training a model using MATLAB on a PC equipped with the new Ultra 7 155H processor and a dedicated GPU (RTX 4060). Compared to previously used CPUs, the Ultra 7 155H is less powerful but more power-efficient, drawing only 28W at its base clock.
I understand that the Intel Core Ultra 7 155H processor includes a dedicated NPU (Neural Processing Unit), but currently, there is no MathWorks documentation indicating support for NPUs in MATLAB.
To achieve the best results, utilizing the dedicated GPU for training is recommended. Here is a script to set up the environment for that purpose:
if canUseGPU
executionEnvironment = "gpu";
numberOfGPUs = gpuDeviceCount("available");
pool = parpool(numberOfGPUs);
else
executionEnvironment = "cpu";
pool = parpool;
end
If the GPU is working correctly, the following variable values should appear in the workspace:
Once the environment is set up, proceed with training the network as usual. The following script can be used to open an example on the same topic:
openExample('deeplearning_shared/TrainNetworkInParallelWithCustomTrainingLoopExample')
I hope this helps. Thanks!
0 Comments
See Also
Categories
Find more on Deep Learning Toolbox 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!