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

[27B experiment] Add StairCut-inspired adaptive budget selection in seeded .om

Closed · #65 · open 2026-10-23 22:02 UTC · closed 2026-11-06 23:59 UTC (reason not_planned)

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

Labels: retired

drakestapleton wrote on 2026-10-23 22:02 UTC

Parent: #63. Depends on the cost-curve work linked there for live calibration; reuse existing MTP and complete-state integration owners.

Requested experiment: compare the user's 27B model in AIENOS/Omega using CUDA++ on DGX Spark. New first-party experiment code and tests should use seeded .om and reuse existing runtime/benchmark owners. Do not change the live deployment. No measurements are claimed by this issue. Keep checkpoint locations, private traces, credentials and machine-specific details local. Use public/synthetic benchmark fixtures in shared results. Hardware-dependent steps remain NOT_RUN until executed.

Implement

  • Use a bounded policy selecting expected committed tokens / total draft+verify+commit+host+policy milliseconds. Keep candidate generation and drafter identical in fixed and adaptive arms; changing tree construction or drafter is a separate ablation.
  • Begin with supported chain verification. Add tree candidates only once ancestry and complete-state correctness qualify. MTP is a valid initial drafter; do not make DFlash2 integration a prerequisite.
  • Calibrate acceptance estimates on development data and observed past rounds only. Price by context/shape and backend identity; record selected size, predicted gain, measured round time and accepted tokens.
  • Reject stale/nonfinite/nonpositive costs and invalid probability inputs; use a declared bounded fallback. Limit budget by actual memory/context capability.
  • Compare against ordinary decoding and fall back when speculation loses, with bounded periodic probes and recorded adaptation overhead. This is a measured policy, not a guarantee that every request is faster.
  • Define reset, warmup, per-request versus shared learning and cost-table invalidation explicitly. No evaluation-set lookahead.
  • Commit only the accepted prefix across KV, recurrent/convolution and drafter state; represent emitted-but-unconsumed correction tokens. Reuse the existing state owner rather than adding another cache subsystem.

Tests and acceptance

Test flat and stepped cost curves, zero/full acceptance, context transitions, ties, stale profiles, cancellation, EOS, budget limits and recovery after fallback. Inspect first-divergence logits/state against same-precision ordinary decoding; do not call all divergence harmless. Unsupported sampling uses explicit ordinary mode. Require qualified .om native execution before hardware claims; keep fixed mode available for the controlled experiment.

drakestapleton wrote on 2026-11-06 23:59 UTC

35B retired (Drake 2026-11-06): Omega LLM only. Child of the retired 27B speculation experiment #63 (StairCut adaptive budget on the Qwen 27B); the method is kept in the Omega LLM retarget list under #63. — issuecov/I4 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:11 UTC

Recovered GitHub comment by @aien-spark on 2026-10-23T22:53:35Z. Original comment 6376336814

Draft PR #67 implements the bounded seeded Omega chain-size policy. It includes ordinary/fixed/adaptive modes, full-round costing, identity and budget checks, ordinary fallback, bounded recovery probes, past-round survival updates, and explicit emitted-versus-consumed token accounting. Policy tests pass 106 checks; an independently expressed selection oracle passes 12,801 comparisons.

The component does not mutate model state. Connecting it to the existing KV, recurrent/convolution and drafter-state owner, proving accepted-prefix commit and rollback, and first-divergence checks on the actual model remain required. The comparison uses the same drafter and candidate generator in fixed/adaptive arms. The PR is draft and this issue remains open; synthetic checks prove no speedup.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:11 UTC

Recovered GitHub comment by @aien-spark on 2026-10-23T23:17:58Z. Original comment 6376661063

PR #67 now includes a persistent seeded Omega policy process with actual native parent/child communication, request lifecycle checks, sequencing and monotonic timing. The native integration test passes 337 checks; six compiled protocol faults are caught. Source/test revision: b5eaf26f2bc590fe6b0d54a793b43827079ed624. The existing host-capable compiler was independently reconstructed, with all 70 original fixture comparisons included.

The exact remaining boundary is documented in docs/speculation/SERVICE.md: the current 27B engine accepts a fixed chain budget and exposes no external per-round policy hook. Native process/clock facilities exist; they should not be described as missing. The existing engine connection remains unfinished under the Omega-only constraint. No new Rust connection, GPU run, hardware speedup or issue completion is claimed.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:11 UTC

Recovered GitHub comment by @aien-spark on 2026-10-23T23:46:03Z. Original comment 6377002904

Strict Omega is confirmed. The required compiler extension is now proposed in Omega PR676: checked device calls, bounded mapped memory, explicit cleanup and stale-handle rejection in the existing seed compiler. A clean rebuild and host qualification pass; compiled negative controls detect broken guards. The desk independently replayed the host qualification, with final-source acceptance still pending.

CUDApp PR67 now includes a native read-only model-file probe. All66 shards passed2,442 mapped/file sample comparisons. This proves native file access, not inference or GPU correctness. Evidence and limits and remaining runtime work are committed. No Rust bridge, GPU run or live-service change was made.

The experiment and issues63-66 remain open pending the native GPU/model/state attachment and physical four-arm comparison.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:12 UTC

Recovered GitHub comment by @aien-spark on 2026-10-24T22:49:31Z. Original comment 6390527099

Progress, not completion: draft PR #73 carries the #71 cleanup ownership repair onto main as one focused candidate (main 22e9d9b + #71 unchanged; code commit 2e24216, head da74c8a). #71 had merged into experiment/27b-adaptive-sizing only.

Run on Linux AArch64 with the pinned compiler rebuilt from seed (Omega d7390d88, omc 9749f388):

  • teardown fixture: original cleanup fails by assertion, repair passes; 7 of 10 mutants killed, 1 trapped, 2 survive (documented gap: faulted live-state nvcpumap)
  • GB10, shared window: vector correctness, wrong-math control and corrected recovery PASS on this exact candidate (binary b0754a4e)
  • independent review: approve with notes, no blocking findings

Receipts and clean-checkout steps: evidence/speculation/release-candidate-teardown/. Everything else this issue asks for (FP8 math, 27B model, speculative-state rollback, AIENOS attachment, four-arm comparison) is still open.

Sign in to comment