Skip to content

Commit

Permalink
fix: installing
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Oct 10, 2023
1 parent b6f7ac0 commit 4e015fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# ---------------------------------------------------------------------------- #
FROM alpine/git:2.36.2 as download

RUN apt-get update && apt-get install libgoogle-perftools-dev -y

COPY builder/clone.sh /clone.sh

# Clone the repos and clean unnecessary files
Expand All @@ -21,7 +23,7 @@ RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f1
. /clone.sh generative-models https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f

RUN apk add --no-cache wget && \
wget -O /model.safetensors https://civitai.com/api/download/models/15236
wget -q -O /model.safetensors https://civitai.com/api/download/models/15236



Expand All @@ -40,6 +42,8 @@ ENV DEBIAN_FRONTEND=noninteractive \

SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half"

RUN apt-get update && \
apt install -y \
fonts-dejavu-core rsync git jq moreutils aria2 wget libgoogle-perftools-dev procps libgl1 libglib2.0-0 && \
Expand Down
1 change: 1 addition & 0 deletions builder/cache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from webui import initialize
import modules.interrogate

initialize.initialize()
interrogator = modules.interrogate.InterrogateModels("interrogate")
interrogator.load()
Expand Down

0 comments on commit 4e015fa

Please sign in to comment.