Replies: 1 comment
-
So you mention that you've installed cuda toolkit but your gpu is not recognized in python. Also, have you tried installing it the recommended way from the pytorch website? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
after setting up :~/Desktop/ztm-pytorch-course$ and installing pytorch 2.3.1, conda, and cuda 12.5.0 I am recieving this error. I tried installing the cuda toolkit inside of /Desktop/ztm-pytorch-course/env twice now and the error is still returning. Any advice?
after checking the env with this script, I get a tensor output but my GPU comes back as false.
import pandas as pd
import numpy as np
import torch
import sklearn
import matplotlib
import torchinfo, torchmetrics
Check PyTorch access (should print out a tensor)
print(torch.randn(3, 3))
Check for GPU (should return True)
print(torch.cuda.is_available())
Beta Was this translation helpful? Give feedback.
All reactions