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

Cuda not available after isntalling the environment #28

Closed
CristopherUbotica opened this issue Mar 10, 2024 · 4 comments
Closed

Cuda not available after isntalling the environment #28

CristopherUbotica opened this issue Mar 10, 2024 · 4 comments

Comments

@CristopherUbotica
Copy link

Hello,

I installed the environment from the .yaml file following the procedure described in the readme, and in my case cuda was not available. Is it problem of the environment? Or am I missing something?

Thank you in advance for your time and consideration.

Kind regards,

Cristopher

@sirbastiano
Copy link
Collaborator

Hi Cris,
could you detail the OS, and the steps you have done so we can replicate your bug?

@CristopherUbotica
Copy link
Author

Hi Roberto,

I am using Ubuntu 22.04. I run the the 'pyraws_install.sh' shell script to set up the environment. After that, I activated the environment and tried torch.cuda.is_available() on Python.

Can the problem be that the cuda version that I have installed in my OS is not compatible with the environment version? Or should the environment be enough to run cuda in pytorch? In that case, the problem wouldn't be part of the repo.

Thank you in advance!

@sirbastiano
Copy link
Collaborator

Seems to me an error related to your cuda version. Can you try to install NVIDIA drivers compatible with CUDA 10.2 or 11.3.
Another easy solution is use the dockerized application.

@sirbastiano
Copy link
Collaborator

@CristopherUbotica, I uploaded a docker-compose, a devcontainer.json, and updated the installation routines. The project has been tested up to cudatoolkit 11.3 and pytorch 1.12.0.

Let me know if that was useful.

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