[PR #9] [MERGED] Add guarded experimental RTX 4080 support #80

Closed
opened 2026-10-31 06:56:13 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JustAResearcher/gpu-unlock-ada/pull/9
Author: @kandrusyak
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @JustAResearcher

Base: main ← Head: upstream-rtx4080-experimental


📝 Commits (4)

  • 6b7abea Add guarded experimental RTX 4080 support
  • 87c1433 Move RTX 4080 experiment into project docs
  • 3e2f7ab Record RTX 4080 application prefill validation
  • 9589a66 Align package metadata and document measured RTX 4080 evidence

📊 Changes

13 files changed (+351 additions, -7 deletions)

View changed files

📝 QUICKSTART.md (+18 -3)
📝 README.md (+15 -2)
➕ docs/evidence/ada2704/SHA256SUMS (+2 -0)
➕ docs/evidence/ada2704/matched-results.json (+174 -0)
➕ docs/evidence/ada2704/transaction-excerpt.txt (+11 -0)
➕ docs/rtx4080-hardware-report.md (+46 -0)
📝 kernel/gpu_unlock/arch_610.h (+2 -0)
📝 kernel/gpu_unlock/main.c (+11 -0)
📝 kernel/gpu_unlock/unlock_610.c (+2 -0)
📝 tests/test_ad102_kernel.c (+31 -0)
📝 tests/test_main.c (+26 -0)
📝 tests/test_unlock_adapter.c (+7 -0)
📝 tools/print_boot_option.py (+6 -2)

📄 Description

Summary

Add experimental RTX 4080 10de:2704 support behind its own gpu_unlock.rtx4080_experimental=1 flag and one exact PCI target. The profile uses the existing pinned AD102-family assets; targets=all and the existing AD103 flag do not enable it. Firmware, marker, permission, HALT, effective-rate and FLR gates remain unchanged.

The change includes synthetic AD103/32 GiB metadata and negative transaction tests, the boot-option helper, opt-in documentation, and sanitized single-card hardware evidence. Package and module versions remain consistently 1.1.1.

Validation

  • The hardware-tested local port 0059fb58a413c29186cac956ad8486135de9e9a0 passed the normal and strict real-asset test suites (26 executed tests passed, 3 optional offline-decoder tests skipped per run), and built a module for Linux 6.8.0-147-generic.
  • The PR transaction code and C tests were compared with that tested port. Apart from comments, the only kernel source difference is restoring MODULE_VERSION from the local package suffix to upstream 1.1.1.
  • Final-review local checks: six existing Python firmware/package tests passed; module/DKMS/package version consistency, RTX 4080 helper output, evidence against source measurements, evidence SHA-256 checksums, private-identifier scan, and git diff --check passed. This is not a new full Linux build of the final PR.
  • The single modified-32-GiB RTX 4080 completed the firmware transaction and NVIDIA 580.178.04 handoff. RM FMLA32/IMLA2/IMLA4 encodings changed from 1 to 0; those readbacks are not INT8/INT4 throughput measurements.
  • Seeded FP16/BF16 CUDA GEMM outputs had identical full-output hashes before/after, with unchanged FP64 relative errors.

Matched application prefill

One stock/unlocked boot pair, one warmup plus three measured requests per size. The same corresponding synthetic prompts and runtime settings were used; every request had cached_tokens=0, generation was limited to one output token, the power limit remained 320 W, and clocks were not locked.

Actual prompt tokens Before tok/s After tok/s Change
4,089 1,785.59 2,140.84 +19.90%
16,377 1,629.55 2,002.08 +22.86%
65,529 1,284.38 1,630.48 +26.95%

Targets were 4K/16K/64K; the table reports actual tokenizer/usage counts. Prefill uses native server prompt time, excluding model loading and output generation. The model returned to Ready and post-load/post-benchmark checks found no Xid errors.

See the hardware report, numeric evidence, and sanitized transaction excerpt.

Scope

One card with modified 32 GiB VRAM, one VM stop/start, and wpr2_hi=0 at entry. No host AC cycle or subsequent warm-reboot trial was performed. This does not establish boot repeatability, other-card compatibility, decode throughput, answer quality, or long-duration stability. Results apply only to this workload and setup; no user content, prompt hashes, credentials or home infrastructure identifiers are published.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JustAResearcher/gpu-unlock-ada/pull/9 **Author:** [@kandrusyak](https://github.com/kandrusyak) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/26/2026 **Merged by:** [@JustAResearcher](https://github.com/JustAResearcher) **Base:** `main` ← **Head:** `upstream-rtx4080-experimental` --- ### 📝 Commits (4) - [`6b7abea`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/6b7abea9088584e42e4d1f31f8ee4f8ce442f30c) Add guarded experimental RTX 4080 support - [`87c1433`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/87c14336b924bbf0f60a0c05cb820ff08859c2b8) Move RTX 4080 experiment into project docs - [`3e2f7ab`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/3e2f7ab88dc11291e30f5ac227512fa3177723c0) Record RTX 4080 application prefill validation - [`9589a66`](https://github.com/JustAResearcher/gpu-unlock-ada/commit/9589a6679eec0414c89d5be2b29fa0f58248bebf) Align package metadata and document measured RTX 4080 evidence ### 📊 Changes **13 files changed** (+351 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `QUICKSTART.md` (+18 -3) 📝 `README.md` (+15 -2) ➕ `docs/evidence/ada2704/SHA256SUMS` (+2 -0) ➕ `docs/evidence/ada2704/matched-results.json` (+174 -0) ➕ `docs/evidence/ada2704/transaction-excerpt.txt` (+11 -0) ➕ `docs/rtx4080-hardware-report.md` (+46 -0) 📝 `kernel/gpu_unlock/arch_610.h` (+2 -0) 📝 `kernel/gpu_unlock/main.c` (+11 -0) 📝 `kernel/gpu_unlock/unlock_610.c` (+2 -0) 📝 `tests/test_ad102_kernel.c` (+31 -0) 📝 `tests/test_main.c` (+26 -0) 📝 `tests/test_unlock_adapter.c` (+7 -0) 📝 `tools/print_boot_option.py` (+6 -2) </details> ### 📄 Description ## Summary Add experimental RTX 4080 `10de:2704` support behind its own `gpu_unlock.rtx4080_experimental=1` flag and one exact PCI target. The profile uses the existing pinned AD102-family assets; `targets=all` and the existing AD103 flag do not enable it. Firmware, marker, permission, HALT, effective-rate and FLR gates remain unchanged. The change includes synthetic AD103/32 GiB metadata and negative transaction tests, the boot-option helper, opt-in documentation, and sanitized single-card hardware evidence. Package and module versions remain consistently `1.1.1`. ## Validation - The hardware-tested local port `0059fb58a413c29186cac956ad8486135de9e9a0` passed the normal and strict real-asset test suites (26 executed tests passed, 3 optional offline-decoder tests skipped per run), and built a module for Linux `6.8.0-147-generic`. - The PR transaction code and C tests were compared with that tested port. Apart from comments, the only kernel source difference is restoring `MODULE_VERSION` from the local package suffix to upstream `1.1.1`. - Final-review local checks: six existing Python firmware/package tests passed; module/DKMS/package version consistency, RTX 4080 helper output, evidence against source measurements, evidence SHA-256 checksums, private-identifier scan, and `git diff --check` passed. This is not a new full Linux build of the final PR. - The single modified-32-GiB RTX 4080 completed the firmware transaction and NVIDIA `580.178.04` handoff. RM FMLA32/IMLA2/IMLA4 encodings changed from `1` to `0`; those readbacks are not INT8/INT4 throughput measurements. - Seeded FP16/BF16 CUDA GEMM outputs had identical full-output hashes before/after, with unchanged FP64 relative errors. ## Matched application prefill One stock/unlocked boot pair, one warmup plus three measured requests per size. The same corresponding synthetic prompts and runtime settings were used; every request had `cached_tokens=0`, generation was limited to one output token, the power limit remained 320 W, and clocks were not locked. | Actual prompt tokens | Before tok/s | After tok/s | Change | |---:|---:|---:|---:| | 4,089 | 1,785.59 | 2,140.84 | +19.90% | | 16,377 | 1,629.55 | 2,002.08 | +22.86% | | 65,529 | 1,284.38 | 1,630.48 | +26.95% | Targets were 4K/16K/64K; the table reports actual tokenizer/usage counts. Prefill uses native server prompt time, excluding model loading and output generation. The model returned to Ready and post-load/post-benchmark checks found no Xid errors. See the [hardware report](https://github.com/kandrusyak/gpu-unlock-ada/blob/upstream-rtx4080-experimental/docs/rtx4080-hardware-report.md), [numeric evidence](https://github.com/kandrusyak/gpu-unlock-ada/blob/upstream-rtx4080-experimental/docs/evidence/ada2704/matched-results.json), and [sanitized transaction excerpt](https://github.com/kandrusyak/gpu-unlock-ada/blob/upstream-rtx4080-experimental/docs/evidence/ada2704/transaction-excerpt.txt). ## Scope One card with modified 32 GiB VRAM, one VM stop/start, and `wpr2_hi=0` at entry. No host AC cycle or subsequent warm-reboot trial was performed. This does not establish boot repeatability, other-card compatibility, decode throughput, answer quality, or long-duration stability. Results apply only to this workload and setup; no user content, prompt hashes, credentials or home infrastructure identifiers are published. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 06:56:13 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JustAResearcher/gpu-unlock-ada#80
No description provided.