How to Install Python, CUDA, cuDNN, C++ Build Tools, FFMPEG & Git Tutorial for AI Applications
SECourses
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/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 24:04 How to export CMD installation logs on Windows 11 to report in case of errors 24:49 How to fix CUDA_PATH is set but CUDA wasn't able to be loaded error 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 27:34 How to install and use nvitop to to monitor your GPU and VRAM usage 28:56 How to run LivePortrait animal version, animating animal faces 29:55 How to install FaceFusion 3 to your computer and run it locally 30:31 How I noticed Git error and how I fixed Git related cloning error 33:31 How I solved DLL related ONNX Runtime errors while running FaceFusion 3 33:50 How to fix ONNX Runtime related errors with copy pasting cuDNN 9.4 DLL files 34:38 How to test Face Fusion 3 with provided demo materials ... https://www.youtube.com/watch?v=DrhUHnYfwC0
261032652 Bytes