Spaces:
Sleeping
Sleeping
Dmitry Beresnev commited on
Commit ·
84bb7ea
1
Parent(s): 3fd32cf
fix dockerfile
Browse files8 unmodified lines910111213141516171819202122232425268 unmodified lineslibcurl4-openssl-dev \&& rm -rf /var/lib/apt/lists/*# Clone and build llama.cpp with optimizations for speedWORKDIR /build# Cache bust to force fresh buildARG CACHEBUST=2RUN git clone https://github.com/ggerganov/llama.cpp.git && \cd llama.cpp && \cmake -B build -DCMAKE_BUILD_TYPE=Release \-DGGML_NATIVE=OFF \-DGGML_AVX2=ON \-DGGML_FMA=ON \-DGGML_F16C=OFF && \cmake --build build --config Release --target llama-server -j2 && \echo "=== Binary dependencies ===" && \ldd build/bin/llama-server || true8 unmodified lines910111213141516171819202122232425268 unmodified lineslibcurl4-openssl-dev \&& rm -rf /var/lib/apt/lists/*# Clone and build llama.cpp with MINIMAL optimizations (fast build)WORKDIR /buildARG CACHEBUST=3RUN git clone https://github.com/ggerganov/llama.cpp.git && \cd llama.cpp && \cmake -B build -DCMAKE_BUILD_TYPE=Release \-DGGML_NATIVE=OFF \-DGGML_AVX2=OFF \-DGGML_AVX=OFF \-DGGML_FMA=OFF \-DGGML_F16C=OFF && \cmake --build build --config Release --target llama-server -j1 && \echo "=== Binary dependencies ===" && \ldd build/bin/llama-server || true
Dockerfile+6-6