jbaboval's Stable Diffusion WebUI for OneAPI - running in a Docker Container!
If you have an Intel Xe Graphics Card (e.g. Intel Arc), then this container will allow you to use it for Stable Diffusion.
This container uses the Torch backend with some special Intel Repos to make everything work. Support for OneAPI in Torch is still early-days and there are certainly some bugs and missing features (img2img crashes, no seed reproducibility) so keep that in mind.
If you have an Intel Card and are interested in using it to diffuse, follow the set-up steps below:
- Clone this repository and cd:
git clone https://github.com/theunpleasantowl/stable-diffusion-docker-webui-intel.git
cd stable-diffusion-docker-webui-intel
docker-compose up download -d # Required once to set up some models and directories
docker-compose up webui # Build the container and run the WebUI
- Reach the webUI by navigating your browser to
localhost:7860
Parameter | Function |
---|---|
-e 443 |
Internal WebUI Port - If you want to change the native port |
- u/theshdude on Reddit for working with Intel Insiders to document setting up Torch for OneAPI
- jbaboval on github for his fork of stable-diffusion-webui for Intel oneAPI
- AbdBarho for stable-diffusion-webui-docker that this work is based on
- AUTOMATIC1111 for their Stable Diffusion WebUI