Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/d045300030afb7d5 # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [TILELAB T1] Native .om tile algebra, locality contracts and streaming softmax proof fixtures Open · #906 · open 2026-10-27 23:26 UTC Imported from GitHub aien-dev/omega-mv#906, by drakestapleton drakestapleton wrote on 2026-10-27 23:26 UTC Parent: https://github.com/aien-dev/aien-architecture-mv/issues/347 . 2026-10-27 scope clarification: independently implement generic tiling/streaming mathematical ideas in native seeded `.om`. No TileLang dependency, code, language features, runtime or external benchmark. Existing PRs #850 KernelFlow, #869 tile GEMM/softmax, #885 C1 GPU and the frozen OM-2 language profile remain authoritative. ## Deliverable A real seeded `.om` program/fixture and validation path covering: - GEMM 16×16×16 with BF16 or f16 inputs and f32 accumulation (as currently supported). Explicit M/N/K, stride, layout, dtype, alignment and scratch/shared/register budgets. No invented OM-2 keyword without a reviewed, versioned extension. - Stable row softmax of 32 elements and a composable streaming `(m,s,p)` reduction summary for values `v`. Derive the associative merge algebra in real arithmetic; Wolfram must check `p/s` equality against direct normalized weighted exponential on independent exact fixtures. Fix a GPU reduction order and a precision-specific numerical tolerance; exact real associativity does not imply bitwise float associativity. - Native byte/shape/resource refusals and negative controls for wrong tile transposition, incorrect accumulator/reduction order, corrupted IR, stale compiler/checker, invalid stride, buffer capacity and wrong program generation. - AArch64 host compilation/execution from exact seed and compiler pin, independent Wolfram oracle (external test oracle only), reproducible output bytes, fixture manifest, return codes and immutable evidence. ## Mathematical guide (not a GPU result) `tile_bytes = 2*M*K*ceil(N/BN)+2*N*K*ceil(M/BM)+4*M*N` for a BF16/BF16/F32 GEMM without inter-CTA cache reuse. For 1024^3: 64x64 -> 68 MiB; 64x128 -> 52 MiB. Provide resource and kernel execution feasibility before claiming benefit. Actual GPU memory reads can differ due to caching. ## Acceptance Fresh checkout `seed/omega-from-seed.sh` and dedicated host gate PASS, test mutations fail for intended reason; compiler and checker identities pinned; a machine-readable reviewed report. Chip work is owned by CUDApp #153 . Do not present host emulation as GB10 qualification, or claim 1.0 completed. No new permanent foreign implementation. Preserve existing signed-gate/operator rules. drakestapleton wrote on 2026-10-28 00:06 UTC T0 integration decision needed before implementation: the requested “BF16/f16 (choose what existing C1 supports)” does not yet match the linked C1 contract. - At #885 head `d8275bb9`, GPU.md §§4, 9–10 admits bool/u32/f32 kernels and uses wire v8; v7 belongs to the memory profile. #869’s f16 HMMA specimens are hand-authored `.s2`; its tile-word proposal explicitly remains unimplemented. - Harness #82 already tracks the source distinction: a seeded `.om` generator can emit GPU kernel text for the transitional frontend; this is not seed `omc` directly compiling GPU kernel syntax. Please coordinate the T4 recipe with that issue as well as Harness #70. - #883 already proposes low-precision/MMA support under the gated E3 work. Its historical “v6 frozen / v7 extension” naming needs reconciliation with current C1 v8 before reuse. Please have the existing C1/KernelFlow owners freeze the v0 dtype and exact authored-source → frontend → IR/checker chain here first. If an extension is necessary, reconcile it with #883 and its gates rather than silently enabling tile syntax or creating a parallel frontend. This is a source review only; no device tests were run. drakestapleton wrote on 2026-11-07 06:10 UTC FYI from the Pearl lane (Linear P-DRA-16): omega-mv#1065 asks for an integer (s8 x s8 -> s32) variant of the tile word defined here. It is meant to extend this contract, not define a second one. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6467750120` Repair coordination: I own independently reproduced TL907-01 only in seed/tilelab planner parsing and its host refusal fixtures: reject decimal overflow and malformed REGS instead of treating failure as budget. CUDApp TL154/ENC155 repair is coordinated on CUDApp#153. Prepared external fixes remain reported by the operator; current comments/handoffs did not expose a patch. Please link for reuse. No GPU execution or frozen evidence changes. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:17 UTC Recovered GitHub comment. Original comment `6507800322` TL907-01 is fixed on branch `fix/tilelab-overflow-regs` at `700024c51374170468d4482d83c3c71beba773db` (not on main; draft #916 is CONFLICTING and superseded by that branch). Not a close of #906: T1 acceptance is wider than this parser bug. Defect: `argdec` wrapped, so dimension `18446744073709551617` became 1 and was planned; a non-decimal REGS value shared the max-ulong bit pattern and was used as an unlimited budget (audit pick changed from rt2/ct4 to rt4/ct4). Fix: overflow is refused before the unsigned multiply or add (`v > (2^64-1 - digit) / 10`, checked for digits 0..9). Parse failure is a separate flag, so a real max-ulong budget stays valid. Malformed, empty and over-capacity REGS returns usage 3. Overflowing dimensions still return 2 (above 16384). Evidence (HOST_TESTED): `taskset -c 10-14 nice -n 19 ionice -c3 sh seed/tilelab/gate.sh` on omc `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b` printed `PASS tilelab 24 cases, 3/3 softmax mutants fail for the intended reason, 2/2 parser guards challenged`. Negative controls: removing the overflow guard accepts `18446744073709551617` as a plan; removing the REGS status check accepts `extra` as a plan. GPU NOT_RUN. DCO pending Drake. Sign in to comment