Patreon
Home / Videos / Set Up Windows 11 for AI Apps: Python, CUDA, cuDNN, C++ Buil

Set Up Windows 11 for AI Apps: Python, CUDA, cuDNN, C++ Build Tools, FFmpeg and Git (2024 Guide)

Henge uses MiniMax H3 to swap characters, transfer motion, swap heads and sharpen videos; a 12 second Character Swap took about 4 minutes on an RTX 5090.

Published Oct 01, 2024 · 38,094 views · Watch on YouTube

Get the app and files

Henge 1-Click Video Studio: Character Swap, Motion Transfer, Head Swap

Henge 1-Click Video Studio: Character Swap, Motion Transfer, Head Swap

Henge uses MiniMax H3 to swap characters, transfer motion, swap heads and sharpen videos; a 12 second Character Swap took about 4 minutes on an RTX 5090.

Musubi Tuner App: 1-Click LoRA & Fine-Tune Training With 435 Presets

Musubi Tuner App: 1-Click LoRA & Fine-Tune Training With 435 Presets

SECourses Musubi Tuner trains LoRAs and full fine-tunes of Qwen Image, Wan 2.2, FLUX 2, Z Image and LTX 2.3 on Windows or cloud GPUs with 435 ready presets.

Windows & Ubuntu AI Requirements Installer: Full 1-Click Tutorial

Windows & Ubuntu AI Requirements Installer: Full 1-Click Tutorial

AI Requirements Installers take a Windows or Ubuntu PC from zero to AI-ready in one click: NVIDIA driver, CUDA 12.9 and 13.2, cuDNN 9.20 and Python 3.10-3.14.

AI Requirements Installers: 1-Click Windows & Ubuntu PC Setup

AI Requirements Installers: 1-Click Windows & Ubuntu PC Setup

AI Requirements Installers make a Windows or Ubuntu PC ready for local AI apps: NVIDIA driver, Python 3.10 to 3.14, CUDA 13.2, cuDNN 9.20 and C++ tools.

ACE-Step 1.5 XL Premium: Music & Song Generator With 1-Click Install

ACE-Step 1.5 XL Premium: Music & Song Generator With 1-Click Install

ACE-Step 1.5 XL Premium generates full songs locally with the Turbo, SFT and Base models; the V8 INT8 update makes SFT and Base songs up to 1.9x faster.

Ultimate TTS Tutorial: Voice Training & Cloning in 600+ Languages

Ultimate TTS Tutorial: Voice Training & Cloning in 600+ Languages

Ultimate TTS full Windows tutorial covering voice cloning, automatic take selection, multilingual speech and OmniVoice full fine-tuning in 600+ languages.

Chapters

  1. 0:00 Introduction to the tutorial video
  2. 2:00 How to check your current Python, FFMPEG and CUDA versions
  3. 2:28 How to install Python 3.10 and 3.11 accurately into accurate folder with accurate config
  4. 4:25 How to install py launcher and importance of py launcher installation
  5. 4:56 How to change default Python version to 3.10 after install both 3.10 and 3.11
  6. 5:10 How to use Edit system environment variables to properly set default applications
  7. 6:15 How to properly install Microsoft Visual Studio for on device compiling libraries
  8. 7:33 How to uninstall your previously installed applications so that you can uninstall them before reinstall properly
  9. 8:18 How to install CUDA 11.8 and 12.4 properly on Windows for AI applications
  10. 12:53 How to switch between default CUDA 11.8 and CUDA 12.4
  11. 13:33 How to download and install latest best FFMPEG and set its system path
  12. 16:03 How to install latest cuDNN libraries
  13. 17:23 How to accurately install correct C++ Compile Build Tools that works with CUDA 11.x and 12.x
  14. 19:12 How to check your previously installed C++ Compile Build tools and delete them
  15. 20:30 How to download and install Git that you need for cloning repositories
  16. 21:31 How to install LivePortrait AI and run it on Windows locally including animal Live Portrait
  17. 23:28 How to fix frozen CMD problem, paused application install or running
  18. 24:04 How to export CMD installation logs on Windows 11 to report in case of errors
  19. 24:49 How to fix CUDA_PATH is set but CUDA wasn't able to be loaded error
  20. 25:09 How to install older cuDNN 8.9.7 to fix CUDA_PATH is set but CUDA wasn't able to be loaded error
  21. 27:34 How to install and use nvitop to to monitor your GPU and VRAM usage
  22. 28:56 How to run LivePortrait animal version, animating animal faces
  23. 29:55 How to install FaceFusion 3 to your computer and run it locally
  24. 30:31 How I noticed Git error and how I fixed Git related cloning error
  25. 33:31 How I solved DLL related ONNX Runtime errors while running FaceFusion 3
  26. 33:50 How to fix ONNX Runtime related errors with copy pasting cuDNN 9.4 DLL files
  27. 34:38 How to test Face Fusion 3 with provided demo materials

About this video

New literally 1 click Linux and Windows installers published that setups everything : https://www.patreon.com/SECourses/posts/1-click-windows-172290854

If you are interested in using AI, generative AI applications, open source applications in your computer, than this is the most fundamental and important tutorial that you need. In this tutorial I show and explain how to properly install appropriate Python versions accurately, how to switch between different Python versions, how to install different CUDA and cuDNN versions and switch between them according to the each application requirements. Moreover, I show how to install Microsoft Visual Studio and C++ Build Tools (Compile) accurate version installation for those apps that requires to be compiled in your system like InsightFace or XPose.

Video Links

🔗 Tutorial Used Instructions Page (Public - Not Paywalled) ⤵️

▶️ https://www.patreon.com/posts/click-to-open-post-used-in-tutorial-111553210

🔗 SECourses Discord Channel to Get Full Support ⤵️

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

🔗 SECourses Reddit ⤵️

▶️ https://www.reddit.com/r/SECourses/

🔗 SECourses GitHub ⤵️

▶️ https://github.com/FurkanGozukara/Stable-Diffusion

🔗Previously Made Tutorial (A Must Watch One) ⤵️

▶️https://youtu.be/-NjNy7afOQ0

Currently Best Suggested Version

* As of 30 September 2024

* Python 3.10.11

* CUDA 12.4

* cuDNN 8.9 - latest version - manually added to system path

* C++ Build Tools LTSC 17.8 - latest version

After watching this tutorial, hopefully you will be able to use all of the AI applications without any issues such as Automatic1111 SD Web UI, Kohya, SUPIR, IDM VTON, LivePortrait, FaceFusion 3, Rope Pearl, Rope Next, Roop, InstantID, Forge Web UI, Fooocus, CogVideoX, SwarmUI, ComfyUI, Stable Diffusion, SDXL, SD3, ControlNet and such. Pretty much any famous Open Source or closed source AI application that you can use locally on Windows.

This video also shows how to fix errors like below:

onnxruntime\python\onnxruntime_pybind_state.cc:866 onnxruntime::python::CreateExecutionProvider Instance CUDA_PATH is set but CUDA wasnt able to be loaded. Please install the correct version of CUDA and cuDNN as mentioned in the GPU requirements page

Video Chapters

0:00 Introduction to the tutorial video

2:00 How to check your current Python, FFMPEG and CUDA versions

2:28 How to install Python 3.10 and 3.11 accurately into accurate folder with accurate config

4:25 How to install py launcher and importance of py launcher installation

4:56 How to change default Python version to 3.10 after install both 3.10 and 3.11

5:10 How to use Edit system environment variables to properly set default applications

6:15 How to properly install Microsoft Visual Studio for on device compiling libraries

7:33 How to uninstall your previously installed applications so that you can uninstall them before reinstall properly

8:18 How to install CUDA 11.8 and 12.4 properly on Windows for AI applications

12:53 How to switch between default CUDA 11.8 and CUDA 12.4

13:33 How to download and install latest best FFMPEG and set its system path

16:03 How to install latest cuDNN libraries

17:23 How to accurately install correct C++ Compile Build Tools that works with CUDA 11.x and 12.x

19:12 How to check your previously installed C++ Compile Build tools and delete them

20:30 How to download and install Git that you need for cloning repositories

21:31 How to install LivePortrait AI and run it on Windows locally including animal Live Portrait

23:28 How to fix frozen CMD problem, paused application install or running