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

[RIBBON P1] Versioned replaceable FP8 expert slots with GPU completion fences

Open · #533 · open 2026-10-18 05:37 UTC

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

drakestapleton wrote on 2026-10-18 05:37 UTC

Parent: https://github.com/aien-dev/aienix/issues/4

Scope / ownership

Omega owns GPU allocations, device-visible addresses, transfer completion and lifetime barriers; Sovereign Core owns SSD reads and cache policy. Reuse FP8 tensor API, GPU router directories, and command-list semantics. Do not build a second GPU executor.

Design target

Expose an API that allocates fixed-capacity FP8 expert slots (weights and scales) with checked shape/layout; copies verified bytes from approved staging buffers; exposes versioned device addresses only after a completion marker; pins while any kernel/command list can read them; evicts/reuses only after all readers retire. Exact API naming and buffer allocation policy to be decided in code review.

Required invariants

  • GPU never observes half-copied weights/scales, stale address-table entries, or a freed old expert while a graph/recorded command list still uses it.
  • Generation/version tags prevent ABA when a slot is reused for another (layer, expert).
  • Publish/retire is a clear acquire-release or fence-backed synchronization protocol, not a bare pointer swap.
  • Failed transfer, corrupted staging input, GPU timeouts, force-cancellation and session reset cannot expose unready data or leak GPU allocations.
  • Preserve sealed kernel and no-fallback rules. New APIs remain callable through the native Omega ABI without CUDA/vLLM.

Acceptance

  • Host fake-session tests for races: double load, swap during in-flight read, stale handle, cancel/read failure, repeated evict/reinsert; deterministic reproduction.
  • GB10 qualification for load/publish/use/evict under forced overlap, with output parity to a fixed resident expert, strict GPU fence logs, memory high-water marks, negative control that a missing fence is caught.
  • Existing fully resident path unchanged when dynamic slots are disabled. No 'atomic hardware memory-cell placement' claim.

Dependency

Foundational parallel lane. Host cache controller must consume this contract rather than reaching into opaque Omega pointers.

drakestapleton wrote on 2026-10-18 17:25 UTC

This was generated by AI.

Progress (Expert Ribbon worker, no PR opened: the orchestrator owns PRs).

  • Branch ribbon/slots 98d138ff (on omega main): versioned replaceable FP8 expert slots (omega_gpu_fp8_slots.{h,c}, host slot table, uncached pool alloc). Chip gate tools/run_gpu_fp8_slots_chip.sh: host 24/24, chip 3/3 PASS (32 checks each), negative control (load ignores pins) CAUGHT. Evidence evidence/RIBBON-SLOTS-a8ae3a1f-20261018T1644Z.
  • Branch ribbon/slots-on-4799f9eb 1549caae: the same slot commit on the omega commit sovereign-core pins (its ABI manifest does not match omega main yet). Chip gate PASS 3/3 + control CAUGHT, evidence evidence/RIBBON-SLOTS-d8185686-*.
  • Found on the way: a stale build/nvrm.o compiled from the unpinned ../physics survives a later PHYSICS_DIR= build and turned the pool launch into a marker timeout (A/B/A in one lock hold). The runner now refuses an nvrm.o not built from the requested physics.
  • Used by sovereign-core ribbon/p1-store: OWN-30B decode with paged experts gives greedy tokens identical to the golden at 768 and 3072 slots (see sc#632).

Sign in to comment