tusarway commited on
Commit
cca38ad
·
verified ·
1 Parent(s): 3f5a18f
Files changed (1) hide show
  1. 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
- RUN mkdir -p /app/models && \
23
- wget --progress=dot:giga \
24
- "https://huggingface.co/unsloth/gemma-4-26B-A4B-it-GGUF/resolve/main/gemma-4-26B-A4B-it-UD-IQ3_XXS.gguf" \
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