Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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 "
|
| 11 |
-
|
| 12 |
-
AutoProcessor.from_pretrained('Qwen/Qwen2-VL-7B-Instruct')
|
| 13 |
Qwen2VLForConditionalGeneration.from_pretrained('Qwen/Qwen2-VL-7B-Instruct', torch_dtype='auto')
|
| 14 |
"
|
| 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 |
+
RUN python -c "from transformers import Qwen2VLForConditionalGeneration, AutoProcessor\
|
| 11 |
+
AutoProcessor.from_pretrained('Qwen/Qwen2-VL-7B-Instruct')\
|
|
|
|
| 12 |
Qwen2VLForConditionalGeneration.from_pretrained('Qwen/Qwen2-VL-7B-Instruct', torch_dtype='auto')
|
| 13 |
"
|
| 14 |
|