SEFurkan GözükaraSECourses · Generative AI Join onPatreon

cuDNN DLL Auto Installer Bat File and Manual Install & Update Guide

cuDNN auto installer bat file that downloads cuDNN 8.9.2.26 DLL files for CUDA 11.x and replaces the ones Torch ships with in the Automatic1111 Web UI venv.

The cuDNN version was the latest at the time; the post also explains how to manually install and update cuDNN DLL files from the NVIDIA archive to test other versions. Speed can get better or worse depending on your GPU, so RTX 4000 owners should test it.

Updated By Dr. Furkan Gözükara
WindowsTroubleshooting
cuDNN DLL Auto Installer Bat File and Manual Install & Update Guide
Older post. this is an older post kept for reference. The current, maintained version is AI Requirements Installers: 1-Click Windows & Ubuntu PC Setup.

This bat fill will automatically download 8.9.2.26 cuDNN dll files zip, extract them into the automatic_web_ui\venv\Lib\site-packages\torch\lib folder and replace the cuDNN dll files that comes with Torch installation.

This cuDNN is for CUDA 11.x for Windows

This can yield worse or better performance depending on your GPU. With RTX 4xxx series I would test it.

Alternatively you can download cuDNN dll files from this url yourself and you manually change and try different versions yourself.

Link : https://developer.nvidia.com/rdp/cudnn-archive

Link requires a free account register and accepting EULA

Procedure is same

Put the bat file inside your stable diffusion main folder

Here screenshot : https://i.imgur.com/yoWC3gd.png

Currently I am testing all cuDNN versions for RTX 3090 TI and

python: 3.10.9  •  torch: 2.0.1+cu118  •  xformers: 0.0.21.dev549

Please also join our 3000+ members Discord channel

Link : https://discord.com/servers/software-engineering-courses-secourses-772774097734074388

Also message me on Discord or on here to get your Discord special Patron rank if you haven't got yet

↑ ↓ to move · Enter to open · Esc to close · Ctrl K or / to search from any page