Skip to content
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

Added compatibility with Torch 2.0 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DarrenAbramson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant