diff --git a/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell/recipe.yaml b/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell/recipe.yaml index 98666d103..2ff2fa214 100644 --- a/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell/recipe.yaml +++ b/recipes/glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell/recipe.yaml @@ -2,12 +2,12 @@ slug: glm-5-3-flash-fp4-local-hyperflare-tp3-3x-rtx-pro-6000-blackwell title: 'GLM-5.3-Flash FP4-Local Hyperflare TP3 3x RTX PRO 6000 Blackwell' engine: name: flare - version: 'hyperflare-glm-20261112 (ac9136b0)' + version: 'hyperflare-glm-20261116 (b8fc175e)' source_type: fork git_url: 'https://github.com/AzallazA/spark-local-inference' - pinned_commit: 0d515dc818136263b190a5d57d9f85fd4c99941b - install_note: "NVIDIA renamed Flare to Hyperflare (same binary/CLI: flare run, ~/.cache/flare; NVIDIA/hyperflare-inference). Base = upstream main @ cbf21a12d118217b8ad4e6bfa565562a90addeec; this fork tag = one squashed release commit ac9136b02c7c523f12d6e628e9d94f41006312ea on top (= git diff cbf21a12..ac9136b0, shipped as the folder's source.patch, 316 files/138 new). No prebuilt image - EXPORT.md build-your-own: clone the fork at tag hyperflare-glm-20261112, uv sync --locked --extra prepare --extra test, cargo build --locked --release (binary flare-cli/target/release/flare), apply tp3-patches/*.patch to the venv's FlashInfer b12x @ 85ea6e766aa8434f89e587267d044dd852b9a312 (re-apply after every uv sync), build the separate .b12x-overlay copy (world-3 pull gather), download the checkpoint, export with export-glm-tp3.sh (~25 min, tuning-cache warm; 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." -summary: "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: 13.13M served KV tokens (12.5x 1M ctx), 32 slots, 4 images at once, full 1,048,576-token context and image input. Decode 279/630/866/1,290/1,790 tok/s at c1/c4/c8/c16/c32 (32K), prefill 11,763 tok/s, 128K c1 276. An upstream-geometry TP2/DCP2 variant on 2 of the same cards (8 slots, 2.23M KV, 248/512/727 tok/s, alpha 1.0) is described below. Quality at TP3: GPQA Diamond 89.4%, eval-43 42/43, tool calls 60/60, 0 corruptions; image questions 60/60 + 51/60. MTP 5 drafts, adaptive verification alpha 0.8, interactive scheduler (50 ms TTFT guard)." + pinned_commit: b8fc175ef1e27289a892e3bca0bc95e89eab4846 + 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." +summary: "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)." license: CC-BY-4.0 model: name: GLM-5.3-Flash @@ -44,106 +44,69 @@ storage_requirements: layouts: - tp max_context_len: 1048576 -kv_pool_tokens: 13130496 +kv_pool_tokens: 14929920 config: runtime: - env: 'serve-glm-tp3.sh @ 0ddd5137: 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-202611130000) | 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 was the TP3 c32 sweep winner) | SCHEDULER=interactive (= balanced + a 50 ms first-token target; SCHEDULER=balanced for pure batch) | BUDGET= (unset; --mtp-max-verification-token-budget only when set). TP2 variant: serve-glm-tp2.sh, GPUS=0,1, package gb202-tp2-202611130307, ALPHA empty (= 1.0, which beat 0.8 at TP2 by 1-2%: 253/504/710 vs 247/496/702 tok/s at c1/c4/c8), 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: 13,393,152 dry run @ 97,281 MiB free/GPU -> 13,130,496 served (TP2 2,414,592 -> 2,231,808); text-only exports +2.6% (TP3) / +7.2% (TP2) KV, no images. 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 (short-ctx top-1 0.955 vs 0.974, level at 1.5K ctx). Startup 35 s; ready line 'Start server. http://127.0.0.1:15015'. TP3 is faster at every concurrency and holds 5.9x the KV of TP2; TP2 leaves the 3rd GPU free (upstream's own rank count)." + 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)." launch: - 'FLARE=${FLARE:-flare-cli/target/release/flare}' - - 'PACKAGE=${PACKAGE:-glm53-fp4-local@gb202-tp3-202611130000}' - - '# serve-glm-tp3.sh (verbatim core @ 0ddd5137; TP2: --gpus 0,1 + package gb202-tp2-202611130307 + ALPHA empty):' - - 'exec "$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}"' + - '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}"' performance: claimed_by: submitter metrics: - tok_s: 279 + tok_s: 290.3 context_len: 32768 - notes: 'Author-measured (BoxTops4Coochie/AzallazA tables, llm-inference-bench v0.9.1, ignore-EOS decode cells 60 s each, mean of repeated runs) at 450 W/GPU, +75 MHz core +6000 MHz mem offset. Headline tok_s = TP3/DCP3 32K c1. TP2/DCP2 row: 248 tok/s c1 32K (same conditions, 2 of the 3 GPUs).' + notes: "Author-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." points: - context_len: 32768 concurrency: 1 - decode_tok_s: 279 - notes: 'TP3/DCP3 decode 32K c1. Mean of repeated llm_decode_bench runs (bench v0.9.1), served balanced scheduler (decodes same as interactive).' - - - context_len: 32768 - concurrency: 4 - decode_tok_s: 630 - notes: 'TP3/DCP3 decode 32K c4, same campaign.' + decode_tok_s: 290.3 + notes: 'TP3/DCP3 decode 32K c1 (release-binary boot check; serve-script settings: interactive + TTFT order shortest + stack limit 256).' - context_len: 32768 concurrency: 8 - decode_tok_s: 866 - notes: 'TP3/DCP3 decode 32K c8.' - - - context_len: 32768 - concurrency: 16 - decode_tok_s: 1290 - notes: 'TP3/DCP3 decode 32K c16.' + decode_tok_s: 878.8 + notes: 'TP3/DCP3 decode 32K c8 (release binary).' - context_len: 32768 concurrency: 32 - decode_tok_s: 1790 - notes: 'TP3/DCP3 decode 32K c32 (full slots; KV stress pass 64/64 at c32).' + decode_tok_s: 1827.6 + notes: 'TP3/DCP3 decode 32K c32 (release binary).' - context_len: 131072 concurrency: 1 - decode_tok_s: 276 - notes: 'TP3/DCP3 decode 128K c1 - only 1-3% loss 32K->128K at either TP.' - - - context_len: 131072 - concurrency: 4 - decode_tok_s: 615 - notes: 'TP3/DCP3 decode 128K c4.' - - - context_len: 131072 - concurrency: 8 - decode_tok_s: 851 - notes: 'TP3/DCP3 decode 128K c8.' - - - context_len: 131072 - concurrency: 16 - decode_tok_s: 1256 - notes: 'TP3/DCP3 decode 128K c16.' - - - context_len: 131072 - concurrency: 32 - decode_tok_s: 1745 - notes: 'TP3/DCP3 decode 128K c32.' + decode_tok_s: 287.3 + notes: "TP3/DCP3 decode 128K c1 (tier-'export' qualification pass 2026-11-17, binary 1bdcce73)." - context_len: 32769 - prefill_tok_s: 11763 - notes: 'TP3/DCP3 prefill 32K (concurrency omitted: prefill row).' - - - context_len: 131073 - prefill_tok_s: 11721 - notes: 'TP3/DCP3 prefill 128K.' + prefill_tok_s: 11701 + notes: 'TP3/DCP3 prefill 32K (concurrency omitted: prefill row; release binary).' - context_len: 43009 concurrency: 1 - decode_tok_s: 248 - notes: 'TP2/DCP2 marker ctx (43009 = 32769+10240) - decode 32K c1 on 2 GPUs (upstream TP2 geometry, 8 slots, alpha 1.0).' + decode_tok_s: 245.4 + notes: 'TP2/DCP2 marker ctx (43009 = 32769+10240) - decode 32K c1 on 2 GPUs (release binary).' - context_len: 43009 concurrency: 4 - decode_tok_s: 512 - notes: 'TP2/DCP2 marker ctx 43009 - decode 32K c4.' + decode_tok_s: 519.2 + notes: 'TP2/DCP2 marker ctx 43009 - decode 32K c4 (export-chain binary 67c691d2; c4 not measured on the release binary).' - context_len: 43009 concurrency: 8 - decode_tok_s: 727 - notes: 'TP2/DCP2 marker ctx 43009 - decode 32K c8.' + decode_tok_s: 750.2 + notes: 'TP2/DCP2 marker ctx 43009 - decode 32K c8 (release binary).' - context_len: 141313 - prefill_tok_s: 11980 - notes: 'TP2/DCP2 marker ctx (141313 = 131073+10240) - prefill 32K.' - - - context_len: 151553 - prefill_tok_s: 11956 - notes: 'TP2/DCP2 marker ctx (151553 = 131073+20480) - prefill 128K.' + prefill_tok_s: 12275 + notes: 'TP2/DCP2 marker ctx (141313 = 131073+10240) - prefill 32K (release binary).' artifacts: - kind: model_weights @@ -154,17 +117,17 @@ artifacts: kind: reference pointer_type: git_commit pointer: 'https://github.com/AzallazA/RTX-PRO-6000-TP3-Inference-Recipes' - pin: "folder 'GLM-5.3-Flash Hyperflare-tp3-20261112' @ 0ddd5137f99add932bac672843e79ffd9d043446 (folder-freeze 2026-11-13T09:42:31-05:00; repo HEAD at ingest 2026-11-15 ccc1bc52 = .12.2 Kraken update only, folder diff empty pin->HEAD)" + pin: "folder 'GLM-5.3-Flash Hyperflare-tp3-20261116' @ 739410da9bc35e9574831a2ec9e6a9781a2255e3 (folder byte-identical through repo HEAD 855e02ba, verified 2026-11-19; qualification results committed 2026-11-17)" - kind: reference pointer_type: git_commit pointer: 'https://github.com/AzallazA/spark-local-inference' - pin: "Hyperflare fork tag hyperflare-glm-20261112 @ ac9136b02c7c523f12d6e628e9d94f41006312ea on upstream NVIDIA/hyperflare-inference main @ cbf21a12d118217b8ad4e6bfa565562a90addeec (= the folder's source.patch); tag object 0d515dc8" + pin: "Hyperflare fork tag hyperflare-glm-20261116 @ b8fc175ef1e27289a892e3bca0bc95e89eab4846 on upstream NVIDIA/hyperflare-inference main @ 70069281cb3ace4365b86f4bfbbcb409da89434b (= the folder's source.patch, 393 files/184 new); tag object dc4422158fa0492b2df5554d5817440bb5213a10; NOT descended from hyperflare-glm-20261112 (tag ac9136b02c7c523f12d6e628e9d94f41006312ea stays live for rollback)" - kind: reference pointer_type: git_commit pointer: 'https://github.com/local-inference-lab/flashinfer' - pin: 'FlashInfer b12x @ 85ea6e766aa8434f89e587267d044dd852b9a312 + tp3-patches/*.patch (venv) + tp3-patches/overlay/ world-3 pull-gather overlay (separate .b12x-overlay copy)' + pin: 'FlashInfer b12x @ aa6c4221586f7607c2bca64abbcdc0699845cf3b (0.7.3) + tp3-patches/*.patch (venv) + tp3-patches/overlay/ world-3 pull-gather overlay (separate .b12x-overlay copy)' - kind: reference pointer_type: url @@ -189,4 +152,7 @@ provenance: - 'https://github.com/AzallazA/spark-local-inference' - 'https://huggingface.co/nvidia/GLM-5.3-Flash-FP4-Local' - 'https://github.com/NVIDIA/hyperflare-inference' - 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." + 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. \ No newline at end of file