mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[PR #105] docs: report RTX 3080 Laptop (24dc) stock/unlocked AI benchmarks #146
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Zagitta/gpu-unlock/pull/105
Author: @xsatvik
Created: 10/25/2026
Status: 🔄 Open
Base:
main← Head:docs/rtx-3080-laptop-24dc-results📝 Commits (1)
577b003docs: report RTX 3080 Laptop 24dc stock and unlocked benchmarks📊 Changes
3 files changed (+419 additions, -3 deletions)
View changed files
📝
README.md(+5 -3)➕
docs/benchmarks/rtx-3080-laptop-24dc.csv(+196 -0)➕
docs/benchmarks/rtx-3080-laptop-24dc.md(+218 -0)📄 Description
Summary
Add a tested-card entry and a benchmark report for the Lenovo Legion 7 RTX 3080 Laptop 16 GB, GA104M, PCI ID
10de:24dc. The existing unmodified module successfully unlocked this display-driving GPU on Ubuntu 22.04.5 / kernel 6.8.0-138 / proprietary NVIDIA 580.178.04 with Secure Boot enabled.This PR changes documentation and benchmark data only. The device ID was already supported; no kernel, firmware, packaging or driver code changes are proposed.
Highlights: 8192³ BF16/FP16-with-FP32-accumulation/TF32 GEMM +65–69%, Qwen3-4B prefill +35–52%, VLM prefill +31–44%, full Qwen3-0.6B fine-tuning +8–22%. Decode changes are small. The complete baseline-versus-unlocked results and limitations follow.
Result: unlocked, with measured speed gains on the physical GPU. Tested on 2026-10-25 using the unmodified kernel-module sources at commit
af28cbbfd3d922a659227ecfb7369adfd924cf03(gpu-unlock 1.0.0). The device ID was already in the supported list; this report does not add support code.The main comparison covers 62 timed configurations: 59 GEMM/attention/quantized-linear/LLM/VLM cases and three full-fine-tuning sequence lengths. One additional 512-token training repeat checks observed run-to-run variation. QLoRA was not rerun.
Hardware and software
10de:24dc/17aa:3a58/ A10000:01:00.094.04.3F.00.C5; no VBIOS flash as part of this experiment6.8.0-138-generic580.178.04, proprietary kernel moduleAll comparisons used the same driver, kernel, packages, model files and test inputs. AC power remained connected and the desktop remained active. The existing power configuration was retained; the unlock did not raise the configured power limit.
Installation and boot evidence
Built the repository's native Debian packages with
make deband the pinned NVIDIA 610.43.03 firmware inputs, then installed those packages. Building used GCC 12.3 and Python 3.11; the benchmark environment remained Python 3.10. The NVIDIA runtime driver remained 580.178.04.Local installation details, without kernel-module source changes:
6.8.0-138-generic: the machine has older installed headers and a build against 5.15.0-198 failed becauselinux/aperture.his missing. No kernel upgrade was needed.gpu_unlock.targets=all gpu_unlock.resume=0and performed a full shutdown/start. Other relevant existing boot options wereiommu=off amd_iommu=off.Relevant boot-log excerpt (hostnames removed):
This is a different laptop/PCI variant from the RTX 3080 Laptop report in #81, which used
10de:249c. This report specifically validates10de:24dcon the above system.Benchmark method
CUBLAS_WORKSPACE_CONFIG=:4096:8. Three warmups and five CUDA-event timing samples for GEMM, with repeated calls per sample targeting approximately 0.35 seconds. Model prefill uses two warmups; generation uses a separate warmup and five fixed-length measurements.foreach=False, no gradient clipping. Five warmup and 50 measured optimizer steps per sequence, each loaded from the original checkpoint in a fresh process.4d6c22bf9e4d92b5d8fede1a861b84fe830e9358a519c199736dd248a9fbe25c; CC BY-NC 4.0, used here as a research throughput benchmark.Pinned model revisions, with model-file SHA-256 verification before loading:
1cfa9a7208912126459214e8b04321603b3df60c0c351dd01ed87e9c1b53cbc748cba10e6187ff3bc1899de289a04d12100db370d81485cdf75e47caSpeedup means stock time / unlocked time, or unlocked throughput / stock throughput. For example, 1.65× is 65% higher throughput, not a 65% latency reduction.
Large matrix multiplication (8192 × 8192 × 8192)
For the BF16 row, sampled mean power was 143.9 → 162.9 W and mean SM clock was 1797 → 1521 MHz; memory clock remained 7001 MHz. Greater throughput with lower SM clock and power near the existing ceiling is consistent with the unlock increasing math throughput while power limits constrain the realized gain.
Units are TFLOPS except INT8, which uses TOPS. FP16/BF16 accumulation modes are explicitly controlled by the original runner.
FlashAttention
NF4 linear layer
Bitsandbytes NF4 weights with BF16 compute, including runtime dequantization. These results apply to this implementation and workload.
LLM prefill — Qwen3-4B
Fresh forwards without prefix-cache reuse; aggregate input tokens/s. B=4 processes four prompts simultaneously.
LLM generation — Qwen3-4B
128 forced output tokens/request, same eager Transformers loop. Decode excludes first-token latency. Batch throughput is aggregate.
VLM — Qwen3-VL-8B NF4
Prefill includes vision encoding and language prefill. Fixed synthetic image/OCR/two-image inputs; no image preprocessing or model loading in the timings.
Full fine-tuning — Qwen3-0.6B
All 596,049,920 parameters are trainable. FP32 master weights/gradients/AdamW states, BF16 autocast, gradient checkpointing, microbatch 1; five warmups plus 50 measured optimizer steps per sequence. Same pretrained checkpoint and deterministic Alpaca packing.
Training phase times
Phase medians use CUDA events; step medians use synchronized wall time. Phase medians need not sum exactly to the full-step median. Tokens/s uses total tokens divided by total measured wall time.
Correctness and GPU health
Completed 62 configurations with 0 unresolved failures; all saved finite-value checks passed.
107/107 corresponding output/logit/sample hashes match the stock run. This covers the saved GEMM/attention/linear outputs, prefill logits, generation samples, and instruction responses; it excludes training trajectories.
All 5 manual-generation checks matched Transformers generate.
Peak sampled GPU temperature: 76 °C. Peak sampled GPU power: 165.18 W.
No NVIDIA Xid or GPU-fallen-off-bus errors were found in the current boot. No suspend occurred during the comparison.
All full-fine-tuning runs had finite gradients, updated sampled base weights, and trained every parameter. No fine-tuned checkpoint was saved.
Full fine-tuning sequence 512: maximum corresponding measured-loss difference 0.0185476542.
Full fine-tuning sequence 1024: maximum corresponding measured-loss difference 0.032356441.
Full fine-tuning sequence 2048: maximum corresponding measured-loss difference 0.0255710296.
Training trajectories were not bit-identical. All three initial forward losses matched stock exactly, but losses diverged after optimizer updates. Finite gradients and continued training do not establish identical convergence or model quality.
Training repeatability control
One additional 512-token run repeated the same 50 measured full-training steps with the GPU still unlocked. All saved configuration/environment fields except the start time matched. Maximum corresponding loss difference between the two unlocked runs was 0.010881, compared with 0.018548 between stock and the first unlocked run at that length.
Throughput was 1653.0 and 1663.6 tokens/s in the two unlocked runs. This demonstrates run-to-run variation in this training setup; it does not isolate or prove the cause of every stock/unlocked loss difference. A deterministic gradient/convergence study would be needed for that. The extra repeat is separate from the 62 primary matched timing configurations.
Controls and interpretation limits
Numeric data
The accompanying matched-metrics CSV contains the measured before/after values and speedup for all 62 matched configurations, including the smaller GEMM sizes. It is a summary of the saved measurements, not a reusable benchmark harness or a dump of raw per-iteration traces. No model weights, dataset records, generated firmware or machine-specific installation scripts are included.
Validation of this contribution
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.