Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
75 views

Error following upgrade to Mathematica 14.0: Classify: TargetDevice -> GPU requires restart [duplicate]

I recently upgraded Mathematica from 13.3 to 14.0 on my workstation. When I attempted to execute a script that ran without any issues on 13.3, I suddenly get an error associated with the Classify ...
Max's user avatar
  • 101
4 votes
1 answer
369 views

How can I free GPU memory allocated with NetTrain

When I train a neural network with NetTrain[..., TargetDevice->"GPU"], wolfram's neural network code automatically allocates memory on my GPU for my ...
Alec Graves's user avatar
  • 1,078
3 votes
0 answers
174 views

Classify/NetTrain run indefinitely without output when using GPU

I am experimenting with Mathematica's Classify/NetTrain functions for the first time. When I don't set a TargetDevice option, Mathematica defaults to the CPU and everything works as expected. When I ...
Ruben's user avatar
  • 131
11 votes
0 answers
235 views

Tutorial example NetTrain fails miserably with a GPU

I have been experimenting with GPU NetTrain on AWS now when Mma 12.2 supports remote batch jobs (I don't have an Nvidia GPU to try these things out otherwise). In ...
kirma's user avatar
  • 19.1k
4 votes
1 answer
5k views

GPU support on latest MacBook Pro, especially for deep learning

I'm thinking about getting some new top of the line computer hardware, specifically a MacBook Pro from Apple. These have AMD Radeon Pro 5500M GPUs, which while a bit slower than something like an ...
Michael's user avatar
  • 197
1 vote
0 answers
117 views

Re-train a neural network discarding its memory?

...
Cetin Sert's user avatar
4 votes
1 answer
226 views

Using GPU Computation in LearnDistribution

LearnDistribution has an option for RealNVP, which is directly training a neural network for the distribution. It also has an option for TargetDevice, however, it appears to do nothing. Take the ...
Nico A's user avatar
  • 3,674
10 votes
1 answer
269 views

Can one use NetTrain with two Nvidia GPUs?

I am thinking of buying another GPU to accelerate my training. Will I be able to call NetTrain with both GPUs ("TargetDevice"-> {"GPU", All})? Or would it be ...
MaxJ's user avatar
  • 1,535
11 votes
1 answer
870 views

How to use an external GPU to train neural networks in Mathematica?

Taking steps in the uncharted territories of eGPUs, I have installed an NVIDIA GeForce Titan Xp GPU on an eGPU enclosure (Mantiz MZ-02) and have connected it to my laptop (HP Spectre x360 - 15-bl075nr ...
Miladiouss's user avatar
  • 1,883
4 votes
0 answers
203 views

NetTrain with External GPU?

I'd like to use the new Neural Networks functionalities in v11 on my Macbook Pro, unfortunately, most macs do not have the supported Nvidia cards. However, there is the option for using an external E-...
M.R.'s user avatar
  • 31.8k
5 votes
0 answers
185 views

GPU Acceleration and the Predict function [duplicate]

With the Mathematica Predict function, does it automatically use GPU acceleration? For example, with NetTrain, one has to specify TargetDevice->"GPU" to show they want to perform the calculation on ...
Jmeeks29ig's user avatar
  • 1,447
2 votes
0 answers
91 views

NetTrain with OpenCL [duplicate]

When working with NetTrain I get the following error: TargetDevice -> {GPU,0} could not be used, please ensure that you have a compatible graphics card and have installed CUDA drivers. Is it ...
eliott's user avatar
  • 205
12 votes
1 answer
1k views

Configuring GPU for NetTrain

I currently have access to a system with two GPUs: GeForce GTX 1080 and Tesla K40c I would like to use this machine for training neural networks in Mathematica. When using the option ...
dan7geo's user avatar
  • 1,410
8 votes
1 answer
758 views

Which GPUs does NetTrain work with?

NetTrain's option TargetDevice -> "GPU" works for old macbooks that have GEForce GT 750m cards (like mine), but what about other nvidia cards? Does it (or will ...
user5601's user avatar
  • 3,820