Skip to content

Commit

Permalink
fix sd1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
OhYee committed Nov 6, 2023
1 parent e1b1843 commit dc76336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ NAMESPACE=aliyun-fc
REPO=fc-stable-diffusion
BASE_TAG=basev8

SD15_VERSION=v11
ANIME_VERSION=v11
REALMAN_VERSION=v11
LITE_VERSION=v3
SD15_VERSION=v12
ANIME_VERSION=v12
REALMAN_VERSION=v12
LITE_VERSION=v4


push: push-jp push-beijing push-shanghai push-shenzhen push-hangzhou ## push 镜像到所有 registry
Expand Down
4 changes: 2 additions & 2 deletions src/code/images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ RUN chmod 777 /docker/sd-agent
FROM base as lite

RUN --mount=type=bind,from=execute,source=/,target=/execute \
cp -R /execute/${SD_BUILTIN}/ /${SD_BUILTIN} && \
cp -R /execute/${SD_BUILTIN}/* ${SD_BUILTIN} && \
cp -R /execute/docker/ /docker && \
cp /execute/IMAGE_TAG /IMAGE_TAG

Expand Down Expand Up @@ -340,7 +340,7 @@ FROM model-base as sd1.5
COPY --from=download_models /sd-v1-5-inpainting.ckpt ${SD_BUILTIN}/models/Stable-diffusion/sd-v1-5-inpainting.ckpt

RUN --mount=type=bind,from=execute,source=/,target=/execute \
cp -R /execute/${SD_BUILTIN}/ /${SD_BUILTIN} && \
cp -R /execute/${SD_BUILTIN}/* ${SD_BUILTIN} && \
cp -R /execute/docker/ /docker && \
cp /execute/IMAGE_TAG /IMAGE_TAG

Expand Down

0 comments on commit dc76336

Please sign in to comment.