Skip to content

Code update for modern version of Torch + CUDA bugfix #1

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

BY-Chai
Copy link

@BY-Chai BY-Chai commented Mar 26, 2025

Changes
main.py:
Added tensor to a use_cuda if statement, so main can be run without cuda. Previously gives a "tensors on different device" error when --no_cuda is specified.
Replaced all occurences of torch.symeig with EigH, as symeig is deprecrated since torch 1.9

Gitignore:
Added regex terms to exclude conda environment files, for conda environments built in directory

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.

1 participant