up
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
|
@@ -19,10 +19,9 @@ RUN CMAKE_BUILD_PARALLEL_LEVEL=4 \
|
|
| 19 |
CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \
|
| 20 |
pip install --no-cache-dir "llama-cpp-python==0.3.8"
|
| 21 |
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
-O /app/models/gemma-4-26B-A4B-it-UD-IQ3_XXS.gguf
|
| 26 |
|
| 27 |
COPY app.py .
|
| 28 |
|
|
|
|
| 19 |
CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \
|
| 20 |
pip install --no-cache-dir "llama-cpp-python==0.3.8"
|
| 21 |
|
| 22 |
+
# Model is downloaded at runtime by app.py via hf_hub_download (handles retries/resume)
|
| 23 |
+
# Do NOT wget here — large files fail silently during Docker build on HF Spaces
|
| 24 |
+
RUN mkdir -p /app/models
|
|
|
|
| 25 |
|
| 26 |
COPY app.py .
|
| 27 |
|