easydiffusion/Troubleshooting.md

2.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.

Green image generated

This usually happens if you're running NVIDIA 1650 or 1660 Super. To solve this, please upgrade to v2 by following the installation steps here: https://github.com/cmdr2/stable-diffusion-ui/tree/v2#installation

And then enable Full precision in the Advanced settings. This will prevent green images from being generated.

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)