Update / Disable lstein Temporarily (#106)
- auto:f80c3696f6
- model merger now works! the resulting model is saved in `cache/custom-models` - hlky:aaa3be16e0
- lstein:8c9f2ae705
- This UI has been temporarely disabled due to limitation in the output path:8c9f2ae705/backend/modules/create_cmd_parser.py (L26)
This commit is contained in:
@ -40,6 +40,7 @@ Screenshots:
|
|||||||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
|
||||||
|
<!--
|
||||||
### lstein
|
### lstein
|
||||||
|
|
||||||
[lstein's fork](https://github.com/lstein/stable-diffusion) is very mature when it comes to the cli, and the WebUI has potential.
|
[lstein's fork](https://github.com/lstein/stable-diffusion) is very mature when it comes to the cli, and the WebUI has potential.
|
||||||
@ -47,6 +48,7 @@ Screenshots:
|
|||||||
| Text to image | Image to image | Extras |
|
| Text to image | Image to image | Extras |
|
||||||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||||
|  |  |  |
|
|  |  |  |
|
||||||
|
-->
|
||||||
|
|
||||||
## Setup & Usage
|
## Setup & Usage
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ git reset --hard 24268930bf1dce879235a7fddd0b2355b84d7ea6
|
|||||||
rm -rf repositories/taming-transformers/data repositories/taming-transformers/assets
|
rm -rf repositories/taming-transformers/data repositories/taming-transformers/assets
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard 9e3002b7cd64df7870e08527b7664eb2f2f5f3f5
|
||||||
|
|
||||||
|
|
||||||
FROM continuumio/miniconda3:4.12.0
|
FROM continuumio/miniconda3:4.12.0
|
||||||
|
|
||||||
@ -34,7 +36,7 @@ RUN <<EOF
|
|||||||
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
||||||
cd stable-diffusion-webui
|
cd stable-diffusion-webui
|
||||||
git reset --hard 15f333a266c20319e2b95a47a8834adf7b914aec
|
git reset --hard 15f333a266c20319e2b95a47a8834adf7b914aec
|
||||||
pip install --prefer-binary --no-cache-dir -r requirements.txt
|
pip install --prefer-binary --no-cache-dir -r requirements_versions.txt
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ENV ROOT=/stable-diffusion-webui \
|
ENV ROOT=/stable-diffusion-webui \
|
||||||
@ -47,13 +49,13 @@ RUN pip install --prefer-binary --no-cache-dir -r ${ROOT}/repositories/CodeForme
|
|||||||
# Note: don't update the sha of previous versions because the install will take forever
|
# Note: don't update the sha of previous versions because the install will take forever
|
||||||
# instead, update the repo state in a later step
|
# instead, update the repo state in a later step
|
||||||
|
|
||||||
ARG SHA=15f333a266c20319e2b95a47a8834adf7b914aec
|
ARG SHA=f80c3696f63a181f720105559d42ee53453ed0eb
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
cd stable-diffusion-webui
|
cd stable-diffusion-webui
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
git reset --hard ${SHA}
|
git reset --hard ${SHA}
|
||||||
pip install --prefer-binary --no-cache-dir -r requirements.txt
|
|
||||||
pip install --prefer-binary --no-cache-dir -r requirements_versions.txt
|
pip install --prefer-binary --no-cache-dir -r requirements_versions.txt
|
||||||
|
pip install --prefer-binary --no-cache-dir -r requirements.txt
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
RUN pip install --prefer-binary -U --no-cache-dir opencv-python-headless
|
RUN pip install --prefer-binary -U --no-cache-dir opencv-python-headless
|
||||||
|
@ -25,7 +25,7 @@ EOF
|
|||||||
# Note: don't update the sha of previous versions because the install will take forever
|
# Note: don't update the sha of previous versions because the install will take forever
|
||||||
# instead, update the repo state in a later step
|
# instead, update the repo state in a later step
|
||||||
# ARG BRANCH=master SHA=d0bb60a139d60e6c2b9be4e18e0e29a86aa5af59
|
# ARG BRANCH=master SHA=d0bb60a139d60e6c2b9be4e18e0e29a86aa5af59
|
||||||
ARG BRANCH=dev SHA=7bd785d28f974c6e268604794acc549607e33090
|
ARG BRANCH=dev SHA=aaa3be16e0e66f07c63dbdb49b9b7cac8fef5cfb
|
||||||
RUN <<EOF
|
RUN <<EOF
|
||||||
cd stable-diffusion
|
cd stable-diffusion
|
||||||
git fetch
|
git fetch
|
||||||
|
@ -23,7 +23,7 @@ conda clean -a -y
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
ARG BRANCH=development SHA=b40bfb5116b7fc618f78a0d152005ceb46153443
|
ARG BRANCH=development SHA=8c9f2ae705cf723d4a8a73c416e8d8bf2d746977
|
||||||
# this breaks on generation:
|
# this breaks on generation:
|
||||||
# there is a new UI anyway, but it is not by any means ready.
|
# there is a new UI anyway, but it is not by any means ready.
|
||||||
# ARG BRANCH=development SHA=bdbc76fcd4bd3362312dc91b087d9af66de423b1
|
# ARG BRANCH=development SHA=bdbc76fcd4bd3362312dc91b087d9af66de423b1
|
||||||
@ -33,7 +33,7 @@ git fetch
|
|||||||
git reset --hard
|
git reset --hard
|
||||||
git checkout ${BRANCH}
|
git checkout ${BRANCH}
|
||||||
git reset --hard ${SHA}
|
git reset --hard ${SHA}
|
||||||
conda env update --file environment.yaml -n base
|
conda env update --file environment.yml -n base
|
||||||
conda clean -a -y
|
conda clean -a -y
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@ -52,5 +52,8 @@ WORKDIR /stable-diffusion
|
|||||||
EXPOSE 7860
|
EXPOSE 7860
|
||||||
|
|
||||||
CMD /docker/mount.sh && \
|
CMD /docker/mount.sh && \
|
||||||
python3 -u scripts/dream.py --outdir /output --web --host 0.0.0.0 --port 7860 ${CLI_ARGS}
|
# python3 -u backend/server.py --host 0.0.0.0 --port 7860 --cors http://localhost:7860
|
||||||
# python3 -u backend/server.py --host 0.0.0.0 --port 9090
|
# python3 -u scripts/dream.py --outdir /output --web --host 0.0.0.0 --port 7860 ${CLI_ARGS}
|
||||||
|
echo The lstein webUI is currently deactivated due to implementation limitations: \
|
||||||
|
https://github.com/invoke-ai/InvokeAI/blob/8c9f2ae705cf723d4a8a73c416e8d8bf2d746977/backend/modules/create_cmd_parser.py#L26 \
|
||||||
|
Once the path the output is fixed, the UI will be activated again
|
||||||
|
Reference in New Issue
Block a user