Last active
July 25, 2025 20:04
-
-
Save WizardlyBump17/3aebf0e1731500e8f4afcba22055b434 to your computer and use it in GitHub Desktop.
Dockerfile for kohya_ss on Intel Arc B580
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM docker.io/intel/intel-extension-for-pytorch:2.7.10-xpu | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| RUN apt update && apt upgrade -y | |
| RUN apt install -y \ | |
| libgl1 \ | |
| python3-tk | |
| RUN git clone https://github.com/WizardlyBump17/kohya_ss --recurse-submodules | |
| WORKDIR kohya_ss | |
| RUN git checkout dev | |
| #kohya_ss tries to use venv/bin/activate, but we did not create venv | |
| RUN mkdir -p venv/bin && touch venv/bin/activate && chmod +x venv/bin/activate | |
| RUN ./setup.sh --use-ipex | |
| EXPOSE 7860 | |
| CMD ["./gui.sh", "--use-ipex", "--headless", "--noverify"] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run on Ubuntu 25.04 host: