mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-04-05 22:45:39 +00:00
what i have right now
This commit is contained in:
parent
103e11493b
commit
27c560cdcd
3 changed files with 14 additions and 7 deletions
|
|
@ -10,13 +10,12 @@ RUN apt-get update && apt-get install -y git && apt-get clean
|
|||
|
||||
ENV ROOT=/stable-diffusion
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
|
||||
git clone https://github.com/unphased/ComfyUI.git ${ROOT} && \
|
||||
cd ${ROOT} && \
|
||||
git checkout master && \
|
||||
git reset --hard 884ea653c8d6fe19b3724f45a04a0d74cd881f2f && \
|
||||
# git reset --hard 884ea653c8d6fe19b3724f45a04a0d74cd881f2f && \
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
--mount=type=bind,from=xformers,source=/wheel.whl,target=/xformers-0.0.21-cp310-cp310-linux_x86_64.whl \
|
||||
pip install /xformers-0.0.21-cp310-cp310-linux_x86_64.whl
|
||||
|
|
@ -26,13 +25,18 @@ WORKDIR ${ROOT}
|
|||
|
||||
ARG BRANCH=master SHA=8607c2d42d10b0108de02528e813cc703e58813f
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
ls -la models && \
|
||||
ls -la models/vae_approx && \
|
||||
git fetch && \
|
||||
git checkout ${BRANCH} && \
|
||||
git reset --hard ${SHA} && \
|
||||
echo cach_bust 2 && \
|
||||
git pull && \
|
||||
# git reset --hard ${SHA} && \
|
||||
pip install -r requirements.txt
|
||||
|
||||
# add info
|
||||
COPY . /docker/
|
||||
RUN ls -la /docker
|
||||
RUN cp /docker/extra_model_paths.yaml ${ROOT}
|
||||
|
||||
ENV NVIDIA_VISIBLE_DEVICES=all
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ a111:
|
|||
gligen: models/GLIGEN
|
||||
clip: models/CLIPEncoder
|
||||
embeddings: embeddings
|
||||
vae_approx: models/vae_approx
|
||||
|
||||
custom_nodes: config/comfy/custom_nodes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue