latest transformer

This commit is contained in:
Abdullah Barhoum 2022-09-18 12:12:57 +02:00
parent 6c3a7b6b81
commit f71aece732

View file

@ -21,9 +21,6 @@ conda env update --file environment.yaml -n base
conda clean -a -y
EOF
# new dependency, should be added to the environment.yaml
RUN pip install -U --no-cache-dir pyperclip
# Note: don't update the sha of previous versions because the install will take forever
# instead, update the repo state in a later step
# ARG BRANCH=master
@ -39,6 +36,8 @@ conda env update --file environment.yaml -n base
conda clean -a -y
EOF
RUN pip uninstall transformers -y && pip install -U --no-cache-dir pyperclip transformers==4.22
# Latent diffusion
RUN <<EOF
git clone https://github.com/Hafiidz/latent-diffusion.git