Spaces:
Sleeping
Sleeping
Dmitry Beresnev
commited on
Commit
·
25f92ca
1
Parent(s):
d9a4451
fix dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -13,7 +13,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 13 |
WORKDIR /build
|
| 14 |
RUN git clone https://github.com/ggerganov/llama.cpp.git && \
|
| 15 |
cd llama.cpp && \
|
| 16 |
-
cmake -B build -DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
|
|
| 17 |
cmake --build build --config Release --target llama-server -j$(nproc)
|
| 18 |
|
| 19 |
# Runtime stage
|
|
|
|
| 13 |
WORKDIR /build
|
| 14 |
RUN git clone https://github.com/ggerganov/llama.cpp.git && \
|
| 15 |
cd llama.cpp && \
|
| 16 |
+
cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
| 17 |
+
-DGGML_NATIVE=OFF \
|
| 18 |
+
-DGGML_AVX2=OFF \
|
| 19 |
+
-DGGML_OPENMP=OFF && \
|
| 20 |
cmake --build build --config Release --target llama-server -j$(nproc)
|
| 21 |
|
| 22 |
# Runtime stage
|