interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

Decode attention head_dim 256 + output gate + partial RoPE (Qwen3.8-27B)

Closed · #544 · open 2026-10-18 11:49 UTC · closed 2026-11-06 23:57 UTC (reason not_planned)

Imported from GitHub aien-dev/omega-mv#544, by drakestapleton

Labels: enhancement, retired

drakestapleton wrote on 2026-10-18 11:49 UTC

Decode attention for the 27B's 16 full-attention layers: 24 q heads / 4 kv heads, head_dim 256 (today's omega_gpu_decode_attn is fixed at head_dim 128, 32q/4kv). Plus around it:

  • q_proj output is per head [q(256) | gate(256)]; output multiplied by sigmoid(gate) before o_proj
  • q_norm / k_norm zero-centred RMSNorm over head_dim (fold 1 + w at load)
  • partial RoPE: only the first 64 of 256 dims, rotate-half within them, theta 1e7
  • KV cache 16 layers x 4 kv x 256, bf16, up to 131072 positions (64 KiB per token, 8 GiB at 128k)

Part of the Qwen3.8-27B swap (tracking issue in aien-sovereign-core-mv; plan ~/handoffs/2026-10-18-qwen38-27b-on-omega.md). Golden: the host reference crates/aien-inference-abi/src/qwen38.rs (sc branch feat/qwen38-27b; perplexity 1.091 / next-token accuracy 0.988 on 256 tokens of the Apache LICENSE). Chip-proven = parity vs a double oracle on the GB10 plus a negative control, receipt under evidence/.

drakestapleton wrote on 2026-10-18 13:06 UTC

Chip PASS at 8bb4494e: PR #550 (stacked on #549). Evidence evidence/QWEN38-DATTN256-8bb4494e-20261018/: main 30/30, max-pos 131072 4/4, no-evict 30/30, depth 1 30/30, per-split 1024 29/29; mutants 1-5 caught. Context 32768: 2.10 ms per layer, 63.8 GB/s of K+V (273 GB/s nominal); context 131072: 8.69 ms, 61.8 GB/s. Kernel 897 insns / 108 regs / 14896 B shared. Prefill (#545) not started.

drakestapleton wrote on 2026-11-06 23:57 UTC

35B retired (Drake 2026-11-06): Omega LLM only. Decode attention head_dim 256 with output gate and partial RoPE was for Qwen3.8-27B. If the Omega LLM adopts head_dim 256 the kernel technique can be reused; the lead tracks that in P-DRA-7. — issuecov/I1 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

Sign in to comment