Spaces:
Running
on
T4
Running
on
T4
attempt to make build work again by building all-major instead of all, and building with more parallel jobs
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -9,7 +9,7 @@ RUN apt update && apt install git build-essential libopenblas-dev wget python3-p
|
|
9 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
10 |
WORKDIR /opt/koboldcpp
|
11 |
COPY default.json /opt/koboldcpp/default.json
|
12 |
-
RUN make LLAMA_OPENBLAS=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1
|
13 |
RUN wget -O model.ggml $MODEL || true
|
14 |
RUN wget -O imgmodel.ggml $IMGMODEL || true
|
15 |
RUN wget -O mmproj.ggml $MMPROJ || true
|
|
|
9 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
10 |
WORKDIR /opt/koboldcpp
|
11 |
COPY default.json /opt/koboldcpp/default.json
|
12 |
+
RUN make -j$(nproc) LLAMA_OPENBLAS=1 LLAMA_CUBLAS=1 LLAMA_PORTABLE=1 LLAMA_COLAB=1
|
13 |
RUN wget -O model.ggml $MODEL || true
|
14 |
RUN wget -O imgmodel.ggml $IMGMODEL || true
|
15 |
RUN wget -O mmproj.ggml $MMPROJ || true
|