interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

[STREAM-DELTA] Measure lossless XOR-delta tiles against dense and zero-aware packing

Open · #51 · open 2026-10-23 10:53 UTC

Imported from GitHub aien-dev/CUDApp#51, by drakestapleton

drakestapleton wrote on 2026-10-23 10:53 UTC

Question and ownership

Can exact XOR-delta representations reduce bytes at an actual weight-streaming bottleneck after all base reads and reconstruction costs?

Build on #48 (FP8 inventory and lossless native packing), #5/#25 (loading/ownership) and #16/#17 (qualification). #48 already has a bounded native Omega codec and independent byte controls. Reuse that surface and coordinate its active owner; do not fork another codec/loader or duplicate the inventory. Approximate rotation/factorization work #49/#50 stays separate.

Mathematical boundary

D = W_new XOR W_base and W_new = D XOR W_base preserve bytes. XOR alone does not compress and does not remove ordinary floating-point matrix multiplication. Static inference weights do not change between tokens; a zero inter-token delta does not remove weight accesses. A candidate needs demonstrably compressible deltas and economical base access. Sequential delta chains may destroy random access/parallelism.

Bounded experiment

  1. Fix a representative, explicitly identified tensor/tile sample from available local weights; include dense/no-correlation and synthetic repeated/bit-changed controls. Preserve every encoding, signed zero and nonfinite byte pattern.
  2. Compare dense, existing #48 zero-aware representation, and XOR delta plus a specified lossless encoding. Do not choose the sample or base after seeing the desired result without labeling exploratory selection.
  3. Include base storage/residency/read traffic, encoded delta, maps/headers/scales/alignment, cache misses, decode workspace, preprocessing and amortization. Test resident and nonresident bases and bounded independently decodable tiles.
  4. Prove exact reconstruction with an independent oracle, malformed-input bounds and wrong-base/corrupt-delta mutants before execution changes.
  5. Only advance a favorable representation to the existing native consumer, ideally decoding near consumption rather than materializing another full DRAM copy. Preserve lifecycle, numerical and authorization contracts.

Acceptance

  • Reproducible measurements establish whether total bytes/peak memory actually improve over both controls.
  • Full-token latency/traffic and exact-output gates required before any performance/adoption claim; host codec throughput alone is insufficient.
  • Report NO-GO when bases, metadata, dependency chains or decode costs erase savings. A negative outcome is a valid experiment result.
  • No production format/default change merely because an algebraic identity or compression example works.
  • Reuse native Omega product-code policy in #48; external scripts may orchestrate analysis and serve as independent oracles where repository rules permit.
  • Source/compiler/model/tensor pins, commands, raw results and limitations recorded without committing weights or private data.
  • Hardware runs use existing reservations and leave current GPU jobs alone; absent hardware is NOT_RUN.

Companion overlap experiment: https://github.com/aien-dev/omega-mv/issues/640. Security experiment https://github.com/aien-dev/omega-mv/issues/639 has separate acceptance criteria.

No comments.

Sign in to comment