Spaces:
Sleeping
Sleeping
Dmitry Beresnev
commited on
Commit
·
309e664
1
Parent(s):
dde400a
fix compiling flags in dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,10 +16,10 @@ ARG CACHEBUST=2
|
|
| 16 |
RUN git clone https://github.com/ggerganov/llama.cpp.git && \
|
| 17 |
cd llama.cpp && \
|
| 18 |
cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
| 19 |
-
-DGGML_NATIVE=
|
| 20 |
-DGGML_AVX2=ON \
|
| 21 |
-DGGML_FMA=ON \
|
| 22 |
-
-DGGML_F16C=
|
| 23 |
cmake --build build --config Release --target llama-server -j$(nproc) && \
|
| 24 |
echo "=== Binary dependencies ===" && \
|
| 25 |
ldd build/bin/llama-server || true
|
|
|
|
| 16 |
RUN git clone https://github.com/ggerganov/llama.cpp.git && \
|
| 17 |
cd llama.cpp && \
|
| 18 |
cmake -B build -DCMAKE_BUILD_TYPE=Release \
|
| 19 |
+
-DGGML_NATIVE=OFF \
|
| 20 |
-DGGML_AVX2=ON \
|
| 21 |
-DGGML_FMA=ON \
|
| 22 |
+
-DGGML_F16C=OFF && \
|
| 23 |
cmake --build build --config Release --target llama-server -j$(nproc) && \
|
| 24 |
echo "=== Binary dependencies ===" && \
|
| 25 |
ldd build/bin/llama-server || true
|