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

Installation on Linux for GPU usage #255

Closed
AsyaOrlova opened this issue Dec 10, 2024 · 7 comments
Closed

Installation on Linux for GPU usage #255

AsyaOrlova opened this issue Dec 10, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@AsyaOrlova
Copy link

Hello! I have a problem with creating environment for GPU usage.

I run this command:
conda env create -f conda_gpu.yml

And I get the error, which is depicted on the screenshots.
I suppose it is connected with pytorch-fast-transformers package.

Screenshots
image
image

System:

  • OS: Linux
  • Python version: 3.10.13
  • GT4SD version: 1.4.3
@AsyaOrlova AsyaOrlova added the bug Something isn't working label Dec 10, 2024
@jannisborn
Copy link
Contributor

HI @AsyaOrlova Thanks for your interest. Is this WSL? Because GT4SD does not support Windows

@AsyaOrlova
Copy link
Author

@jannisborn Thanks for the quick answer! This is WSL, however I use it to connect to the remote server with Linux OS. So, I guess, this is not the problem, because I try to run gt4sd on server.

@jannisborn
Copy link
Contributor

And you have GPU access on that machine? Otherwise you need conda_cpu_linux.yml

@AsyaOrlova
Copy link
Author

Yes, I do have it. I also tried to create CPU environment and it failed with error as well.

@jannisborn
Copy link
Contributor

Hard to debug from far, but your error suggests to pre-install torch into the env before attempting to install other deps

@AsyaOrlova
Copy link
Author

I foun out I had problems specifically with gt4sd-molformer (something about a conflict between cuda and pytorch). So I created the environment without this package as a temporary workaround, since I don't actually need molformer for my purposes. Thank you for your help!

@jannisborn
Copy link
Contributor

Closing as completed but feel free to reopn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants