-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update A1111 to v1.10.1 and add ROCm support on A1111 #774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…grades Refactor Dockerfile and docker-compose for ROCm support and improved build context Refactor docker-compose.yml for improved service configuration and organization
group_add: | ||
- video | ||
deploy: | ||
# resources: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i had to uncomment this to run the profile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
i'm getting this error on my machine:
any thoughts? |
That is a weird error. I'll try to look into it. Meanwhile, did you update the env vars to match your system: - ROCm_VERSION=6.4
- HIP_VISIBLE_DEVICES=0
- HSA_OVERRIDE_GFX_VERSION=11.0.0 |
RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9 | ||
RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9a6d347f364e3d185ba6d714e22d80cb3c | ||
RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9 | ||
RUN . /clone.sh generative-models https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9 | |
RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9a6d347f364e3d185ba6d714e22d80cb3c | |
RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9 | |
RUN . /clone.sh generative-models https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f | |
RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 3a29b7410476bf5f2ba0955827390eb6ea1f4f9d | |
RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9a6d347f364e3d185ba6d714e22d80cb3c | |
RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9 | |
RUN . /clone.sh generative-models https://github.com/Stability-AI/generative-models bc07ce62c179d3aab3053a623d96a071101d11cb |
pip install pyngrok xformers==0.0.26.post1 \ | ||
git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \ | ||
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \ | ||
git+https://github.com/mlfoundations/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip install pyngrok xformers==0.0.26.post1 \ | |
git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \ | |
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \ | |
git+https://github.com/mlfoundations/[email protected] | |
pip install pyngrok xformers==0.0.28 \ | |
git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \ | |
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \ | |
git+https://github.com/mlfoundations/[email protected] | |
RUN pip install --upgrade --force-reinstall numpy scikit-image |
This pull request introduces significant updates to the Docker setup for Stable Diffusion web UI services, with a focus on improving hardware compatibility, updating dependencies, and refactoring service definitions. The changes include upgrading base images and software versions, adding support for AMD ROCm devices, and restructuring the
docker-compose.yml
file to better organize service configurations for CUDA, ROCm, and CPU environments.Hardware compatibility and service configuration:
auto-rocm
service and correspondingDockerfile-rocm
, including device, environment, and build settings for ROCm hardware. [1] [2]docker-compose.yml
to split service definitions by hardware type (CUDA, ROCm, CPU) and grouped CLI arguments for each, improving maintainability and clarity. [1] [2]Dependency and version updates:
General improvements and bug fixes:
routes.py
files dynamically and applying changes, with added error handling. [1] [2]