By gerogero
Updated: April 4, 2025
Now, some of us don’t have fancy GPUs. That’s fine. We can run Stable Diffusion on our CPUs.
This is an incredibly barebones implementation of Stable Diffusion, do not expect cutting edge features
If you have a compatible GPU which has 2-4gb Vram or more, try the Voldy guide
For most purposes, it may be more practical to use a web service or a collab for Stable Diffusion
But there is something special about being able to generate on your own humble CPU
All credit goes to bes-dev and rpyth
Step 1. Install Git if you do not have it already
-When installing, make sure to select the Windows Explorer integration > Git Bash
Step 2. (W10) Press Windows Key + I to open your control panel and search for “Developer Mode”, turning it on
Step 3. Download Miniconda HERE. Download Miniconda 3
-Install Miniconda in the default location. Install for all users.
Step 4. Clone the repo
-Right click in your desired location and select ‘Git Bash here’
-Enter git clone https://github.com/bes-dev/stable_diffusion.openvino
Alternatively, you can download it as a .zip Here and extract
Step 5. Open Anaconda Prompt (miniconda3).
Navigate to the /stable-diffusion-v1-4-openvino
folder wherever you downloaded using “cd” to jump folders.
(Or just type “cd” followed by a space and then drag the folder into the Anaconda prompt.)
Step 6. Enter the following commands into Miniconda to set up your environment:
conda create --name vin python=3.9 pip
conda activate vin
conda install pip
pip install -r requirements.txt
pip install Pillow pyyaml sv-ttk
Step 7. Download the pyGUI scripts
Extract and copy all files within to your main /stable-diffusion-v1-4-openvino
folder, and hit replace on any file conflicts
Step 8. Download the RealESRGAN upscaler (linux ver)
Unzip and place the folder inside /stable-diffusion-v1-4-openvino
And you’re done
1. Open the Miniconda prompt and navigate to /stable-diffusion-v1-4-openvino
like before
2. Type conda activate vin
(You will need to do this every time you run the script)
3. Type python pygui.py
FIRST TIME SETUP
Go to Settings -> Configure in the GUI
-Hit [?] to open file browser and and link the RealESRGAN executable by hitting ‘open’
-Link the your demo.py file from the openvino folder the same way
-Add the path to your Python executable, it should be C:\ProgramData\Miniconda3\python.exe
-Hit save
Links/Notes
–SPEED PER RESULT–
(Intel(R) Core(TM) i5-8279U) 7.4 s/it 3.59 min
(AMD Ryzen Threadripper 1900X) 5.34 s/it 2.58 min
(Intel(R) Xeon(R) Gold 6154 CPU) 1 s/it 33 s
Complicated desired outputs = Complex prompts with mix of natural language and tags Complex prompt structure and order: Simple Prompt Example: Resu...
This guide was created to bring inspiration to this visual vocabulary. There is a short description for each pose so that you can connect the word ...
GPT-4o, released on March 25, 2025 went viral soon after release, bolstered by the Studio Ghibli animation style trend. Most people are curious if ...
This guide is intended to get you generating quality NSFW images as quickly as possible with Automatic1111 Stable Diffusion WebUI. We’ll be u...