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/CUDApp/issues/58f885a8d2fcdcf7 # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # Inventory FP8 zero channels and implement lossless native weight packing Open · #48 · open 2026-10-22 22:50 UTC Imported from GitHub aien-dev/CUDApp#48, by drakestapleton drakestapleton wrote on 2026-10-22 22:50 UTC ## Evidence and scope Follow-up to aien-dev/aien-architecture-mv#297. In one fixed expert, 280/512 gate/up rows and corresponding down columns were zero; independent raw-byte check passed. Whole-model prevalence and performance remain unmeasured. ## Stages / acceptance - Version a bounded, fail-closed native Omega matrix codec; preserve every original FP8 byte, including negative zero and nonfinite encodings. Never infer mathematical zero permits arbitrary floating-point instruction removal. - Test encode/decode and dense fallback against an independent byte oracle: row/column orientation, all FP8 codes, dimensions, malformed headers, truncation, trailing input, overflow and signed-zero/corruption mutants. Reject malformed input before successful output. - Stream the checkpoint manifest/tensors without loading the model; freeze model/tensor identities and shapes, count every tensor/expert/layer, record aligned gate/up/down supports, and reconcile collected totals with manifest declarations. - Account for retained bytes, zero-sign masks, per-channel maps, headers, scales, alignment and decode workspace. Prove byte-exact reconstruction before any execution change. - Establish whether full-checkpoint packing wins including every overhead; retain dense fallback when it does not. - Only then integrate through the existing weight-loading owner; compare exact model outputs and full-token latency/traffic under #16/#17. Test any instruction-skipping variant separately for nonfinite/signed-zero semantics. First implementation slice is a standalone native host codec plus real-checkpoint replay, not a production kernel change. ## Execution and safety Personally implemented by this Hermes chat per Drake; no subagents or duplicate workers. New product logic is seeded native Omega, not new C/Rust/Python implementation. Python may orchestrate I/O, generate fixtures and serve as an independent oracle; compiler changes belong to existing compiler owners. Reuse CUDApp #5/#16/#17/#25 and existing sparse-core work rather than changing their branches. No live model/driver restart, hardware takeover or default-path change. Publish source/compiler/binary/model pins, commands, raw results, refused inputs and negative controls. Host representation results are not GPU speedups; weight error is not model quality. Issues stay open until their own gates pass or a reproducible no-go is explicitly recorded. drakestapleton wrote on 2026-10-22 23:16 UTC ## First implementation delivered; remaining integration stays open Personally implemented, tested and reviewed; no subagents or workers launched. Source and evidence: https://github.com/aien-dev/CUDApp/blob/`566dc53502321166f4a898a29f8e4f828a209239`/evidence/WEIGHTPACK-L600/README.md Branch `feat/zero-channel-native`, exact candidate `566dc53502321166f4a898a29f8e4f828a209239`. GitHub-served bytes for all 44 manifested source/evidence files were verified. This is a pushed branch, not a merge or deployment. - Seeded native Omega lossless codec: 464/464 cases pass; all byte encodings, signed zeros, orientation, malformed/truncated/trailing inputs and maximum capacities covered. - Four I/O controls pass. Three successfully compiled behavioral mutants are caught (85/161/2 cases). - Five additional reused-output safety controls pass after recorded failing baselines: stale PASS retirement and linked-output protection. No fixture data was substituted for real results. - Source-only seed rebuild and fresh complete export reproduce the same native binary. Existing CUDApp host suite passed all 33 targets. - Metadata census reconciles 30,720 routed-expert matrices with config-derived counts. Only five frozen real matrix payloads have been replayed, not the whole checkpoint. - All five reconstruct exactly; one expert's three projections shrink from 3,145,728 to 1,642,044 bytes, including framing/sign masks (47.800827%). With unchanged scales: 47.794993%. Two other examples use dense mode and add a 20-byte frame, so future loader selection must account for net cost. No arithmetic skipping, full-model compression prevalence, quality, speed or energy claim. Full payload scan, container/loader integration, model-level exactness and coordinated GPU/runtime gates remain. #49 and #50 are queued under the same personal ownership, not dispatched to other workers. Independent review has NOT been claimed. Fresh immutable-export receipt: ``` { "source_commit": "566dc53502321166f4a898a29f8e4f828a209239", "fresh_complete_export": true, "native_suite": 464, "safety_controls": 5, "io_controls": 4, "mutants_caught": [ 85, 161, 2 ], "binary_sha256": "939fef5d9ee207a9a5e504e599f735f756022010741640040b1a99bef374586f", "exit_code": 0 } ``` Sign in to comment