This commit is contained in:
cangui 2025-08-16 18:33:30 +02:00
parent 5f2d03d06c
commit 05c04d828d

View File

@ -14,10 +14,8 @@ RUN mkdir -p /models
# Télécharge un petit modèle chat (TinyLlama 1.1B quantisé Q4) AU BUILD
# => Embarqué dans l'image, pas besoin de réseau à l'exécution pour ce fichier.
RUN curl -L --fail --progress-bar \
-o /models/tinyllama-1.1b-chat.Q4_K_M.gguf \
https://huggingface.co/TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF/resolve/main/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf
RUN curl -L -o /models/tinyllama-1.1b-chat.Q4_K_M.gguf \
https://huggingface.co/Skynet-LocalAI/tinyllama-1.1b-chat.Q4_K_M.gguf
# IMPORTANT : on utilise un heredoc NON quoted (<<YAML) pour EXPANSION des variables
# (n_ctx/n_threads prendront les valeurs de CONTEXT_SIZE/THREADS AU BUILD)
RUN cat > /models/gpt-oss-20b.yaml <<YAML