migrate to router mode: use models.ini for multi-model support

This commit is contained in:
grayhook
2026-06-22 17:23:29 +07:00
parent ed5a4fdbbc
commit b14fc46642
2 changed files with 29 additions and 21 deletions
+5 -21
View File
@@ -5,25 +5,9 @@ export LD_LIBRARY_PATH=/usr/local/cuda-13.3/lib64${LD_LIBRARY_PATH:+:${LD_LIBRAR
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"
/home/bazzite/Документы/llama-cpp-turboquant/build/bin/llama-server \
-m "models/${MODEL_FILE}" \
--host 0.0.0.0 \
--port 8080 \
-ngl "${N_GPU_LAYERS}" \
--n-cpu-moe "${N_CPU_MOE}" \
--spec-type draft-mtp --spec-draft-n-max 2 \
-c "${CTX_SIZE}" \
-np 1 \
-fa on \
--cache-type-k "turbo4" \
--cache-type-v "turbo3" \
--no-mmap \
--mlock \
--ctx-checkpoints 1 \
--cache-ram -1 \
--jinja \
--reasoning on \
--reasoning-budget -1 \
-b 2048 \
-ub 2048 \
--threads "${THREADS}"
--models-preset "${DIR}/models.ini" \
--models-dir "${DIR}/models" \
-np 1