Switch in router mode with 3 models availables

This commit is contained in:
thedarty committed 2026-10-18 11:15:06 +02:00
1 parent e25c8aef4f
commit 34dcf97341
2 files changed
+47 -13

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
[*]
host = 0.0.0.0
flash-attn = on
models-max = 1
[dev-coder]
model = /models/Qwen2.5-Coder-14B-Instruct-Q5_K_M.gguf
alias = dev-coder
ctx-size = 16384
n-gpu-layers = 999
parallel = 1
batch-size = 512
ubatch-size = 256
temp = 0.2
top-p = 0.9
[dev-reasoner]
model = /models/Qwen3-14B-Q5_K_M.gguf
alias = dev-reasoner
ctx-size = 16384
n-gpu-layers = 999
parallel = 1
batch-size = 512
ubatch-size = 256
temp = 0.6
top-k = 20
top-p = 0.95
min-p = 0
[moe-global]
model = /models/Qwen3VL-8B-Instruct-Q4_K_M.gguf
alias = moe-global
mmproj = /models/mmproj-Qwen3VL-8B-Instruct-Q8_0.gguf
image-min-tokens = 1024
ctx-size = 32768
cache-type-k = q8_0
cache-type-v = q8_0
n-gpu-layers = 999
parallel = 2
jinja = true
threads = 8
metrics = true
+5 -13
View File
@@ -7,23 +7,15 @@ services:
environment: environment:
NVIDIA_VISIBLE_DEVICES: all NVIDIA_VISIBLE_DEVICES: all
TZ: Europe/Paris TZ: Europe/Paris
LLAMA_ARG_MODEL: /models/Qwen3VL-8B-Instruct-Q4_K_M.gguf LLAMA_API_KEY: top-secret
LLAMA_ARG_MMPROJ: /models/mmproj-Qwen3VL-8B-Instruct-Q8_0.gguf
LLAMA_ARG_IMAGE_MIN_TOKENS: 1024
LLAMA_ARG_CTX_SIZE: 32768
LLAMA_ARG_CACHE_TYPE_K: q8_0
LLAMA_ARG_CACHE_TYPE_V: q8_0
LLAMA_ARG_N_GPU_LAYERS: 999
LLAMA_ARG_HOST: 0.0.0.0 LLAMA_ARG_HOST: 0.0.0.0
LLAMA_ARG_PORT: 8080 LLAMA_ARG_PORT: 8080
LLAMA_API_KEY: top-secret LLAMA_ARG_MODELS_PRESET: /config/models.ini
LLAMA_ARG_JINJA: true LLAMA_ARG_MODELS_MAX: 1
LLAMA_ARG_FLASH_ATTN: true LLAMA_ARG_MODELS_AUTOLOAD: true
LLAMA_ARG_THREADS: 8
LLAMA_ARG_PARALLEL: 2
LLAMA_ARG_METRICS: true
volumes: volumes:
- /var/lib/docker/volumes/llama.cpp/models:/models - /var/lib/docker/volumes/llama.cpp/models:/models
- ./config/models.ini:/config/models.ini:ro
ports: ports:
- "18080:8080" - "18080:8080"