mirror of
https://github.com/JustAResearcher/gpu-unlock-ada.git
synced 2026-12-03 20:45:57 +07:00
[GH-ISSUE #90] RTX 4090 D: unlock doubles TF32 GEMM but BF16/FP32-accumulate GEMM stays flat at 8192³ — expected, or a separate limiter? #53
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JustAResearcher/gpu-unlock-ada#53
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?
Originally created by @MAXEUR5 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/JustAResearcher/gpu-unlock-ada/issues/90
First, thank you for this project — the locally-generated-firmware path, the documented register values (SS0
0x88888888, SS10x8), and especially the "These are register-resident issue rates, not application GEMM or inference speedups" caveat made it straightforward to apply and to read the results honestly.I'd like to contribute a clean data point on the RTX 4090 D (
10de:2685, thertx4090d_experimentalrow / PR #7) and ask whether the BF16 behavior I see is expected or points at a limiter the speed-select override doesn't reach.Setup
rmmod nvidia*→ per-card FLR →insmod … targets=<addr> rtx4090d_experimental=1→ reload driver).0x88888888, SS10x8— matches your documented values, so the override is definitely in effect.Measured (cuBLAS, 8192³, sm_89, median TF/s)
In the same harness, TF32 realizes almost the full ~2× you document at the issue-rate level, while BF16→FP32-accumulate shows no application gain at 8192³.
For context, the unlocked-state mode sweep (I didn't capture locked pairs for these two): FP16/FP32-accumulate ~186, FP16/FP16-accumulate ~250, BF16/FP32-accumulate ~148. So FP16 and BF16 diverge in GEMM even though both use FP32 accumulation — which echoes your "FP16 gained 12–34%, BF16 … essentially unchanged at 4096³" note.
Not a library artifact
I suspected the distro cuBLAS 12.0, so I re-ran the identical binary against the cuBLAS 12.9 wheel (
nvidia-cublas-cu12, what PyTorch ships) viaLD_LIBRARY_PATH— the BF16 numbers were identical. So it isn't a 12.0-vs-12.9 thing.Questions
Your README already notes that the 4090's register BF16→FP32-accumulate rate roughly doubles (165.5 → 330.6 TF/s) while real cuBLAS BF16 "was essentially unchanged at 4096³," and that the MoE case is "consistent with quantized matmuls not consuming the FP32-accumulate tensor path." My 4090 D result looks like the same effect, one shape larger and on the "D":
2685path leave something extra in place?Not reporting a bug — the unlock applied cleanly and TF32 is a genuine ~2× win on these cards. I'm just trying to understand the BF16 side, and your notes suggest you've already looked right at this. Thanks again for sharing the work.
@sccbhxc commented on GitHub (Oct 30, 2026):
I also suffer a similar problem. The improvement on BF16(fp32 accum) (from 142 to 145) and FP16(fp32 accum) (from 145 to 167) is very limited . But TF 32 is double.
GPU Benchmark Environment
GPU Compute Performance Results
Unit: TFLOPS
Statistical Summary