frank-default-large: swap to caf-eemin Qwen3.8-27B ROCmI4 embedded-MTP
Replace the retired kingjones ROCmFP4 STRIX MTP payload on Dankclaw with cafonz/Qwen3.8-27B-ROCmI4-MTP-GGUF (eemin namespace, public), served by the charlie12345/ROCmFPX llama.cpp build (ROCmI4 W4A4, c49ebdbd) on the Strix Halo iGPU. Q4_0_ROCMI4 with an embedded NextN/MTP head (no separate draft file); strict-Qwen MTP n16/p0.60/backend sampling on ROCm0. Binary /home/dank/rocmi4-qwen38/ROCmFPX/build-rocmi4-w4a4/bin/llama-server; model dir /home/dank/models/eemin-Qwen3.8-27B-ROCMI4-MTP. Updated serve script + env, ubatch bench, large-config bats test, docs, AGENTS.md.
This commit is contained in:
@@ -1,75 +1,79 @@
|
||||
# Tunables for frank-default-large (CIRU llama.cpp, dankclaw, Strix Halo
|
||||
# gfx1151).
|
||||
# Tunables for frank-default-large (charlie12345/ROCmFPX, dankclaw, Strix Halo
|
||||
# gfx1151, ROCmI4 embedded MTP).
|
||||
#
|
||||
# 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 kingjones777/Qwen3.8-27B-Uncensored-ROCmFP4 (dense, Q6 AGENT
|
||||
# GGUF) with the standalone MTP Q4_0 draft head. Alias frank-default-large,
|
||||
# port 7770.
|
||||
# Runtime: charlie12345/ROCmFPX commit c49ebdbd built with
|
||||
# -DGGML_HIP_ROCMI4_W4A4=ON against the system ROCm (/opt/rocm-7.2.4, amdclang
|
||||
# 22). Serves caf-eemin/Qwen3.8-27B-ROCmI4-MTP-GGUF (Q4_0_ROCMI4, embedded
|
||||
# MTP, no separate draft head). Alias frank-default-large, port 7770.
|
||||
#
|
||||
# This model replaced jcbtc/Qwen3.8-27B-CIRU-ActiveFPX-PromptForge (v3) on
|
||||
# 2026-08-24. The new model is a plain ROCmFP4 GGUF (no PromptForge .pfs
|
||||
# sidecars, no Output-K8 proxy); the requested file is Q6_.
|
||||
# This model replaced kingjones777/Qwen3.8-27B-Uncensored-ROCmFP4-STRIX-MTP on
|
||||
# 2026-08-25. The old kingjones ROCmFP4 GGUF + standalone MTP Q4_0 draft are
|
||||
# retired on this slot.
|
||||
|
||||
# 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.
|
||||
|
||||
# CIRU llama-server binary (ROCmFPX v2.3 + v3 output-K8 patch build, 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.
|
||||
LLAMA_BIN=/home/dank/ciru-qwen38/ROCmFPX/build-promptforge/bin/llama-server
|
||||
# charlie12345/ROCmFPX build with the ROCmI4 W4A4 path.
|
||||
LLAMA_BIN=/home/dank/rocmi4-qwen38/ROCmFPX/build-rocmi4-w4a4/bin/llama-server
|
||||
|
||||
# Model files. Plain dense Qwen3.8-27B ROCmFP4 Q6 AGENT GGUF plus the standalone
|
||||
# MTP draft head and the vision projector. Kingjones 2026-08-24.
|
||||
MODEL_DIR=/home/dank/models/kingjones-Qwen3.8-27B-STRIX-MTP
|
||||
MODEL_FILE=Qwen3.8-27B-Uncensored-Q6_0_ROCMFPX_AGENT.gguf
|
||||
MTP_DRAFT_FILE=mtp-Qwen3.8-27B-Q4_0.gguf
|
||||
MMPROJ_FILE=mmproj-Qwen3.8-27B-Q8_0.gguf
|
||||
# Model files: embedded-MTP ROCmI4 GGUF + optional BF16 vision projector.
|
||||
MODEL_DIR=/home/dank/models/eemin-Qwen3.8-27B-ROCMI4-MTP
|
||||
MODEL_FILE=Qwen3.8-27B-Q4_0_ROCMI4.gguf
|
||||
MMPROJ_FILE=mmproj-BF16.gguf
|
||||
# No separate MTP draft head: the MTP/NextN head is embedded in the main GGUF,
|
||||
# so no --model-draft is passed. Kept for scripts that reference the var.
|
||||
MTP_DRAFT_FILE=
|
||||
|
||||
# Qwen-Sharp chat template (tracked in the repo, staged on the host).
|
||||
# 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
|
||||
# enable_thinking + preserve_thinking on by default in the Sharp template;
|
||||
# medium effort default. preserve_thinking keeps <think> blocks in recorded
|
||||
# assistant messages (set to false to strip them, true to always keep them).
|
||||
CHAT_TEMPLATE_KWARGS='{"enable_thinking":true,"preserve_thinking":true}'
|
||||
|
||||
# ROCm 7.15 SDK paths (inside the retired ling3-ciru venv).
|
||||
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
|
||||
|
||||
# Alias + network.
|
||||
ALIAS=frank-default-large
|
||||
BIND_ADDR=0.0.0.0
|
||||
LISTEN_PORT=7770
|
||||
|
||||
# Serving: 196608 (192K) context, 1 slot. f16 KV, context checkpoints,
|
||||
# prompt cache, draft-mtp with standalone Q4_0 head, n_max 4 (the knee for
|
||||
# the dense model). Unified memory; rocm-smi reports the 64 GiB budget.
|
||||
CTX_SIZE=196608
|
||||
# Serving: full 262144 context, 1 slot. f16 KV, context checkpoints, prompt
|
||||
# cache, strict-MTP embedded draft on ROCm0. Unified memory; rocm-smi reports
|
||||
# the 64 GiB budget. Concurrent requests queue; the server never preempts a
|
||||
# running generation.
|
||||
CTX_SIZE=262144
|
||||
PARALLEL=1
|
||||
BATCH_SIZE=8192
|
||||
UBATCH_SIZE=8192
|
||||
# Batch/ubatch follow the qualified ROCmI4 W4A4 profile (see the bench in
|
||||
# scripts/bench-ubatch-rocmi4.sh for the ubatch sweep on 8k contexts).
|
||||
BATCH_SIZE=512
|
||||
UBATCH_SIZE=256
|
||||
NUM_THREADS=16
|
||||
THREAD_BATCH=32
|
||||
CACHE_TYPE_K=f16
|
||||
CACHE_TYPE_V=f16
|
||||
CTX_CHECKPOINTS=32
|
||||
CTX_CHECKPOINTS=16
|
||||
CACHE_RAM=8192
|
||||
|
||||
# Dense-model MTP draft (standalone Q4_0 head, n_max 4). No PromptForge .pfs
|
||||
# sidecars are loaded; the LLAMA_CPU_ARGMAX fast path stays off.
|
||||
SPEC_DRAFT_N_MAX=4
|
||||
SPEC_DRAFT_N_MIN=0
|
||||
SPEC_DRAFT_P_MIN=0.0
|
||||
SPEC_DRAFT_P_SPLIT=0.10
|
||||
# Embedded-MTP (qwen35 NextN) qualified profile. The head is in the main GGUF,
|
||||
# so the draft runs with all layers on ROCm0 (no --model-draft).
|
||||
MTP_N_MAX=16
|
||||
MTP_N_MIN=0
|
||||
MTP_P_MIN=0.60
|
||||
SPEC_MTP_STRICT_QWEN=on
|
||||
MTP_BACKEND_SAMPLING=on
|
||||
SPEC_DRAFT_NGL=all
|
||||
|
||||
# Sampling (kingjones model card / Sharp default).
|
||||
# Sampling (Sharp default).
|
||||
TEMPERATURE=1.0
|
||||
TOP_K=20
|
||||
TOP_P=0.95
|
||||
|
||||
# Thinking on (Qwen-Sharp template drives thinking on; reasoning format
|
||||
# projects the tar into reasoning_content).
|
||||
# Thinking on (Sharp template drives it; reasoning format projects the tar into
|
||||
# reasoning_content).
|
||||
REASONING=on
|
||||
REASONING_FORMAT=deepseek
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user