Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -12,9 +12,9 @@ WORKDIR /opt/koboldcpp
|
|
12 |
COPY *.json /opt/koboldcpp/
|
13 |
RUN curl -fLo koboldcpp https://koboldai.org/cpplinuxcu12
|
14 |
RUN chmod +x ./koboldcpp
|
15 |
-
RUN curl -fLo model-00001-of-00002.
|
16 |
-
RUN curl -fLo model-00002-of-00002.
|
17 |
RUN curl -fLo imgmodel.ggml $IMGMODEL || true
|
18 |
RUN curl -fLo mmproj.ggml $MMPROJ || true
|
19 |
RUN curl -fLo whispermodel.ggml $WHISPERMODEL || true
|
20 |
-
CMD ./koboldcpp --model model-00001-of-00002.
|
|
|
12 |
COPY *.json /opt/koboldcpp/
|
13 |
RUN curl -fLo koboldcpp https://koboldai.org/cpplinuxcu12
|
14 |
RUN chmod +x ./koboldcpp
|
15 |
+
RUN curl -fLo model-00001-of-00002.gguf $MODEL_1 || true
|
16 |
+
RUN curl -fLo model-00002-of-00002.gguf $MODEL_2 || true
|
17 |
RUN curl -fLo imgmodel.ggml $IMGMODEL || true
|
18 |
RUN curl -fLo mmproj.ggml $MMPROJ || true
|
19 |
RUN curl -fLo whispermodel.ggml $WHISPERMODEL || true
|
20 |
+
CMD ./koboldcpp --model model-00001-of-00002.gguf --whispermodel whispermodel.ggml --sdmodel imgmodel.ggml --sdthreads 4 --sdquant --sdclamped --mmproj mmproj.ggml $ADDITIONAL --port 7860 --hordemodelname $MODEL_NAME --hordemaxctx 1 --hordegenlen 1 --preloadstory default.json --chatcompletionsadapter adapter.json --ignoremissing $SECRET
|