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/d3a6f462f89fe9b7 # 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 # [27B experiment] Compare base, fixed speculation and adaptive sizing in Omega + CUDA++ Closed · #63 · open 2026-10-23 22:02 UTC · closed 2026-11-06 23:59 UTC (reason not_planned) Imported from GitHub aien-dev/CUDApp#63, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-23 22:02 UTC 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. ## Question Does hardware-cost-aware speculative sizing improve useful output tokens per second and complete-request latency over our base and a tuned fixed speculative budget? ## Comparison - Frozen current qualified base, recording its effective settings. - Ordinary decoding in the candidate build with speculation disabled. - Fixed-budget speculation with the same model, drafter and verification implementation as arm 4. - StairCut-inspired adaptive sizing. If arms 1 and 2 are identical, record that fact. Omega and CUDA++ are layers in the native stack, not independent model engines. Measure both direct engine and AIENOS endpoint costs. ## Protocol - Freeze exact model/tokenizer/quantization and sampling identities locally before the run. Do not substitute a different model when an arm is unsupported. - Initially test 1K and 32K context, one request at a time, greedy decoding, natural EOS and a maximum of 256 new tokens. - Separate calibration/development prompts from held-out prose, fresh code, edits, copies and .om tasks. Choose the best fixed budget on development data only. - At least five paired repetitions per held-out fixture/arm, balanced order, explicit warmup/reset and controller cold/warm behavior. - Report accepted output tok/s, TTFT, end-to-end latency, draft/verify/commit/policy time, memory and actual generated length. Include raw public-fixture samples and paired confidence intervals; insufficient output or noise is INCONCLUSIVE. - Validate accepted-state correctness and output divergence before interpreting speed. Keep quantization changes in separate experiments. - Reuse existing hardware coordination; no driver changes, live restart or production cutover. - Adaptive versus best fixed isolates sizing benefit; adaptive versus ordinary measures total speculation benefit. ## Research reference https://github.com/0xBakeer/TandemLLM https://github.com/0xBakeer/TandemLLM/blob/main/docs/speculative-decoding.md Upstream speedups are motivation, not promised outcomes. Implement a measured-cost policy in our stack; TandemLLM is not a dependency. Any external-engine reproduction is a separately labelled optional comparison. ## Completion Linked work must deliver the cost curve, adaptive policy and real baseline comparison, or explicit remaining blockers. A measured negative result is valid; unexecuted hardware work is not completion. ## Linked implementation tasks - #64 — qualify baseline and measure native verification cost curves. - #65 — implement and validate the adaptive .om policy. - #66 — run paired held-out trials and report findings. Execution order: #64 freezes the measurement contract; #65 can develop against synthetic fixtures while hardware qualification proceeds; #66 hardware trials require both. Reuse the existing baseline, MTP, state and backend owners; these tasks add the controlled adaptive-sizing comparison rather than replacing their work. drakestapleton wrote on 2026-10-23 23:05 UTC Additional serving work is coordinated at https://github.com/aien-dev/aien-sovereign-core-mv/issues/715 . Core #717 explicitly reuses #64/#65/#66 and PR #67, with separate shared-frame/concurrency ablations after Core #712/#713/#716 qualify. Preserve this original one-request experiment; no competing adaptive policy. TensorFold DFlash2 aggregate figures are not matched MTP evidence. drakestapleton wrote on 2026-10-24 10:34 UTC ## Merge-desk evidence: post-main integration mapping-ownership gap (2026-10-24 10:12 UTC) Live GitHub read-back confirms CUDApp #67 merged into `main` as `916ff70b643ad3ceed502f4ccd0464f7a0c639fa` at 10:12:23Z; #70 later advanced `main` to `22e9d9bad9b9238996b05b68dfd73e4036ed354f`. The original #67 head `f9cd649c1dca92ad81009bcd05a959f34c25c76e` had an outstanding `CHANGES_REQUESTED` review and no established CUDApp signed pipeline or pinned AArch64 before/after regression (native execution `NOT_RUN/77`). The focused mapping-ownership correction #71 also shows merged, but its target was `experiment/27b-adaptive-sizing`, not main (merge SHA `52db648f67f99813d721830e321e2e9b362f4ed0`). Its exact head is `be2faa05982fe3ceec50769263487d6f5dbe1b66`. Current main `native/nvrm/context.om` blob `8127efde753679a515eb38348e55eebfd7794ac2` does not declare `nvunpub`; the #71 corrected branch blob `5280fea0e47acd0f91e7616770b1679cd1a72e34` does, and retries the unpublished mapping cleanup. Hence the independently identified close-failure + unmap-refusal ownership-loss path in #67 review finding is not yet corrected on main. This is a source-level gap, not a measured live exploit or failed GPU execution. Existing owner route: reconcile and carry #71's minimal fix and negative/positive `.om` fixture onto a fresh main-based repair PR, without reopening/replacing the already merged experiment PRs or duplicating the implementation owner. Before acceptance require pinned Linux AArch64 original-negative/repaired-positive test, close-once/retry, fail-sticky controls, independent final-source review and applicable exact-head checks. Do not mistake #71's merge into the experiment branch for production-main qualification or a 27B model-speed result. Keep #63 / #65 open pending the agreed 27B four-arm inference and serving proofs. Preserve Spark reservations, live 35B, and the stopped Renda session. This comment records new repository state, not approval for deployment or permission to bypass remaining gates. drakestapleton wrote on 2026-11-06 23:59 UTC 35B retired (Drake 2026-11-06): Omega LLM only. Compares speculation strategies on the user's Qwen 27B model (outside weights). The StairCut-inspired, hardware-cost-aware speculative budget is a serving technique that can apply to the Omega LLM once it has a drafter; it is recorded in the Omega LLM retarget list (M1). — 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:31Z. Original comment `6376335906` Implementation is now proposed in draft PR #67. The seeded Omega adaptive policy, calibration observation collector and paired reporter are implemented and verified with synthetic native execution. The current receipt records policy 106, collector 125, report 299 and independent selection oracle 12,801 checks, three record replays, eight invalid-input refusals and nine compiled behavioral controls. All 33 existing host regression targets also passed. The experiment remains open. The complete seeded 27B model/state attachment and its correctness qualification are still required before real 1K/32K calibration and the four-arm held-out comparison. Historical whole-model runs do not qualify this new build. No hardware trial or speedup is claimed. The dependency map and remaining acceptance sequence are in the PR's `docs/speculation/READINESS.md`. Sign in to comment