Commit Graph
34 Commits
Author SHA1 Message Date
Robert KarlandClaude Fable 5.1 6c644bb7d9 docs: the five-arch fat binary builds on VM 221; sm_120 needs a newer CUDA toolkit
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 18:54:16 -07:00
Robert KarlandClaude Fable 5.1 9542ec8ded docs: step 4 integration notes; the runner notes carry the 1080 Ti pass, round 8 and REGINA-104's resolution
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 18:46:43 -07:00
Robert KarlandClaude Fable 5.1 d6800c2a45 docs: step 4 runner notes - the gate lift, the verify and runner tests, both files' numbers
What the engine now does with a Qwen3.6 pack, the hunks (file:line) in the
shared generate.cpp and verify.cpp, the three tests and their tolerances, and
the results: the window and runner tests pass on the 4090; IQ3_XXS and Q4_K_XL
teacher-force to llama.cpp at 61-64/64 top-1 with no rising drift; the step-3
parity suite is 100% of 33 after the gate lift.  The 1080 Ti pass and the Q4
11 GB fit are the remaining items, blocked on the card's lock; the chat template
finding is REGINA-104.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-12 18:30:29 -07:00
Robert KarlandClaude Fable 5.1 bd0071bbb6 Qwen3.6 step 4 drafter notes: the agreement numbers, the pack row by row, the block on the plain graph, both cards' runs, what the runner consumes
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 14:36:13 -07:00
Robert KarlandClaude Fable 5.1 02ff47e3d4 Qwen3.6 step 3 integration notes: the review fixes landed, both cards re-verified
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 14:05:04 -07:00
Robert KarlandClaude Fable 5.1 1db825277f Qwen3.6 step 4 pack notes: the layout row by row, the forms each site demands, both cards' loads, what the brief had differently
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:55:23 -07:00
Robert KarlandClaude Fable 5.1 c24f97bc5d step3-attn notes: the Pascal A/B after the sparse grid was restored (the drafter's case)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:50:45 -07:00
Robert KarlandClaude Fable 5.1 c77631ebba Qwen3.6 step 3: the split-K bound applies to dense shapes only; a sparse shape keeps one block per 64 cells at any capacity
The MTP drafter's ring runs qsa_decode_attn_batch at its --mtp-window (32,768 by default: 512 blocks), so the 128-block cap had moved Flash-Next's drafter onto the online-rescale kernel with another summation order and a smaller scratch. qsa_decode_attn_chunks(cap, s) and the scratch take the shape: sparse keeps ceil(cap / 64) blocks and the old formula, dense is bounded at 128; below sm_75 every sparse shape runs the single-chunk kernel, so Flash-Next's path is the previous kernel, grid and scratch bit for bit at every capacity. The test holds sparse 32,768 -> 512 blocks and the old scratch; the notes state the drafter's case.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:50:45 -07:00
Robert KarlandClaude Fable 5.1 c6fa016f2f Qwen3.6 step 3 integration notes: the order, both cards' tallies, the review and its fixes, what feeds step 4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:28:04 -07:00
Robert KarlandClaude Fable 5.1 77983af4a4 native_expert_parity: the GPU bound is the tolerance policy's 2e-2; the CPU and CPU-vs-GPU rows get their own
GPU against the float reference: 2e-2 (oracle-crosscheck.md: the Q8 oracle's ffn_moe_out max 5.3e-3 with the 4x
margin; Qwen3.6's five pairs measure 9.7e-3 to 1.3e-2), 3e-2 only for a pair with a Q5_0 role (q4_K/q5_0 measures
2.7e-2 at 2560 x 640, the pair the CMake note already describes).  CPU against the reference stays at 3e-2: ggml-cpu
rounds the activations to Q8_K, one scale per 256 values against the GPU's q8_1 per 32 (measured up to 2.2e-2).
CPU against GPU, printed but never gated before, gets 4e-2 (both roundings, measured up to 2.4e-2).  Each line prints
its bound.  RTX 4090: 15 of 15 ctests, both real files at layers 0 / 34 / 39, q4_K/q5_0 and q5_0/q8_0 pass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:22:50 -07:00
Robert KarlandClaude Fable 5.1 7d6e2745ab Qwen3.6 step 3 notes (prefill): the 1080 Ti pass - all green, MMQ is the prompt-MoE path on sm_61
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:12:49 -07:00
Robert KarlandClaude Fable 5.1 19886e52af Prefill GDN gate: the decode kernels' GdnGate from ModelGeometry::gdn_gate(), required, no default
GdnGeom::gate is kernels::GdnGate (the GDN branch's enum, cherry-picked with
its geometry accessor); Geom::of reads g.gdn_gate(), so the prompt path and
the decode path pick the gate from the same place.  4090: gdn_rec_parity,
gdn_parity and both harness cases pass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:12:49 -07:00
Robert KarlandClaude Fable 5.1 92fa19835c Qwen3.6 step 3 experts notes: the 1080 Ti pass (20 of 20, both real files, the down kernel per expert per type)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:09:40 -07:00
Robert KarlandClaude Fable 5.1 f031593910 Qwen3.6 step 3 notes (prefill): the 1080 Ti pass staged, not run (the lock)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:03:25 -07:00
Robert KarlandClaude Fable 5.1 1a433d21e5 Qwen3.6 step 3 notes: the prompt path - the literal sites, the harness, the 4090's numbers
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:03:25 -07:00
Robert KarlandClaude Fable 5.1 973303cfb5 Qwen3.6 step 3: the single-chunk pre75 kernel kept for capacities under 8,192 cells, and the step3-attn notes
On sm_61 the looped kernel costs 16-28 registers over PR #540's body (80-92 at G 12 against 63-64) and 13-17% on the Q4_0 pool at short widths; a register cap spilled and cost every format more. So a capacity under kMaxChunks x 64 runs attn_chunk_kernel_pre75_single, the old body with G and the null-ids identity: every Flash-Next state (cap 2,051) is the old kernel to the instruction (interleaved A/B on the 1080 Ti: 42.0 vs 41.0-41.7 us fp16, 38.9 vs 38.9 INT8, 40.8 vs 41.0 Q4_0), and the looped form runs only for the dense model's long-context states, where it is ahead (419 vs 493 us at 32,768). The notes carry the layout, the harness, the tolerances and both cards' numbers.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 12:54:17 -07:00
Robert KarlandClaude Fable 5.1 ef333f990a Qwen3.6 step 3 experts notes: decisions, the interface, the harness, the 4090 numbers, the 1080 Ti run still owed
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 12:27:10 -07:00
Robert KarlandClaude Fable 5.1 40f3cb96e2 Qwen3.6 step 3 gdn notes: the gate, the harnesses, the BF16 router measured at zero, both cards' numbers
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 12:18:08 -07:00
Robert KarlandClaude Fable 5.1 4a76684a12 Qwen3.6 step 3 notes: the plain block - decisions, the harness, both cards' numbers, the hunks
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 11:54:24 -07:00
Robert KarlandClaude Fable 5.1 b8c0b08eee Qwen3.6 step 2 notes: the gate reached on both files, the --vram-cap runs, the planner against table 4.3
pascal-build.md section 4 quotes the gate as it stands after 30e3add (the geometry, the plan, the missing
gate-up/down kernel pairs per layer, the qwen35moe_not_yet message; exit 2 in 0.36 s) for the IQ3_XXS and the
Q4_K_XL files, and the --vram-cap lines at 5722 / 7629 / 8192 / 10490 / 12288 after 2b4fcf1 (free = cap - 164
MiB within 1 MiB).  Section 3 answers what expert_multi_test's AVX-512 kernel is for and how the RAM tier is read
in the native-pack path (the CPU lane computes from it on AVX-2 / ggml-cpu, the staging path copies from it).
step2-notes.md section 5 gains the planner's figures at those caps beside the study's table 4.3, the table of the
review's fixes with their commits, the Flash-Next real-file result (the reader reads the Mac's MTP Q2 file; the
guard refuses it with block_count 49), and the rsync excludes the VM tree needs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 11:49:16 -07:00
Robert KarlandClaude Fable 5.1 fa3a819405 Qwen3.6 step 2: the Pascal build on VM 211 (pascal-build.md), the notes' section 5
The sm_61 build needed no guard: configure 4 s, the engine 173 s, every other target 43 s more, 0 errors,
cuobjdump shows sm_61 only; `make build CUDA_ARCHS=61` works end to end in 181 s.  ctest on the 1080 Ti: 69
pass, 4 fail (one Pascal-specific: kv_hybrid_parity's [5/5], the cc < 70 refusal of qsa_prompt_attn_batch
counted as a failure), 2 skip.  The gate is not reached: both real files are refused by the native expert
kernels' down-type whitelist (IQ3_XXS, Q5_K, Q6_K down projections have no grouped kernel) before the VRAM plan
and the qwen35moe_not_yet message.  The Q4_K_XL expert total corrected to 19,635,634,176 B.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 11:16:22 -07:00
Robert KarlandClaude Fable 5.1 eb593179bb Qwen3.6 step 2 notes: decisions, the gate, the pack census, the commands
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 09:59:18 -07:00
Robert KarlandClaude Sonnet 5.5 44b0619169 Qwen3.6 port: cross-check doc gains the GQA case, the ggml dequant check and the real-file tolerance policy
Measured on the real UD-IQ3_XXS file, 12 tokens, expert choices and layer inputs forced from llama.cpp: the F32 oracle is
1.4e-2..4e-2 off per layer on quantized-weight seams, the Q8-activation oracle 7e-7..5e-3; dequantization is bit-identical to ggml.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 09:30:30 -07:00
Robert KarlandClaude Sonnet 5.5 0c850c35c9 Qwen3.6 port: oracle cross-check against llama.cpp's own graph, recorded
docs/qwen36-port/oracle-crosscheck.md: 9 trunk cases and 5 nextn cases (one batch, 40 tokens one at a time, chunks of 7,
fused gate_up, fused qkv, a stray expert_weights_scale key, a --like-real fixture) match every cb()-named tensor of the
pinned llama.cpp graph, worst absolute error 1.1e-4; llama-eval-callback's printed stats agree on 209 named nodes;
seven rival readings (SiLU vs sigmoid gate, head pairing, decay order, conv direction, attention gate, top-k
renormalisation, rope pairing) each fail at the layer that makes them. The formulas are pinned to file:line.
qwen36_crosscheck.sh reruns all of it; the eval-callback checker tolerates the tool's truncated log tail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 09:09:52 -07:00
Robert KarlandClaude Sonnet 5.5 96305391f8 Qwen3.6 port: synthetic qwen35moe GGUF generator, real-file metadata dump, load.py knows the IQ types
tools/qwen36_synth_gguf.py writes a tiny F32 qwen35moe GGUF with the real tensor names and shape rules
(4 layers, one full-attention layer at index 3, 8 experts top-2, a nextn block), --like-real to take
rope/eps/interval/ratios and verify the tensor-name set against a real file, and options for the fused
gate_up / attn_qkv forms llama.cpp also accepts. docs/qwen36-port/gguf-metadata.md records every key and
tensor of the UD-IQ3_XXS file and the MTP build. ref/load.py gains the IQ2_S/IQ3_XXS/IQ3_S/... geometry the
real file uses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 09:02:00 -07:00
Robert KarlandClaude Fable 5.1 d579aa8376 Plan: Phase 0 measurements and the replay result in Section 0
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:56:33 -07:00
Robert KarlandClaude Fable 5.1 86343572e6 Port notes: the geometry inventory; the plumbing gap is Maya-scale even though the kernel gap is smaller
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:47:44 -07:00
Robert KarlandClaude Fable 5.1 38d4bebe20 Plan: tooling restored
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:43:29 -07:00
Robert KarlandClaude Fable 5.1 70f0c55dfa Port notes: upstream tooling survey; the oracle must be written new, tools and tests restored from the import commit
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:42:34 -07:00
Robert KarlandClaude Fable 5.1 7e5497233a Plan: VM 211 address and toolchain; a rented RunPod card as the development machine
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:17:51 -07:00
Robert KarlandClaude Fable 5.1 4da4981535 Plan: the 1080 Ti is the only card; VM 211 created; Pascal build first
The A6000 and the 4090 are in use by other agents, so VM 211 (a clone of 210 with the
1080 Ti, 8 vCPU, 12 GiB) is both the measurement and the development machine, and the
sm_61 experimental build is the working build from the first step. Host state checked:
18 GiB available before VM 211, link Gen3 x8.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:13:34 -07:00
Robert KarlandClaude Fable 5.1 00e09274a2 Plan: Qwen3.6-35B-A3B on one NVIDIA card from Pascal up, by porting the engine
The study and execution plan for running Qwen3.6-35B-A3B natively on this tree's Strata
snapshot (6f32ec0), on any single card of compute capability 6.1 or newer with 6 to 32 GB,
self-sized across VRAM, RAM and disk. llama.cpp is the baseline and the oracle only; Project
Maya is the method reference. Primary rung: the .57 host's GTX 1080 Ti with a 12 GiB VM.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 08:07:06 -07:00
Robert KarlandClaude Fable 5.1 8894a81288 Remove installer, Python, non-target platforms, benchmarks and marketing
Removed: the Python installer and launchers (setup.py, *.bat, *.sh), the
Python server and web app (serve/), the Python tools (tools/), the Intel
SYCL port (sycl/), Docker files, benchmark results (bench/), the test suite
(tests/, which upstream's own published source also leaves out),
translations, and all docs except DETAILS.md and the paper, kept under
docs/upstream/ as reference.

The engine (src/, include/, CMakeLists.txt) is untouched.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 12:56:12 -07:00
Robert KarlandClaude Fable 5.1 12a7825605 Import Strata at 6f32ec0 (upstream snapshot, unmodified)
Source: https://github.com/Niko1221/Strata, commit 6f32ec070f23ced9f50e704d854d775da52591ab
(engine 0.1.39, MIT). Every file is as upstream published it; later commits
show exactly what this fork changes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 12:55:44 -07:00