-
Notifications
You must be signed in to change notification settings - Fork 56
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
CUDNN_STATUS_NOT_INITIALIZED #16
Comments
Dumb question. Do you have a CUDA enabled GPU on your system? |
oh yeah i forgot to give details about the machine.
nvidia-smi
6Gb 3060
using i am using f16 model
|
Could try something like
To see if the tch library can see it. |
i am not sure why it printed stuff twice though. --- a/examples/stable-diffusion/main.rs
+++ b/examples/stable-diffusion/main.rs
@@ -196,6 +196,8 @@ fn run(args: Args) -> anyhow::Result<()> {
fn main() -> anyhow::Result<()> {
let args = Args::parse();
+ println!("Cuda available: {}", tch::Cuda::is_available());
+ println!("Cudnn available: {}", tch::Cuda::cudnn_is_available());
if !args.autocast {
run(args)
} else { EDIT: |
some solution i found was: pytorch/pytorch#16831 (comment) tch::Cuda::cudnn_set_benchmark(false); this did not help. there is another issue with same stuff: tensorflow/tensorflow#6698 (comment) or https://stackoverflow.com/a/52634209 |
Do you have libtorch installed? I had this issue, then fixed it, then forgot exactly what fixed it 😑 |
Not sure if this is regarding the library or some other issue.
The text was updated successfully, but these errors were encountered: