Replies: 1 comment
-
I experimented with the following and it worked. I don't know if this is the smartest way to go about it. import deepxde as dde if torch.backends.mps.is_available(): |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I would like to know how to ensure GPU usage in MacBook equipped with GPU (i.e. torch.backends.mps.is_available() returns True) running DeepXDE with PyTorch (and Tensorflow).
Thank you very much in advance.
Cheers,
M
Beta Was this translation helpful? Give feedback.
All reactions