frank-default-small: lower context by 32k per stream for cache headroom
3 slots x 229376 (262144 - 32768) = 688128 total context. Updates the .env, models.json (contextWindow/maxTokens 229376 per slot), and the index/deployment/ornith runbook references.
This commit is contained in:
1 parent
4462aa992c
commit
7ba1acdbc5
4 files changed
+8
-7
No files matched your search
@@ -77,7 +77,7 @@ llama-server \
|
|||||||
--chat-template-file chat-template.jinja \
|
--chat-template-file chat-template.jinja \
|
||||||
--spec-type draft-mtp \
|
--spec-type draft-mtp \
|
||||||
--override-tensor "\.ffn_(up|down|gate|gate_up)_(ch|)exps=CPU" \
|
--override-tensor "\.ffn_(up|down|gate|gate_up)_(ch|)exps=CPU" \
|
||||||
-ngl all -c 786432 -np 3 \
|
-ngl all -c 688128 -np 3 \
|
||||||
--cache-type-k f16 --cache-type-v f16 --no-mmap \
|
--cache-type-k f16 --cache-type-v f16 --no-mmap \
|
||||||
--temp 1.0 --top-p 0.95 --top-k 20
|
--temp 1.0 --top-p 0.95 --top-k 20
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -128,7 +128,8 @@ binary with the MoE expert weights pinned to CPU by an explicit
|
|||||||
`--override-tensor` regex (the expert `\.ffn_(up|down|gate|gate_up)_(ch|)exps`
|
`--override-tensor` regex (the expert `\.ffn_(up|down|gate|gate_up)_(ch|)exps`
|
||||||
pattern, buffer type `CPU`) and 7 CPU threads, native `draft-mtp`
|
pattern, buffer type `CPU`) and 7 CPU threads, native `draft-mtp`
|
||||||
speculative decoding (bundled MoE MTP head, n_max 4), f16 KV, context
|
speculative decoding (bundled MoE MTP head, n_max 4), f16 KV, context
|
||||||
786432 (3 slots of ~262K each), batch 4096 / ubatch 2048, `--no-mmap`. The
|
688128 (3 slots of ~229K each, 32k headroom per stream), batch 4096 /
|
||||||
|
ubatch 2048, `--no-mmap`. The
|
||||||
unit is `scripts/frank-default-small.service`. It launches through
|
unit is `scripts/frank-default-small.service`. It launches through
|
||||||
`scripts/serve-frank-small.sh`, which reads tunables from
|
`scripts/serve-frank-small.sh`, which reads tunables from
|
||||||
`scripts/frank-default-small.env`. See [[dealign-ornith-crack]].
|
`scripts/frank-default-small.env`. See [[dealign-ornith-crack]].
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ graph LR
|
|||||||
B[upstream llama.cpp b10121
|
B[upstream llama.cpp b10121
|
||||||
frank-default-small, port 7770]
|
frank-default-small, port 7770]
|
||||||
C[Ornith-1.5-35B-A3B-CRACK Q8_0
|
C[Ornith-1.5-35B-A3B-CRACK Q8_0
|
||||||
native MTP, MoE experts offloaded via override, 786432 ctx]
|
native MTP, MoE experts offloaded via override, 688128 ctx]
|
||||||
A --> B --> C
|
A --> B --> C
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ ALIAS=frank-default-small
|
|||||||
BIND_ADDR=0.0.0.0
|
BIND_ADDR=0.0.0.0
|
||||||
LISTEN_PORT=7770
|
LISTEN_PORT=7770
|
||||||
|
|
||||||
# 3 parallel slots x 262144 total context pool (max per-slot), unchanged
|
# 3 parallel slots x 229376 ctx each (262144 lowered by 32k per stream for
|
||||||
# from the prior Qwen3.6 service. Lower PARALLEL if VRAM is tight with the
|
# cache headroom) = 688128 total context pool. The per-slot 229376 matches
|
||||||
# larger Q8_0 payload.
|
# the per-slot context advertised in models.json (229376).
|
||||||
CTX_SIZE=786432
|
CTX_SIZE=688128
|
||||||
PARALLEL=3
|
PARALLEL=3
|
||||||
|
|
||||||
# Spec: MoE model with a bundled MTP head -> native draft-mtp, n_max 4
|
# Spec: MoE model with a bundled MTP head -> native draft-mtp, n_max 4
|
||||||
|
|||||||
Reference in new issue
Block a user