llama.cpp splits --ctx-size across --parallel slots, so 262144 total gave 87552 per stream. Non-negotiable is 262144 per stream: total pool must be 786432.
19 lines
605 B
Bash
19 lines
605 B
Bash
# Tunables for frank-default-small (HauhauCS Q6_K_P + DFlash draft, dankserver)
|
|
# Runtime: llama-server b10108; RTX 3090 24GB; Ryzen 7 7700X; 62GB RAM.
|
|
MODEL_DIR=/home/dank/models
|
|
ALIAS=frank-default-small
|
|
HOST=0.0.0.0
|
|
PORT=7770
|
|
# 3 parallel slots x 262144 ctx each = 786432 total context pool.
|
|
CTX_SIZE=786432
|
|
PARALLEL=3
|
|
SPEC_TYPE=draft-dflash
|
|
SPEC_N_MAX=7
|
|
CACHE_TYPE_K=q8_0
|
|
CACHE_TYPE_V=f16
|
|
# All 40 layers keep their MoE expert weights on CPU (targeted expert offload).
|
|
N_CPU_MOE=40
|
|
# Every non-expert tensor (attention, norms, embedding, LM head) goes to GPU.
|
|
N_GPU_LAYERS=all
|
|
THREADS=8
|
|
THREADS_HTTP=8 |