Torch 2 installed - Could not load library libcudnn_cnn_infer.so.8. Error: libnvrtc.so: cannot open shared object file: No such file or directory

Hello. I have installed torch 2 via this command on runpod io instance

everything installed perfectly fine

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

with torch 1 we were not getting any error but with torch 2 we are getting

how to fix?

it is using unix

Could not load library libcudnn_cnn_infer.so.8. Error: libnvrtc.so: cannot open shared object file: No such file or directory

On Windows same prodecure working very well

We are using automatic1111 web ui to use stable diffusion

@ptrblck any ideas how to solve?

Sorry, for the late reply as I missed the ping.
You are running into this issue and could apply the workaround by creating the symbolic link. I’m unsure if this is already fixed in the current nightly, but the next minor/patch release should fix it.

this is very good to here
when can we know that patch will be released? or how can we know when it is released?

It will be announced as usual and will show up in the install matrix.

where can i follow it can you give link