We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b15204 commit a7a2721Copy full SHA for a7a2721
deepxde/backend/pytorch/tensor.py
@@ -45,7 +45,7 @@
45
except Exception as e:
46
import warnings
47
warnings.warn(
48
- f'An MPS GPU has been detected, but cannot be used.'
+ f'An MPS GPU has been detected, but cannot be used. '
49
f'Falling back to CPU.\nThe exception message is:\n {e}'
50
)
51
torch.set_default_device(fallback_device)
0 commit comments