frank-default-large now serves the kingjones Qwen3.8-27B-ROCmFPX-Q8_0-AGENT
model with a standalone MTP draft head (Q4_0), f16 K + TurboQuant V KV cache,
and the Sharp chat template. Context is maxed to 262144 (one slot); reasoning
is on with preserve_thinking + preserve_reasoning in the chat kwargs.
- frank-default-large.env: Q8_0 AGENT model paths, CTX_SIZE=262144, REASONING=on,
REASONING_FORMAT=none, CHAT_TEMPLATE_KWARGS {enable_thinking, preserve_thinking,
preserve_reasoning}
- serve-frank-large.sh: standalone draft-mtp profile (already switched off the
Kairic/PromptForge path)
- download-q8agent.sh: reproducible HF fetch of the three payload files
- docs/LLM/kingjones-q8agent-rocmfpx.md: Q8_0 AGENT runbook
- AGENTS.md: topology + ACTIVE runtime section + TTM/GTT load note
- qwen3.8-strix-optimizations, Dankclaw Improvements: TTM pages_limit now 114 GiB
(applied 2026-08-25), full 262k KV + Q8 payload fit in one slot
- frank_large_config.bats: assert 262144 context, reasoning + preserve_* enabled
The TTM/GTT was raised to 114 GiB (29,883,536 pages) to hold the full 262k KV.
73 lines
2.6 KiB
Bash
73 lines
2.6 KiB
Bash
# Tunables for frank-default-large (kingjones Qwen3.8-27B ROCmFPX Q8 AGENT,
|
|
# dankclaw, Strix Halo gfx1151).
|
|
#
|
|
# Runtime: ROCmFPX llama.cpp with TurboQuant support. Serves the kingjones
|
|
# AGENT GGUF plus its standalone MTP draft and vision projector. Alias
|
|
# frank-default-large, port 7770.
|
|
|
|
# WARNING: do not name any variable TEMP, HOST, or GPU_MAX_HEAP_SIZE. The ROCm
|
|
# HIP runtime reads those bare env vars (see the 2026-08-13 TEMP incident).
|
|
# llama.cpp reads --host/--port/--temp as CLI flags, never as env vars.
|
|
|
|
# ROCmFPX build with TurboQuant KV-cache support.
|
|
LLAMA_BIN=/home/dank/ciru-qwen38/ROCmFPX/build-kairic/bin/llama-server
|
|
|
|
# Model files from https://huggingface.co/kingjones777/Qwen3.8-27B-ROCmFPX-Q8_0-AGENT-GGUF.
|
|
MODEL_DIR=/home/dank/models/kingjones-Qwen3.8-27B-ROCMFPX-Q8_0-AGENT
|
|
MODEL_FILE=Qwen3.8-27B-Q8_0_ROCMFPX_AGENT.gguf
|
|
MTP_DRAFT_FILE=$MODEL_DIR/mtp-Qwen3.8-27B-Q4_0.gguf
|
|
MMPROJ_FILE=mmproj-Qwen3.8-27B-BF16.gguf
|
|
|
|
# Qwen-Sharp chat template (tracked in the repo, staged on the host). The Sharp
|
|
# template drives thinking on by default (medium effort) and produces the
|
|
# peg-native + deepseek chat/reasoning shape the Pi agent expects.
|
|
CHAT_TEMPLATE_FILE=/home/dank/serverAppConfigs/scripts/chat-template.jinja
|
|
CHAT_TEMPLATE_KWARGS='{"enable_thinking":true,"preserve_thinking":true,"preserve_reasoning":true}'
|
|
|
|
# Alias + network.
|
|
ALIAS=frank-default-large
|
|
BIND_ADDR=0.0.0.0
|
|
LISTEN_PORT=7770
|
|
|
|
# Serving: 262144 context (the model's maximum), 1 slot. f16 KV, context
|
|
# checkpoints, prompt cache, standalone MTP draft on ROCm0. The full 262144
|
|
# context KV cache plus the ~28-30 GB Q8 model + MTP draft + mmproj fit in the
|
|
# lifted 114 GiB TTM/GTT budget on the Strix Halo (see the GTT 114 GiB change).
|
|
# Concurrent requests queue; the server never preempts a running generation.
|
|
CTX_SIZE=262144
|
|
PARALLEL=1
|
|
# Batch/ubatch follow the existing qualified Dankclaw profile.
|
|
BATCH_SIZE=512
|
|
UBATCH_SIZE=512
|
|
NUM_THREADS=16
|
|
THREAD_BATCH=32
|
|
CACHE_TYPE_K=f16
|
|
CACHE_TYPE_V=turbo4
|
|
CTX_CHECKPOINTS=32
|
|
CACHE_RAM=8192
|
|
|
|
# Standalone MTP draft head, loaded from MTP_DRAFT_FILE by the serve script.
|
|
MTP_N_MAX=4
|
|
MTP_N_MIN=0
|
|
MTP_P_MIN=0.0
|
|
MTP_P_SPLIT=0.10
|
|
|
|
# Sampling (Sharp default).
|
|
TEMPERATURE=0.7
|
|
TOP_K=20
|
|
TOP_P=0.8
|
|
MIN_P=0.0
|
|
PRESENCE_PENALTY=1.5
|
|
|
|
# Reasoning on (Sharp template drives it; preserve_thinking + preserve_reasoning
|
|
# keep the reasoning trail in the conversation). reasoning-format none lets the
|
|
# template project the reasoning content into reasoning_content.
|
|
REASONING=on
|
|
REASONING_FORMAT=none
|
|
|
|
# Strix Halo unified memory + native gfx1151 detection for this ROCmFPX build.
|
|
HSA_OVERRIDE_GFX_VERSION=11.5.1
|
|
GGML_HIP_ENABLE_UNIFIED_MEMORY=1
|
|
|
|
VERBOSITY=4
|