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

branch main Branches Tags History

omega-mv / spec / max-interop / gqa-causal-v1.contract

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