AIencoder commited on
Commit
12ad213
·
verified ·
1 Parent(s): a274746

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -14
Dockerfile CHANGED
@@ -25,20 +25,6 @@ RUN pip install --no-cache-dir \
25
  faster-whisper \
26
  huggingface_hub
27
 
28
- # Create models directory
29
- RUN mkdir -p /data/models
30
-
31
- # Pre-download models one by one (so we see progress and can cache layers)
32
- RUN python -c "from huggingface_hub import hf_hub_download; print('⬇️ Downloading Qwen2.5-0.5B...'); hf_hub_download('Qwen/Qwen2.5-Coder-0.5B-Instruct-GGUF', 'qwen2.5-coder-0.5b-instruct-q4_k_m.gguf', local_dir='/data/models'); print('✅ Done!')"
33
-
34
- RUN python -c "from huggingface_hub import hf_hub_download; print('⬇️ Downloading Qwen2.5-1.5B...'); hf_hub_download('Qwen/Qwen2.5-Coder-1.5B-Instruct-GGUF', 'qwen2.5-coder-1.5b-instruct-q4_k_m.gguf', local_dir='/data/models'); print('✅ Done!')"
35
-
36
- RUN python -c "from huggingface_hub import hf_hub_download; print('⬇️ Downloading Qwen2.5-3B...'); hf_hub_download('Qwen/Qwen2.5-Coder-3B-Instruct-GGUF', 'qwen2.5-coder-3b-instruct-q4_k_m.gguf', local_dir='/data/models'); print('✅ Done!')"
37
-
38
- RUN python -c "from huggingface_hub import hf_hub_download; print('⬇️ Downloading Qwen2.5-7B...'); hf_hub_download('Qwen/Qwen2.5-Coder-7B-Instruct-GGUF', 'qwen2.5-coder-7b-instruct-q4_k_m.gguf', local_dir='/data/models'); print('✅ Done!')"
39
-
40
- RUN python -c "from huggingface_hub import hf_hub_download; print('⬇️ Downloading DeepSeek-V2-Lite...'); hf_hub_download('bartowski/DeepSeek-Coder-V2-Lite-Instruct-GGUF', 'DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf', local_dir='/data/models'); print('✅ Done!')"
41
-
42
  # Copy application
43
  COPY app.py /app/app.py
44
 
 
25
  faster-whisper \
26
  huggingface_hub
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  # Copy application
29
  COPY app.py /app/app.py
30