aleks-gotsa commited on
Commit
0699509
·
1 Parent(s): c796971

fix: huggingface-cli removed in hub 1.x, use hf download

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -22,8 +22,8 @@ ENV LD_LIBRARY_PATH=/opt/llama
22
 
23
  # Bake the model into the image at build time: faster Space restarts,
24
  # no runtime download. Exact file pin recorded after first build.
25
- RUN pip install --no-cache-dir "huggingface_hub[cli]>=0.26,<2.0" && \
26
- huggingface-cli download unsloth/Qwen3-4B-Instruct-2507-GGUF \
27
  --include "*Q4_K_M*.gguf" --local-dir /opt/models && \
28
  find /opt/models -name "*.gguf" -exec ls -lh {} \;
29
 
 
22
 
23
  # Bake the model into the image at build time: faster Space restarts,
24
  # no runtime download. Exact file pin recorded after first build.
25
+ RUN pip install --no-cache-dir "huggingface_hub>=1.0,<2.0" && \
26
+ hf download unsloth/Qwen3-4B-Instruct-2507-GGUF \
27
  --include "*Q4_K_M*.gguf" --local-dir /opt/models && \
28
  find /opt/models -name "*.gguf" -exec ls -lh {} \;
29