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

can't import pylops-gpu - AttributeError: module 'torch' has no attribute 'complex32' #18

Open
matthewamarcus opened this issue May 16, 2022 · 3 comments

Comments

@matthewamarcus
Copy link

This error occurs when I attempt to import pylops_gpu. I uninstalled pytorch-complex-tensor and pylops-gpu and reinstalled them as instructed on GitHub and it still fails.

@mrava87
Copy link
Collaborator

mrava87 commented May 23, 2022

Hello, I would need a bit more details to help on this. Where do you install pylops-gpu, using which torch (cpu or gpu)?

If you could provide your installation routine and error log I can look into it.

@matthewamarcus
Copy link
Author

matthewamarcus commented May 23, 2022 via email

@mrava87
Copy link
Collaborator

mrava87 commented May 23, 2022

We do not guarantee anything on windows, but it should work on Unix.

You should only do pip install pylops-gpu, the required packages will be installed automatically for you. Try that and if it doesn’t work report the actual error log

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

No branches or pull requests

2 participants