Frederic-CellNum commited on
Commit
941ccd9
·
verified ·
1 Parent(s): 82aed82

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -7,9 +7,8 @@ COPY requirements.txt .
7
  RUN pip install -r requirements.txt
8
 
9
  # Pré-télécharger le modèle PENDANT le build (accès réseau autorisé)
10
- RUN python -c "from transformers import Qwen2VLForConditionalGeneration, AutoProcessor"
11
- RUN python -c "AutoProcessor.from_pretrained('Qwen/Qwen2-VL-7B-Instruct')"
12
- RUN python -c "Qwen2VLForConditionalGeneration.from_pretrained('Qwen/Qwen2-VL-7B-Instruct', torch_dtype='auto')"
13
 
14
  COPY . .
15
 
 
7
  RUN pip install -r requirements.txt
8
 
9
  # Pré-télécharger le modèle PENDANT le build (accès réseau autorisé)
10
+ COPY download_model.py .
11
+ RUN python download_model.py
 
12
 
13
  COPY . .
14