Cudatoolkit and cudnn won't install with windows installer on win 11 home

Installing and setting up FaceSwap


Forum rules

Read the FAQs and search the forum before posting a new topic.

Please mark any answers that fixed your problems so others can find the solutions.

Post Reply
User avatar
Helioses
Posts: 6
Joined: Sat Oct 24, 2020 3:02 pm

Cudatoolkit and cudnn won't install with windows installer on win 11 home

Post by Helioses »

I've tried several, at least 8 times, to install faceswap and it never installs such that my GPU is used. I see in the install logs that cudatool and cudnn doesn't install.
here are the offending lines in the install log

..
..
12/24/2024 11:33:32 setup init INFO Installing cudatoolkit>=11.2,<11.3 cudnn>=8.1,<8.2
12/24/2024 11:33:32 setup init DEBUG argv: ['conda', 'install', '-y', '-c', 'conda-forge', '"cudatoolkit>=11.2,<11.3"', '"cudnn>=8.1,<8.2"']
12/24/2024 11:33:32 setup init DEBUG cmd: 'C:\Users\palop\MiniConda3\condabin\conda.BAT', cmdline: 'conda install -y -c conda-forge \"cudatoolkit>=11.2,<11.3\" \"cudnn>=8.1,<8.2\"'
12/24/2024 11:33:33 setup _seen_line_log DEBUG
12/24/2024 11:33:33 setup _seen_line_log DEBUG InvalidMatchSpec: Invalid spec '"cudatoolkit>=11.2,<11.3"': Invalid version '11.3"': invalid charact
12/24/2024 11:33:33 setup _seen_line_log DEBUG er(s)
12/24/2024 11:33:34 setup call DEBUG Package: cudatoolkit>=11.2,<11.3 cudnn>=8.1,<8.2, returncode: 1
12/24/2024 11:33:34 setup _from_conda WARNING Couldn't install ['"cudatoolkit>=11.2,<11.3"', '"cudnn>=8.1,<8.2"'] with Conda. Please install this package manually
..
..

I have verified with nvidia-smi that my gpu is completely idle while training. any clue as to how to get my gpu up and running?

C:\Users\palop>nvidia-smi
Wed Dec 25 21:48:52 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 566.36 Driver Version: 566.36 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Driver-Model | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3070 ... WDDM | 00000000:01:00.0 Off | N/A |
| N/A 44C P0 33W / 150W | 0MiB / 8192MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+

C:\Users\palop>

User avatar
localxboy
Posts: 5
Joined: Mon Jan 06, 2025 10:58 pm
Answers: 1
Has thanked: 1 time

Re: Cudatoolkit and cudnn won't install with windows installer on win 11 home

Post by localxboy »

HI! I had the same thing. Check my solution: viewtopic.php?t=3148

Last edited by localxboy on Wed Jan 08, 2025 6:19 pm, edited 1 time in total.
Post Reply