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 is not available #87

Open
xxxdongjiu opened this issue Feb 28, 2024 · 3 comments
Open

CUDA is not available #87

xxxdongjiu opened this issue Feb 28, 2024 · 3 comments

Comments

@xxxdongjiu
Copy link

When I tested whether cuda was available on the console, no errors were reported.
image
However, when the "bash run.sh 1 msl" command is executed on the terminal, a message is displayed indicating that cuda is unavailable.
image
Is it because cuda version is inconsistent or there are other reasons, can you give me some help?

@d-ailin
Copy link
Owner

d-ailin commented Feb 28, 2024

The script "bash run.sh 1 msl" indicates running with "cuda:1". May I know if there is more than 2 gpus on your device? If not, then you could run "bash run.sh 0 msl" instead. Feel free to let me know if there are other issues.

@Changshengli0
Copy link

1709699595089I'm having the same problem as the person who asked, after using the bash run.sh 0 msl command it still gives me an error, can you help me please?

@d-ailin
Copy link
Owner

d-ailin commented Mar 7, 2024

I guess it might be due to the mismatched pytorch version. May I know what pytorch and cuda version you are using? Or you could also refer to the readme.md to create a new virtual environment with the exact package versions. Thanks.

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

3 participants