localairecipes launch configs for local inference

GLM-5.3-Flash FP4-Local Hyperflare TP3 3x RTX PRO 6000 Blackwell

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by AzallazA (BoxTops4Coochie) - recipe, Hyperflare GLM TP3/DCP3 fork, measurements↗, NVIDIA - Hyperflare runtime (ex-Flare) + GLM-5.3-Flash-FP4-Local checkpoint↗, Z.ai - GLM-5.3-Flash base model (MIT)↗, Local Inference Lab - FlashInfer b12x + llm-inference-bench↗ · listed by localai-recipes

revision r3 · commit db25619ef6 · updated 5 h ago · license CC-BY-4.0

chat code vision 1m-ctx speculative community-recipe decode-context-parallel hyperflare mtp-drafts images long-context tensor-parallel vision

AzallazA (BoxTops4Coochie) serves NVIDIA's FP4-Local GLM-5.3-Flash checkpoint on 3x RTX PRO 6000 Blackwell with NVIDIA Hyperflare (ex-Flare) at TP3/DCP3 - the fork's own three-rank port of upstream's glm53 recipe, with decode context parallelism, 704-column expert padding and a world-3 pull-gather FlashInfer overlay: 14.93M served KV tokens (14.2x 1M ctx), 32 slots, 4 images at once, full 1,048,576-token context and image input. Decode 290/879/1,828 tok/s at c1/c8/c32 (32K), prefill 11,701 tok/s, 128K c1 287. An upstream-geometry TP2/DCP2 variant on 2 of the same cards (8 slots, 3.11M KV, 245/519/750 tok/s, alpha 1.0) is described below. Quality: GPQA Diamond 89.4%, image questions 60/60 + 51/60 (20261112 campaign, same weights); 20261116 qual eval-43 43/43 TP3 / 42/43 TP2, long retrieval 128K/900K pass. MTP 5 drafts, adaptive verification alpha 0.8, interactive scheduler (50 ms TTFT guard).

Launch command

'FLARE=${FLARE:-flare-cli/target/release/flare}' 'PACKAGE=${PACKAGE:-glm53-fp4-local@gb202-tp3-202611170053}' '# serve-glm-tp3.sh (verbatim core @ 739410da; TP2: --gpus 0,1 + package gb202-tp2-202611170201 + ALPHA empty):' 'exec /usr/bin/env FLARE_CUDA_STACK_LIMIT="${STACK_LIMIT:-256}" "$FLARE" run "$PACKAGE" --gpus "${GPUS:-0,1,2}" --port "${PORT:-15015}" \' '--host "${HOST:-127.0.0.1}" --served-model-name GLM-5.3-Flash --prefix-cache-memory "${PREFIX_CACHE:-32G}" --mtp-draft-tokens "${DRAFTS:-5}" \' '--scheduler-policy "${SCHEDULER:-interactive}" --mtp-adaptive-verification-alpha "${ALPHA:-0.8}" \' '--scheduler-ttft-order "${TTFT_ORDER:-shortest}"'

runtime

env: 'serve-glm-tp3.sh @ 739410da: FLARE=${FLARE:-flare-cli/target/release/flare} | PACKAGE=${PACKAGE:-glm53-fp4-local} (both TP2/TP3 exports share this model name - serve each by version: PACKAGE=glm53-fp4-local@gb202-tp3-202611170053) | GPUS=0,1,2 | PORT=15015 | HOST=127.0.0.1 | PREFIX_CACHE=32G | DRAFTS=5 (package refuses --mtp-draft-tokens 0: exported --mtp-only) | ALPHA=0.8 (empty ALPHA= = upstream default 1.0; 0.8 = the TP3 c32 sweep winner) | SCHEDULER=interactive (= balanced + a 50 ms first-token target; SCHEDULER=balanced for pure batch) | TTFT_ORDER=shortest (NEW 20261116, from the DeepSeek release; oldest = the 20261112 behaviour) | STACK_LIMIT=256 (NEW 20261116; FLARE_CUDA_STACK_LIMIT via /usr/bin/env on the exec line; empty = driver default; load refuses below the largest kernel stack) | BUDGET= (unset; --mtp-max-verification-token-budget only when set). TP2 variant: serve-glm-tp2.sh, GPUS=0,1, package gb202-tp2-202611170201, ALPHA empty (= 1.0, which beat 0.8 at TP2 by 1-2% - 20261112 A/B), 8 slots, 2 image slots.'
notes: "Serves an EXPORTED Hyperflare package (weights laid out per GPU, kernels autotuned, CUDA graphs captured) - tied to hardware AND clocks; export at the power limit and memory offset you serve with (author box: 450 W/GPU, +75 MHz core, +6000 MHz mem offset, ECC off, persistence on, Threadripper PRO 7965WX, 256 GB DDR5-6000, driver 615.71.09, CUDA 13.1). KV counts (release-binary boots with FLARE_CUDA_STACK_LIMIT=256, the serve-script default): 15,025,152 dry run @ 97,281 MiB free/GPU -> 14,929,920 served (TP2 3,177,472 -> 3,113,472; without the stack limit 14,834,688 / 3,049,984). NEW 20261116: export-time VRAM reclaim switches (FLARE_GLM53_TRIAL_POOL=separate, SLAB_SEGMENT=1 TP3, ONESHOT_FIT=1 TP2) change kept allocations, not graph math: +1,000,704 KV TP3 / +531,968 TP2 vs same-binary exports without them; decode/prefill level. TTFT guard order shortest (short requests not held behind long prefills: 21 short pings answered vs 5 with oldest, 28 long prompts loading); CUDA stack limit 256 B (largest GLM kernel stack 32 B TP3 / 48 B TP2). Thinking always on (enable_thinking:false ignored); temperature/top_p clamped 0.95-1.0 (defaults 1.0/0.95); reasoning_effort low|high select effort, anything else = max. Not bit-identical run-to-run (draft widths from live timings); first token of a fresh prompt repeats across restarts (24/24). DCP3 adds one BF16 rounding before the 3-way merge (as in 20261112). Startup 30 s TP3 / 29 s TP2; ready line 'Start server. http://127.0.0.1:15015'. TP3 holds ~4.8x the KV of TP2 (14.93M vs 3.11M); TP2 leaves the 3rd GPU free (upstream's own rank count)."

Use this recipe with your agent

Paste this into any agent chat — it fetches and applies the recipe:

Fetch https://localairecipes.com/api/v1/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.

Or fetch it directly:

curl -fsSL https://localairecipes.com/api/v1/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell.json

Engine

Install note: NVIDIA renamed Flare to Hyperflare (same binary/CLI: flare run, ~/.cache/flare). Base = upstream main @ 70069281cb3ace4365b86f4bfbbcb409da89434b; fork tag hyperflare-glm-20261116 = b8fc175e (= the folder's source.patch, git diff 70069281..tag, 393 files/184 new; does NOT descend from hyperflare-glm-20261112 - that tag stays live for rollback). No prebuilt image - EXPORT.md build-your-own: clone the fork at the tag, uv sync --locked --extra prepare --extra test, cargo build --locked --release, apply tp3-patches/*.patch to the venv's FlashInfer b12x @ aa6c4221586f7607c2bca64abbcdc0699845cf3b (0.7.3) + separate .b12x-overlay copy (world-3 pull gather), download the checkpoint, export with export-glm-tp3.sh (35 min warm; RECLAIM=1 default: export-time VRAM reclaim switches; package is hardware- and clock-specific: export at the power/clocks you serve with). Needs CUDA 13.1, Rust 1.97, uv 0.11, memlock unlimited, ~550 GB disk.

Model

Context

  • max context: 1M tokens

KV pool

  • 14,929,920 tokens across concurrent requests

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
32,7681—290.3 tok/s—reported
32,7688—878.8 tok/s—reported
32,76832—1827.6 tok/s—reported
32,769—11701 tok/s——reported
43,0091—245.4 tok/s—reported
43,0094—519.2 tok/s—reported
43,0098—750.2 tok/s—reported
131,0721—287.3 tok/s—reported
141,313—12275 tok/s——reported

prefill = prompt processing · decode = generation. All decode/prefill figures are shown as reported.

reported

notesAuthor-measured (folder 'GLM-5.3-Flash Hyperflare-tp3-20261116' @ 739410da, llm-inference-bench v0.9.1 + steps patch, ignore-EOS decode, one 30 s pass per cell) at 450 W/GPU, +75 MHz core +6000 MHz mem offset. Headline tok_s = TP3/DCP3 32K c1. Decode rows = release-binary boot check (serve-script settings); TP2 c4 from the export-chain binary (only binary that measured c4); 128K c1 from the tier-'export' qualification. Author: decode is LEVEL with 20261112 (single passes vary a few % with draft acceptance) - not a speed-up. Not re-measured on this build, rows dropped from the table (20261112 values remain in revision r1 history): TP3 c4/c16, 128K c4-c32, TP3 and TP2 prefill 128K.

Downloads

Revision notes

Ingested by localai-recipes from AzallazA/RTX-PRO-6000-TP3-Inference-Recipes folder 'GLM-5.3-Flash Hyperflare-tp3-20261112' @ 0ddd5137 (folder identical pin->HEAD at write time 2026-11-15, repo HEAD then ccc1bc52 = Kraken .12.2 + README table split; repo renamed BoxTops4Coochie->AzallazA same id, old URLs redirect). All measured numbers transcribed verbatim from the folder's README.md/versions.txt @ pin (llm-inference-bench v0.9.1 campaign). First Hyperflare-engine GLM recipe on the site and first use of the nvidia/GLM-5.3-Flash-FP4-Local checkpoint; TP3/DCP3 is the fork's own port (upstream serves TP1/TP2/TP4 for GLM). Quant row reuses the site's existing 'nvfp4' slug per the FP4-Local family convention (checkpoint hf_quant_config: quant_method modelopt, MXFP4 routed + MXFP8 dense). TP2/DCP2 lane rides the same x3 profile and fork tag; its points carry marker context_len offsets (+10240/+20480) because they share (ctx,conc) tuples with TP3 rows.

Revision 2026-11-19 (card t_a1d8b16f, owner GO): re-pinned to folder 'GLM-5.3-Flash Hyperflare-tp3-20261116' @ 739410da - engine fork tag hyperflare-glm-20261116 = b8fc175e on upstream 70069281 (not descended from hyperflare-glm-20261112; rollback lane intact); weights unchanged @ 76348ddb. New upstream base + export-time VRAM reclaim switches + serve-script TTFT order shortest + FLARE_CUDA_STACK_LIMIT=256; kv_pool_tokens 13130496->14929920 (TP2 3113472). Performance REPLACED with the 20261116 battery (9 rows, release-binary unless noted): rows not re-measured on this build (TP3 c4/c16, 128K c4-c32, prefill 128K, TP2 prefill 128K) dropped - prior values remain in r1 history. Qualification (tier "export", 2026-11-17): eval-43 43/43 TP3 / 42/43 TP2, long retrieval 128K/900K pass, TP2 KV stress 16/16 at 8 streams; TP3 KV stress at 32 streams NOT RUN; first-token probes 24/24 + repeat 12/12 both TPs; consistency top-1 agree 0.953 TP3 / 0.958 TP2 (INFO); temperature/top-p clamp 0.95-1.0.

ENGINE revision 2026-12-04 (t_60fcae10 owner-GO 2026-12-04 option-b, target v0.5.2): Upstream NVIDIA/hyperflare-inference releases: v0.5.0 0a8c20f (11-30) / v0.5.1 1fbcc3c (12-01) / v0.5.2 cc0a49d (2026-12-02) / v0.5.3 / v0.6.0. No 0.5-line GLM re-tag (latest hyperflare-glm-20261116 b8fc175e; not an ancestor of v0.5.2; pr/glm53-cp-candidate-gather predates v0.5.0). Re-pin plan: rebase GLM fork line onto v0.5.2 cc0a49d (2026-12-02) + owner re-tag + re-export, then re-bench before pin move. Stability (flagged, not gating, per ruling): v0.5.0 DS41 islands crashed 3x/2d Xid 13/69/32 (LIL Discord 12-01/02); #628 offload CE-gate fix only from v0.5.1 1fbcc3c; upstream hyperflare-recipes hit 2 regressions in-window (9ac5e2d). Perf held pending per-slug re-bench on the new engine (ruling); published rows keep their current basis.

Revision history

Fork

Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.

Export

recipe.yaml (raw)