nuwave2 icon indicating copy to clipboard operation
nuwave2 copied to clipboard

Added compatibility with Torch 2.0

Open DarrenAbramson opened this issue 1 year ago • 0 comments

I've inserted view as real after setting the return_complex values to true because PyTorch 2.0 deprecates the return_complex into runtime errors.

This allows for use on Mac with cpu. After Sonoma and some PyTorch versions maybe this will also allow for mps, but for now the view_as operators aren't implemented in mps and can't be shifted to cpu fallback.

DarrenAbramson avatar Sep 16 '23 16:09 DarrenAbramson