M3: HyperFormer level 1 runtime (GyRoPE, real-part attention, SAIL) #4
Labels
No labels
NaNs
area/android
area/backup
area/build
area/docs
area/dsh
area/forgejo
area/gguf
area/host
area/kernel
area/runtime
area/security
bootcamp
needs-operator
note
priority/later
priority/next
priority/now
type/bug
type/experiment
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ml-lab/llama.cpp#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run HyperFormer level 1 in the fork after RAT (#3) proves the arch plumbing.
Scope (
devops/runtime.md):axis_paramsat load, rotor(cos(theta*t), sin(theta*t)*u), identity at t=0), real-channel attention with a KV cache (the Python model has none), SAIL =w3(cd_mul(w1(x), w2(x))), HyperRMSNorm via stock rms_norm withweight/sqrt(2)and eps 5e-7.models/tardits/hyper11m.gguf(converted in #2 fromhyper_11m_h8_lr5e4_dofix), goldenstardits2gguf/goldens/hyper11m.{npz,json}.[0, 52, 72, 69, 0, 83, 84, 79].Levels 2-4 are a separate milestone (needs the
cd_mulop).M3 is done (
0b47c9e60): HyperFormer runs in llama.cpp.tardits-hyper(attention) next totardits(recurrent RAT); the arch string is the memory-layout contract. Hybrid was tried first and rejected for uniform files (unused sub-input crash), see #5.out_projinto one real2C x 2Cmatrix (+ bias) thatbuild_attnapplies; standard GGUF hparam keys are prefixed per arch string.ggml_cos/ggml_sin+ repeats, q/k/v planes flattened to{2hs,H,T}, attention throughbuild_attnwithn_embd_head_k/v_full = 2*hsand a KV cache, plane-major output split, SAIL/norm shared with RAT.1.907e-06, 44-token prefill1.907e-06(andn_ubatch=16), greedy-8[0, 52, 72, 69, 0, 83, 84, 79]identical,llama-completiongenerates "The quick brown fox a season and th". RAT re-verified unchanged (3.8e-6 / 3.3e-6).check_parity.shruns all four checks, 4/4 PASS.Next: levels 2-4 (
cd_mul) in #6, then Android.