rollback frank-default-large to v3 CIRU ActiveFPX PromptForge (operator decision 2026-08-22)
Restores the script pair verbatim from 132e147. v3 settings: PromptForge
m2048_fused_tail1476 full-W8 views, Output-K8 draft proxy, BF16 mmproj
vision, TEMPERATURE 0.7 / TOP_P 0.95, batch 4096/4096, ctxcp 16, reasoning
on/deepseek, no-mmap. Runtime: build-promptforge llama-server + v3 model
files in /home/dank/models/CIRU-Qwen3.8-27B-ActiveFPX-v3. Kairic Edge
files remain on the machine for rollback (docs/kairic-edge.md).
This commit is contained in:
1 parent
ddcd54e13f
commit
c60156f3c6
2 files changed
+110
-200
No files matched your search
@@ -1,39 +1,40 @@
|
||||
# Tunables for frank-default-large (Kairic Edge llama.cpp, dankclaw,
|
||||
# Strix Halo gfx1151).
|
||||
# Tunables for frank-default-large (CIRU llama.cpp, dankclaw, Strix Halo
|
||||
# gfx1151).
|
||||
#
|
||||
# Runtime: the llama-server built from the pinned ciru-ai/ROCmFPX tag
|
||||
# kairic-edge-qwen38-27b-v1 (Kairic Edge IU4 lane: PromptForge + Dual
|
||||
# View + native RDNA 3.5 IU4 matrix compute), built against the private
|
||||
# TheRock ROCm 7.15 SDK kept in the retired ling3-ciru venv.
|
||||
# Model: jcbtc/Qwen3.8-27B-IU4-Kairic-Edge, four-artifact payload
|
||||
# (GGUF + FFN/GDN/GDN-Output .pfs sidecars, 26.05 GiB total). Alias
|
||||
# frank-default-large, port 52625. See docs/kairic-edge.md.
|
||||
# Runtime: the PromptForge llama-server built from ciru-ai/ROCmFPX tag
|
||||
# qwen3.8-activefpx-promptforge-v2.3 plus the v3 output-K8 runtime patch
|
||||
# serving jcbtc/Qwen3.8-27B-CIRU-ActiveFPX-PromptForge (v3). v3 tensor
|
||||
# allocation (FFN-equalized, late-Q6 writers, full-Q8 output) with the
|
||||
# full-W8 PromptForge companions, the Output-K8 draft proxy, and the BF16
|
||||
# vision projector. Alias frank-default-large, port 52625.
|
||||
#
|
||||
# This runtime replaced the retired v3 CIRU ActiveFPX PromptForge
|
||||
# service. The v3 model files remain in
|
||||
# /home/dank/models/CIRU-Qwen3.8-27B-ActiveFPX-v3/ and the v3 binary in
|
||||
# /home/dank/ciru-qwen38/ROCmFPX/build-promptforge/ for rollback.
|
||||
# This runtime replaced the retired vLLM service that previously occupied
|
||||
# this slot. See docs/ciru-activefpx-promptforge.md.
|
||||
#
|
||||
# WARNING: do not name any variable TEMP, HOST, or GPU_MAX_HEAP_SIZE. The
|
||||
# ROCm HIP runtime reads those bare env vars (2026-08-13 TEMP incident).
|
||||
# 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.
|
||||
|
||||
# Kairic Edge llama-server binary (pinned tag build; see
|
||||
# docs/kairic-edge.md for the build runbook and binary identity).
|
||||
LLAMA_BIN=/home/dank/ciru-qwen38/ROCmFPX-kairic/build-kairic/bin/llama-server
|
||||
# CIRU llama-server binary (ROCmFPX v2.3 + v3 output-K8 patch build, see
|
||||
# docs/ciru runtime page). Built against the private TheRock ROCm 7.15 SDK
|
||||
# kept in the retired ling3-ciru venv. ROCm 7.15 is required for the
|
||||
# advertised Strix Halo performance; the system ROCm 7.2.4 selects
|
||||
# slower/fallback kernels.
|
||||
LLAMA_BIN=/home/dank/ciru-qwen38/ROCmFPX/build-promptforge/bin/llama-server
|
||||
|
||||
# Model files (Kairic Edge four-artifact payload). The sidecars are
|
||||
# accelerator-specific prepacked copies of selected weights; they are
|
||||
# required, not optional.
|
||||
MODEL_DIR=/home/dank/models/Kairic-Qwen3.8-27B-IU4-Edge
|
||||
MODEL_FILE=Qwen3.8-27B-IU4-Kairic-Edge.gguf
|
||||
FFN_PFS=Qwen3.8-27B-Kairic-IU4-FFN.pfs
|
||||
GDN_PFS=Qwen3.8-27B-Kairic-IU4-GDN.pfs
|
||||
GDN_OUTPUT_PFS=Qwen3.8-27B-Kairic-IU4-GDN-Output.pfs
|
||||
# Model files (v3). The five-file payload (GGUF + FFN/GDN .pfs + Output-K8
|
||||
# proxy + BF16 vision projector) is the full v3 configuration. The v3 files
|
||||
# live in a separate directory so the v2 artifacts stay for rollback.
|
||||
MODEL_DIR=/home/dank/models/CIRU-Qwen3.8-27B-ActiveFPX-v3
|
||||
MODEL_FILE=Qwen3.8-27B-CIRU-ActiveFPX-PromptForge-v3-Q8-FFNEQ-LateQ6.gguf
|
||||
FFN_PFS=Qwen3.8-27B-CIRU-ActiveFPX-PromptForge-FFN.pfs
|
||||
GDN_PFS=Qwen3.8-27B-CIRU-ActiveFPX-PromptForge-GDN.pfs
|
||||
OUTPUT_K8_PFS=Qwen3.8-27B-CIRU-ActiveFPX-PromptForge-Output-K8.pfs
|
||||
MMPROJ_FILE=Qwen3.8-27B-mmproj-BF16.mmproj
|
||||
|
||||
# ROCm 7.15 SDK paths (inside the retired ling3-ciru venv). The serve
|
||||
# script exports ROCM_PATH and LD_LIBRARY_PATH from these so the 7.15
|
||||
# libraries precede any system ROCm 7.2.4.
|
||||
# ROCm 7.15 SDK paths (inside the retired ling3-ciru venv). The serve script
|
||||
# exports ROCM_PATH and LD_LIBRARY_PATH from these so the 7.15 libraries
|
||||
# precede any system ROCm 7.2.4.
|
||||
ROCM_DEVEL=/home/dank/ling3-ciru/Ling-3.0-Flash-CIRU-int4-Strix-native/.venv/lib/python3.12/site-packages/_rocm_sdk_devel
|
||||
ROCM_LIB=/home/dank/ling3-ciru/Ling-3.0-Flash-CIRU-int4-Strix-native/.venv/lib/python3.12/site-packages/_rocm_sdk_libraries
|
||||
ROCM_CORE=/home/dank/ling3-ciru/Ling-3.0-Flash-CIRU-int4-Strix-native/.venv/lib/python3.12/site-packages/_rocm_sdk_core
|
||||
@@ -42,54 +43,38 @@ ALIAS=frank-default-large
|
||||
BIND_ADDR=0.0.0.0
|
||||
LISTEN_PORT=52625
|
||||
|
||||
# Serving: the qualified Kairic profile (pinned runner defaults). Full
|
||||
# native 262144 context, 1 slot, batch 2048 / ubatch 512, 16 target /
|
||||
# 32 batch threads, f16 target and draft KV, 32 context checkpoints,
|
||||
# 8192 MiB prompt cache with idle-slot persistence. Context checkpoints
|
||||
# are required for this hybrid recurrent model; do not remove CTX_CHECKPOINTS
|
||||
# while the prompt cache is enabled.
|
||||
# Serving: full native 262144 context (n_ctx_train), 1 slot (user request
|
||||
# 2026-08-19: parallel slots degraded performance). -c is the TOTAL
|
||||
# context; with PARALLEL=1 it equals the per-slot context. Concurrent
|
||||
# requests queue on the single slot; the server never preempts a running
|
||||
# generation. f16 KV, context checkpoints, prompt cache, native MTP
|
||||
# depth-4. The Strix Halo is unified memory; rocm-smi reports the 64 GiB
|
||||
# budget. KV at 262144 x 64 KiB/cell is ~16 GiB.
|
||||
CTX_SIZE=262144
|
||||
PARALLEL=1
|
||||
# Batch profile: the pinned runner's qualified sizes (2048/512). Benchmarks
|
||||
# on 2026-08-22: ubatch 512 gives the fastest prefill at every depth
|
||||
# (524/485/323 t/s at 8k/16k/64k vs 266/258/203 for ubatch 4096) with no
|
||||
# decode difference. Do not raise ubatch without re-benching prefill.
|
||||
BATCH_SIZE=2048
|
||||
UBATCH_SIZE=512
|
||||
TARGET_THREADS=16
|
||||
BATCH_THREADS=32
|
||||
BATCH_SIZE=4096
|
||||
UBATCH_SIZE=4096
|
||||
CACHE_TYPE_K=f16
|
||||
CACHE_TYPE_V=f16
|
||||
CTX_CHECKPOINTS=32
|
||||
CTX_CHECKPOINTS=16
|
||||
CACHE_RAM=8192
|
||||
|
||||
# Native MTP draft (depth 4, p_min 0, backend sampling) — the pinned
|
||||
# runner's explicit MTP4.
|
||||
# Native MTP draft (depth-4, p_min 0, backend sampling). The qualified v3
|
||||
# profile drives the draft via the Output-K8 proxy; the CPU argmax fast
|
||||
# path and IU4/ngram lanes are disabled in the serve script.
|
||||
SPEC_DRAFT_N_MAX=4
|
||||
SPEC_DRAFT_N_MIN=0
|
||||
SPEC_DRAFT_P_MIN=0.0
|
||||
SPEC_DRAFT_P_SPLIT=0.10
|
||||
|
||||
# Sampling: the pinned runner keeps the deterministic evaluation
|
||||
# profile (temp 0 / top-p 1 / top-k 0 / min-p 0) as the server default.
|
||||
# Clients override per request; the model card recommends Qwen live
|
||||
# values for ordinary chat (temp 0.7, top-p 0.8, top-k 20, min-p 0,
|
||||
# presence_penalty 1.5).
|
||||
#
|
||||
# Reasoning: the qualified profile runs reasoning off, but production
|
||||
# chat runs --reasoning on --reasoning-format deepseek (thinking goes to
|
||||
# message.reasoning_content, matching the retired v3 service) with
|
||||
# --reasoning-budget -1 (unrestricted) and chat_template_kwargs
|
||||
# preserve_thinking=true (preserve thinking tokens across turns).
|
||||
#
|
||||
# FASTGREEDY mode: set to 1 for fast-greedy benchmark (card's default profile)
|
||||
# FASTGREEDY=0: production chat config (reasoning on, argmax off)
|
||||
# FASTGREEDY=1: reasoning off, deterministic sampler, argmax fastpath off
|
||||
# (compatible mode). Mirrors the card's 'compatible mode' profile — the
|
||||
# same as production minus reasoning. Non-greedy requests work fine.
|
||||
# 2026-08-22: flipped to 1 for real (operator decision).
|
||||
FASTGREEDY=1
|
||||
# Sampling (model card defaults).
|
||||
TEMPERATURE=0.7
|
||||
TOP_P=0.95
|
||||
|
||||
# For fast-greedy bench: set FASTGREEDY=1 above. This flips to: reasoning off,
|
||||
# argmax fastpath=1, sampling defaults. Deploy with
|
||||
# FASTGREEDY=1 ./deploy.sh dankclaw to test the fast-greedy profile.
|
||||
# Thinking enabled (user request, 2026-08-18). deepseek format moves the
|
||||
# <think> reasoning into message.reasoning_content (OpenAI-compatible);
|
||||
# none would leave the thought tags unparsed in content.
|
||||
REASONING=on
|
||||
REASONING_FORMAT=deepseek
|
||||
|
||||
VERBOSITY=4
|
||||
Reference in new issue
Block a user