Run Stable Diffusion on your own Windows Computer

These instructions assume you are using the following hardware / software as of November 5ht 2022:

  1. Git Clone this repository to your local computer:
  2. Start your Git Bash, from inside the local copy of the github repository you just cloned in step one:  (Right Click inside the local repository > Git Bash Here )  ’mohawklanguage\MoniGarr_AI_Experiments\Diffusion\MoniGarr_Tutorials\Stable_Diffusion_MoniGarr_V0.1’ on your local computer.
  3. Check if you have Python installed and note what version of python you have installed. I use the most current stable version of python:
    • $command_line:  python –version 
  4. If you do not have python installed; install python and note what version you installed. Note:  you  want 64bit python  because the most current version of pip requires python 64bit version.
  5. Install pip; enter the following into your Git Bash window:
    • $command_line:    python
  6. Run PowerShell as administrator and enter the following command to enable long file path support:
    • $command_line:     New-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem” ` -Name “LongPathsEnabled” -Value 1 -PropertyType DWORD -Force
  7. Install dependencies, by entering the following in your command line window:
  8. Save this python file ( ) to your project folder – the same folder where you have been running all the above command line statements.
  9. Run program by entering the following in your git bash window:
    • $command_line:  python