container

This commit is contained in:
AbdBarho 2022-10-14 15:45:13 +02:00
parent f1722a8624
commit 4f30dc5bc9

View file

@ -20,6 +20,12 @@ EOF
RUN git clone https://github.com/crowsonkb/k-diffusion.git repositories/k-diffusion && cd repositories/k-diffusion && git reset --hard f4e99857772fc3a126ba886aadf795a332774878
# FROM pytorch/manylinux-cuda113 as xformers
# RUN git clone https://github.com/facebookresearch/xformers /x
# WORKDIR /x
# ENV CU_VERSION=cu113 PYTHON_VERSION=3.10 PYTORCH_VERSION=1.12
# RUN ./packaging/build_wheel.sh
FROM python:3.10-slim
@ -66,7 +72,7 @@ RUN pip install --prefer-binary --no-cache-dir opencv-python-headless \
git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
pyngrok
# COPY --from=xformers /x/wheels /wheels
COPY . /docker
RUN <<EOF