-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(<class 'RuntimeError'>, RuntimeError('Unsupported dtype Half'), <traceback object at 0x7ff3c12f6280>) #289
Comments
This seems to an issue with PyTorch and mps support rather than neuraloperator library. FNO is built on top of the FFT so complex support is needed. It seems some support may be available in the nightly build of PyTorch: pytorch/pytorch#116630 |
pytorch still doesn't support bmm() for device 'mps' which is used in tensorly's einsum(). I created a temporary workaround using numpy.einsum():
Output from Train_Darcy.py:
|
I am running on 'MPS' which does not support the datatype Complex64. Initally, I got:
So, I tried setting
This generated:
The text was updated successfully, but these errors were encountered: