-
-
Notifications
You must be signed in to change notification settings - Fork 796
Troubleshooting
Common issues and their solutions. If these solutions don't work, please feel free to ask at the discord server or file an issue.
Please follow these instructions at https://nvidia.custhelp.com/app/answers/detail/a_id/5490/~/system-memory-fallback-for-stable-diffusion , but use C:\path\to\EasyDiffusion\installer_files\env\python.exe
in Step 1.
NVIDIA drivers after version 532 use the system RAM as shared memory (which is very very slow). This behavior kicks in when the GPU memory is almost full (e.g. for very large images). This slows down rendering by nearly 20 times.
If you're on the latest NVIDIA driver, you can disable this behavior in the driver settings to prevent Easy Diffusion from using shared memory. That setting will be only for Easy Diffusion, it won't affect other programs.
This can happen if your PC has less than 6GB of GPU RAM.
Try setting a lower "VRAM Usage Level" setting in the "Settings" tab.
Also try generating smaller sized images.
This can be due to a Firewall/Antivirus/Proxy/VPN blocking your network connections. Please check those.
Another solution is to switch to Google's DNS server: https://developers.google.com/speed/public-dns/docs/using#windows or Cloudflare's DNS server: https://developers.cloudflare.com/1.1.1.1/setup/windows/
Please run apt install libsm6 libxext6 libxrender-dev -y
(you may need to put sudo
before this)
And try again.
In Linux, please run this before running start.sh: export QT_QPA_PLATFORM=offscreen
If you're running Windows 10 N or Windows 10 KN (or any of its Pro, Education, ... variants), the Microsoft Media Feature Pack is needed to run Stable Diffusion.
This happens if your PC ran out of RAM. Stable Diffusion requires a lot of RAM, and requires atleast 10 GB of RAM to work well. You can also try closing all other applications before running Stable Diffusion UI.
A temporary workaround is to disable SSL checks. Run this in the developer console:
git config --global http.sslBackend schannel
git config --global http.sslVerify false
To re-enable SSL checks, run:
git config --global http.sslVerify true
Disabling SSL checks can enable attackers to inject malware into your downloads.
This will give you an activated conda environment in the terminal, so you can run commands and force-install any packages, if required.
Users don't need to have the Anaconda Prompt installed to do this anymore, since the installer bundles a portable version of conda inside it. Just follow these steps.
Windows:
- Run the
Developer Console.cmd
file (inside the project folder) by double-clicking it. - Type
python --version
and press enter. You should see 3.8.5.
Linux:
- Open the terminal
- Type
cd /path/to/stable-diffusion-ui
and press enter - Type
./developer_console.sh
and press enter - Type
python --version
and press enter. You should see 3.8.5.
This will give you an activated conda environment. You can now run conda or pip commands to install or change packages.