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/7f0043373836af08 # 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 # Phase 1: qualify AIENOS Qwen3.8 and its effective speed revisions for the standalone test Closed · #33 · open 2026-10-22 17:58 UTC · closed 2026-11-06 23:59 UTC (reason not_planned) Imported from GitHub aien-dev/CUDApp#33, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-22 17:58 UTC ## Problem We cannot compare an assumed fully optimized 27B engine with TandemLLM. The reviewed HTTP Omega engine targets Qwen3-30B-A3B; `OWN30B_DECODE_GRAPH=1` is optional and model-specific. Qwen3.8 serving and full-model parity remain separate integration work. ## Existing work to reuse - Canonical backend/motor integration: https://github.com/aien-dev/CUDApp/issues/5 - Speed/qualification roadmap: https://github.com/aien-dev/CUDApp/issues/26 - Qwen3.8 serving: https://github.com/aien-dev/aien-sovereign-core-mv/issues/642 - Qwen3.8 graph: https://github.com/aien-dev/omega-mv/pull/559 - Existing integration branches: Omega PRs #614–#618. Recheck current state and preserve their work before changing extraction/consumer pins. Reviewed pins: CUDApp `232332422bfdc31c8918085b50f13c1e18ab702e`; Omega `a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a`; sovereign-core `754c07b118f41ad899607b60329bd851b1ccb13e`. The reviewed core omega.lock was `4799f9eba563e9c69579b47c477e7d9c2b0f15cb`; current main is not automatically its linked backend. ## Scope Qualify the AIENOS side first: create an experiment readiness/optimization ledger and an AIENOS-only native adapter by reusing existing implementation owners and gates. Publish its test wrapper in the standalone public repository tracked by #32. TandemLLM code and upstream fixes are not prerequisites. This issue does not duplicate #5/#642 or require every research optimization to ship before the experiment. ## Acceptance - Reconcile each known requested speed revision to source SHA, merge state, consumer pin, effective runtime setting, hardware receipt and disposition: enabled / off / unsupported / unqualified / deferred. - Include persistent sessions, scratch/kernel reuse, command-list decode, whole-prompt prefill, prefix reuse, barriers/prefetch and the #18–#25 experiments. Keep historical speculation/READ DRUM/lane-filter work explicitly unverified unless traced; do not claim an exhaustive audit from a partial ledger. - Verify the exact daily Qwen3.8 artifact loads and runs full-model prefill/decode; distinguish #559's reported 2-/4-layer checks from full-model qualification. - Prove 32K plus suffix/output fits and all branch state (KV, recurrent, convolution) is isolated and restored correctly. - Establish host/reference and single-versus-multiple-branch comparisons, second-turn/state-reset behavior and useful first-divergence diagnostics. - Identify actual native library/backend/binary hashes and source pins. Refuse CPU stubs, wrong-pin libraries and silent backend/model fallback. - Implement the AIEN adapter with effective flags, committed-token timestamps, stop reasons, memory samples, warm-up and reset evidence. - Preserve baseline behavior; enable only compatible already-qualified optimizations. Do not copy 30B graph flags into the 27B path without qualification. - Execute final artifact checks on a coordinated Spark window. Host/simulator passes and merged PRs do not substitute for this receipt. - Record BLOCKED with exact remaining gates if any entry condition fails, instead of timing a different model. ## Verification already attempted A clean local CUDApp `make test-gpu-cmdlist test-gpu-decode-graph` attempt failed before tests on this x86 host because ARM `dsb sy` instructions were unguarded. This is neither numerical failure nor Spark qualification. Harness unit/synthetic checks do not exercise either engine. ## Completion A reviewable readiness ledger and exact reproducible launch recipe, plus a real qualification receipt or explicit blocker links. Keep existing merge/serving ownership and do not merge, restart services or change the live driver as an incidental step. ## Research follow-up: complete-state correctness and owned-runtime boundary - Define the snapshot as state AFTER consuming the exact shared-prefix token count. Align attention KV, every recurrent/conv state, cache position and next-token convention at that boundary. - Add small correctness controls around actual checkpoint boundaries (before/at/after), restore-versus-full-prefill, branch-order permutation and repeated restoration. A branch must not mutate the saved root or another branch's writable state. These are validation probes, not a new performance sweep. - Test copy/visibility ordering with an imposed producer delay and a missing-dependency negative control using the native platform. A successful immediate copy or cache hit can hide an ordering fault. Check the real allocator/helper path selected by the adapter. - Continue the owned AIENOS tensor execution layer over existing CUDApp/Omega APIs for memory, operators, command lists, complete model state and measurements. Qualify the minimum operator/model surface needed by Qwen3.8 first. A full PyTorch replacement, autograd/training stack and PyTorch compatibility backend are not Phase 1 prerequisites. Research: Marconi establishes the hybrid exact-prefix/in-place-state difficulty; Sparse Prefix Caching formalizes checkpoint-and-exact-replay semantics; Shared KV Caching correctness case study reports delay-sensitive copy-ordering failures. The test controls above are our application of these results. Their hardware/models, prototype scope and reported gains are not AIENOS/GB10 performance evidence. drakestapleton wrote on 2026-11-06 23:59 UTC 35B retired (Drake 2026-11-06): Omega LLM only. Qualifies the Qwen3.8-27B serving artifact and its speed revisions for the TandemLLM comparison (outside weights). The speed-revision ledger idea (each revision mapped to source sha, consumer pin, effective flag, receipt) is covered by the CUDApp research roadmap #26. — issuecov/I4 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic) did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:18 UTC Recovered GitHub comment. Original comment `6561511834` Long-prompt profiling on the 27B places most measured chip time in the existing 30B-derived FP8 matrix kernel. A 5017-token batch sweep (4096/512/1024/2048/4096) kept every output-logit bit identical and showed no useful batch-size gain. This is a shared-machine screen, not qualification. Next bounded experiment under Core#710: admit the existing emitter's 64-row/four-warp grouping through the Omega shape policy, with the incumbent 64-row/eight-warp default unchanged. Verify host/simulator arithmetic, deliberate faults, resource allocation and real matrices before any serving test. No instruction encoding, chip table, driver contract, or service configuration change. This follows Drake's request to reuse the 30B work for reading/TTFT and integrate accepted improvements into Ribbon. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:18 UTC Recovered GitHub comment. Original comment `6561660915` 64-row/four-warp screening passed the host/simulator and real-GPU correctness checks, including source faults and injected GPU faults. It did not show a useful gain over the existing64-row/eight-warp grouping: gate/up medians7.388 versus7.130ms, down3.730 versus3.671ms, mix3.568 versus3.519ms, output1.088 versus1.090ms. Same compiled test binary,512tokens,five repeats,8 sampled CPU-reference rows per matrix. These are shared-machine diagnostics, not qualified performance. Decision: retain the current default. The local source patch and raw output are preserved in Optimize27-checkpoint-`20261101`/shape64w4-*; this experiment is not being promoted. Reading work continues on eliminating repeated model passes and batching ready work in Ribbon. Sign in to comment