WIP: STRA-102 fixed typed CUDA launch and offline PTX gate #14

Closed
admin wants to merge 1 commits from codex/stra102-cuda-fixed-vector-add into codex/stra102-cuda-driver-bootstrap
Owner

Scope

Fixed typed vector-add foundation for the independent NVIDIA Driver library, stacked on PR #13. Opt-in only; no production serving or model-forward integration.

  • Trusted embedded PTX7.0/sm75 entry and fixed launch geometry; callers cannot supply kernels, pointers or launch configuration.
  • Exact context ownership, shape and nonalias validation; lazy module cache; synchronization after every launch attempt; ordered launch/sync/restoration errors.
  • Uncertain completion poisons the context and retains argument storage; module unload is consumed before one attempt.
  • Fixed raw ownership for self-referential parameter storage after independent source advisory identified Box pointer-provenance risk.
  • Existing Linux verification retained; added GPU-hidden offline PTX assembly gate.

Verification

Native Linux aarch64 CPU Docker: 61 synthetic ELF scenarios, 11 lifetime/thread/output-alias compile refusals, 3 library unit tests, fmt and all-feature Clippy with warnings denied passed. CPU arithmetic emulation proves ABI and resource handling only.
Pinned NVIDIA ptxas13.0.88 in GPU-hidden Linux x86_64 CPU Docker accepted exact PTX for sm120; no GPU execution. Archive/tool/PTX/cubin hashes and requirements recorded in docs/cuda-fixed-vector-add.md and LeaseVibe.
Root checked exact source hashes, scoped workflow change, executable mode, shell syntax and clean diff. Hosted exact-head CI pending.

Remaining gates

Installed-driver JIT/execution and numerical comparison, model forward/quality, paired workload throughput, rollback and static-musl driver integration remain open. This is not a GPU inference, quality or performance qualification. Active Qwen runtime untouched; no merge.

## Scope Fixed typed vector-add foundation for the independent NVIDIA Driver library, stacked on PR #13. Opt-in only; no production serving or model-forward integration. - Trusted embedded PTX7.0/sm75 entry and fixed launch geometry; callers cannot supply kernels, pointers or launch configuration. - Exact context ownership, shape and nonalias validation; lazy module cache; synchronization after every launch attempt; ordered launch/sync/restoration errors. - Uncertain completion poisons the context and retains argument storage; module unload is consumed before one attempt. - Fixed raw ownership for self-referential parameter storage after independent source advisory identified Box pointer-provenance risk. - Existing Linux verification retained; added GPU-hidden offline PTX assembly gate. ## Verification Native Linux aarch64 CPU Docker: 61 synthetic ELF scenarios, 11 lifetime/thread/output-alias compile refusals, 3 library unit tests, fmt and all-feature Clippy with warnings denied passed. CPU arithmetic emulation proves ABI and resource handling only. Pinned NVIDIA ptxas13.0.88 in GPU-hidden Linux x86_64 CPU Docker accepted exact PTX for sm120; no GPU execution. Archive/tool/PTX/cubin hashes and requirements recorded in docs/cuda-fixed-vector-add.md and LeaseVibe. Root checked exact source hashes, scoped workflow change, executable mode, shell syntax and clean diff. Hosted exact-head CI pending. ## Remaining gates Installed-driver JIT/execution and numerical comparison, model forward/quality, paired workload throughput, rollback and static-musl driver integration remain open. This is not a GPU inference, quality or performance qualification. Active Qwen runtime untouched; no merge.
admin added 1 commit 2026-10-07 21:44:16 +00:00
feat(cuda): add fixed typed vector launch and isolated PTX gate
Linux / verify (pull_request) Successful in 6m15s
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Failing after 4m2s
Linux / linux-static-cli (pull_request) Successful in 9m31s
Linux / release-cli (pull_request) Skipped
Desktop foundation / core (ubuntu-latest) (push) Failing after 13s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
3a478b603c
admin closed this pull request 2026-11-22 17:09:57 +00:00
admin deleted branch codex/stra102-cuda-fixed-vector-add 2026-11-22 17:09:58 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: para/leleka#14