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
omega-mv / spec / max-interop / gqa-causal-v1.contract
| 1 | omega-op-contract/1 |
| 2 | op=gqa-causal-attention |
| 3 | abi=1 |
| 4 | dtype_q=f32 |
| 5 | dtype_k=f32 |
| 6 | dtype_v=f32 |
| 7 | dtype_out=f32 |
| 8 | layout_q=token-head-dim |
| 9 | layout_k=token-head-dim |
| 10 | layout_v=token-head-dim |
| 11 | layout_out=token-head-dim |
| 12 | head_dim=128 |
| 13 | q_heads_min=1 |
| 14 | q_heads_max=64 |
| 15 | kv_heads_min=1 |
| 16 | kv_heads_max=64 |
| 17 | head_map=h_q/(q_heads/kv_heads) |
| 18 | scale=1/sqrt(128) |
| 19 | mask=causal-inclusive |
| 20 | softmax=fp32-max-subtracted |
| 21 | kv_stride=token-major |
| 22 | zero_length=zero-output |
| 23 | alias=forbid |
| 24 | nan=forbid |
| 25 | inf=forbid |
| 26 | tolerance_normal=rel<=2e-4,abs<=2e-5 |
| 27 | tolerance_large_scores=rel<=1e-3,abs<=1e-4 |
| 28 | reference=fp64-softmax-fp64-weighted-sum |