| Before You Begin |
|---|
|
Some users reported these steps looked way too complicated and intimidating so they gave up before they began. There are only 5 programs you need to install and configure. These are required so the AI/ML systems can run. The instructions are only lengthy because I include all details and screenshots to help you get the installs correct the first time and verify they are installed correctly. Once these programs are installed, the hundreds of AI system in Visions of Chaos will then be accessible to you. There is nothing difficult or complicated here. Take your time and you will be running AI systems locally in no time. If you do have any questions or problems during the installations you can join my Discord to ask for support. |
| IMPORTANT POINTS |
|---|
|
An NVIDIA 3090, 4090 or 5090 GPU with 24GB VRAM is highly recommended and will get the best performance and highest resolution outputs. If you have an older GPU or one with less than 24GB VRAM, many of the machine learning modes will not work. You MUST have an NVIDIA GPU for the Machine Learning related modes to work in Visions of Chaos. If you do not have an NVIDIA GPU stop now and do not continue with the rest of this page. The required programs, Python libraries and machine learning models are large and do need a lot of disk space to install. If you do not have the patience for long large downloads then machine learning is not for you. Due to the rapid pace of advancements in these systems there will be frequent updates that break previous libraries needing new Python environments to be created. Again, if the thought of having to wait for some downloads and updates after a new release bothers you, then do not go any further. Version numbers are important. If these instructions specify an exact version number make sure you download and install that version. Some versions listed may not be exact, but if you see an exact version, download and install that version. These steps only work on Windows 10 or Windows 11 64-bit versions. If possible you also want to use an SSD or NVMe hard drive. Loading the huge AI models from a mechanical hard drive is so much slower than from a high quality SSD hard drive. |
| Update Your GPU Drivers |
|---|
|
Why is this needed? Latest drivers are always fixing bugs and issues. These machine learning systems can perform poorly or even crash with older drivers. Update now and stay up to date. Select Help->Update Graphics Card Drivers from Visions of Chaos. That will show you which model GPU you have and open the NVIDIA download page. Once the download page opens, select your model GPU and click Search. The recommended driver will appear. Download it, install it, reboot. |
| CUDA |
|---|
|
Why is this needed? CUDA is required for all of the machine learning Python code to run on your GPU. Download CUDA v12.8 Update 1 and install it. NOTE: by default the Nvidia installer wants to install extra drivers etc, you only need the compiler and libraries options checked, ie ![]() |
| Set the Custom CUDA path |
|---|
|
Why is this needed? Visions of Chaos needs to know where you have installed CUDA 12.8 into. 1. Start Visions of Chaos. 2. Click Options->Options to open the Options dialog. 3. Click the Machine Learning tab. 4. Click the browse button next to the Custom CUDA path and select the CUDA bin directory. By default this is C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.8\bin |
| Visual Studio Community Edition |
|---|
|
Why is this needed? Some of these systems need to be compiled to install them. Visual Studio does the required compiling. Without it you will not be able to setup the various Python environments. 1. Download Visual Studio 2022 Community Edition from here. 2. Start the installer and check "Desktop development with C++" on the first tab ![]() 3. Click the "Individual Components" tab, scroll down and check the most recent "C++/CLI support" checkbox ![]() 4. Click Install. 5. Once the install is finished, you do not have to start Visual Studio or create an account to sign in. Just close it. |
| CMake |
|---|
|
Why is this needed? Like Visual Studio, CMake is another compiler required to setup some of the Python packages and libraries. 1. Download the version 3.31.6 installer of CMake from here. 2. Install CMake using all the defaults. |
| Git |
|---|
|
Why is this needed? Git is needed to automatically update source code from GitHub repositories. 1. Download the latest 64 bit installer of Git for Windows from here. 2. Install Git accepting all the numerous default settings. |
| Python |
|---|
|
Why is this needed? Python is the language all of these machine learning systems are written in. Without Python nothing will work. 1. Download Python v3.10.11 from here. 2. Click "Customize installation" and install Python outside the "Program Files" directory (eg to C:\Python\ or D:\Python\). This saves potential security rights problems in the pip install stages later on. |
| Check and Enable Machine Learning in Visions of Chaos |
|---|
|
1. Start Visions of Chaos (if you already have Visions of Chaos open, close it and restart to ensure all path updates are seen) 2. Click the Options menu and then select Options to open the Options dialog 3. Under the Machine Learning tab, click the "Check Machine Learning" button At this point you should get a message that Python, nvcc, cl and cmake have been detected. If not, go back up and fix the installation for the error. You should now have a bunch of sub menus under Mode->Machine Learning to explore. As you start the various machine learning related modes for the first time you may be prompted to download model files or setup virtual environments. Let these processes run to ensure you have all the required machine learning related files. |