easydiffusion/Troubleshooting.md
2022-09-08 23:19:20 +05:30

3.6 KiB

Common issues and their solutions. If these solutions don't work, please feel free to ask at the discord server or file an issue.

RuntimeError: CUDA out of memory

This can happen if your PC has less than 6GB of VRAM.

Try disabling the "Turbo mode" setting under "Advanced Settings", since that takes an additional 1 GB of VRAM (to increase the speed).

Additionally, a common reason for this error is that you're using an initial image larger than 768x768 pixels. Try using a smaller initial image.

Also try generating smaller sized images.

ClobberError: This transaction has incompatible packages due to a shared path

On Windows, please ensure that you had placed the stable-diffusion-ui folder after unzipping to the root of C: or D: (or any drive). For e.g. C:\stable-diffusion-ui. Note: This has to be done before you start the installation process. If you have already installed (and are facing this error), please delete the installed folder, and start fresh by unzipping and placing the folder at the top of your drive.

This error can also be caused if you already have conda/miniconda/anaconda installed, due to package conflicts. Please open your Anaconda Prompt, and run conda clean --all to clean up unused packages.

Green image generated

This usually happens if you're running NVIDIA 1650 or 1660 Super. To solve this, please close and run the Stable Diffusion command on your computer. If you're using the older Docker-based solution (v1), please upgrade to v2: https://github.com/cmdr2/stable-diffusion-ui/tree/v2#installation

No module found

This can happen if you're hitting the Windows file path length limitation. To solve this, please upgrade to v2 by following the installation steps here: https://github.com/cmdr2/stable-diffusion-ui/tree/v2#installation , and ensure that you've placed the stable-diffusion-ui folder in C: or D: (or any top-level location).

'./docker-compose.yml' is invalid:

ERROR: The Compose file './docker-compose.yml' is invalid because: services.stability-ai.deploy.resources.reservations value Additional properties are not allowed ('devices' was unexpected)

Please ensure you have docker-compose version 1.29 or higher. Check docker-compose --version, and if required update it to 1.29. (Thanks HVRyan)

RuntimeError: Found no NVIDIA driver on your system:

If you have an NVIDIA GPU and the latest NVIDIA driver, please ensure that you've installed nvidia-container-toolkit. (Thanks u/exintrovert420)

Some other process is already running at port 9000 / port 9000 could not be bound

You can override the port used. Please change docker-compose.yml inside the project directory, and update the line 9000:9000 to 1337:9000 (where 1337 is whichever port number you want).

After doing this, please restart your server, by running ./server restart.

After this, you can access the server at http://localhost:1337 (where 1337 is the new port you specified earlier).

RuntimeError: CUDA error: unknown error

Please ensure that you have an NVIDIA GPU and the latest NVIDIA driver, and that you've installed nvidia-container-toolkit.

Also, if you are using WSL (Windows), please ensure you have the latest WSL kernel by running wsl --shutdown and then wsl --update. (Thanks AndrWeisR)