mirror of
https://github.com/phiraml/gpu-unlock-blackwell.git
synced 2026-12-03 19:12:57 +07:00
[GH-ISSUE #2] RTX 5090 D v2 (10de:2b8c) baseline: mma_rate.py's ratio moves with SM clock (0.60–0.80), so its verdict is unstable at stock clocks #1
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 @XHXIAIEIN on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/phiraml/gpu-unlock-blackwell/issues/2
Stock measurements from an RTX 5090 D v2, a second GB202 card next to your RTX 5090 receipt. On this card the FP32-accumulate / FP16-accumulate ratio depends on the SM clock, so
mma_rate.pygives different verdicts at stock clocks.Summary
mma.syncprobe.mma.syncprobe it is 0.498 at a locked 1500 MHz and 0.834 at stock clocks. FP32 accumulate scales almost in proportion to the clock; FP16 accumulate does not keep pace.mma_rate.py's verdict flips at stock clocks. Four stock runs gave 0.789–0.805 against thehalved < 0.80threshold, so the same card produced both verdicts.fmla32 = 3, which NVIDIA defines as 1/8 rate. This card's ownfmla32is not read.Requests
10de:2b8c) as a GB202 target alongside the RTX 5090 (10de:2b85), and accept its receipt as a second stock baseline.probe/mma_rate.pyrecord the SM clock and power state of each mode, and read the ratio at a locked SM clock. On this card the FP16 → FP32 / FP16 → FP16 ratio ranges from 0.60 to 0.80 depending on the SM clock, and at stock clocks it lands on both sides of the script's 0.80 verdict threshold.Suggested probe changes
These build on requirements that already exist. gpu-unlock-ada's
docs/testing.mdasks for the same clock policy and power cap in both states and for clocks, temperature and power to be captured while benchmarking. Phase 5 ofdocs/port-plan.mdmeasures the gain of an unlock at a fixed power cap.nvidia-smi -lgc <MHz>,<MHz>) when reading the issue-rate ratio, and record the value. On this card the mma.sync ratio is 0.50 at 1500 MHz and 0.83 at stock clocks, so ratios taken at different clocks cannot be compared. This is for reading the ratio only. The gain of an unlock remains the Phase 5 number, measured at a fixed power cap.Card
10de:2b8c, subsystem1458:41c8(Gigabyte)2B8C-240-A198.02.69.00.55Evidence
1. mma.sync issue rates
A register-resident probe without memory traffic or cuBLAS kernel selection. The method is under "Method and limits".
TFLOP/s, mean ± standard deviation over 5 runs.
0x400, which is also set at idle.docs/feasibility.mdthat the RTX 5090's 0.676 "is not an exact 0.5 because the restricted path is partially hidden by overhead at these shapes". This probe has no shapes and no memory traffic, and its ratio still rises from 0.50 to 0.83 with the SM clock. On this card the departure from 0.5 comes from the FP16-accumulate reference not keeping pace with the clock, not from FP32 accumulate getting faster per clock.read_sm_rates.pyreturnsfmla32 = 3on an RTX 5090 (AndrewCTF,https://github.com/JustAResearcher/gpu-unlock-ada/issues/12#issuecomment-6393026065), whichctrl2080gr.hdefines asREDUCED_SPEED_1_8, andFUSE_SS_FMLA32reads 3 on a GB203 laptop (ElXreno,https://github.com/JustAResearcher/gpu-unlock-ada/issues/12#issuecomment-6393812555). I have no explanation for a 1/8 setting alongside a measured 0.50. I could not read this card'sfmla32:read_sm_rates.pyuses the Linux RM interface, and this machine runs Windows.2. mma_rate.py, unmodified
Peaks in TFLOP/s. Each row is one full run of the script.
The verdict switches at
halved < 0.80. At stock clocks this card measured 0.789–0.805, so the same card and driver produced both verdicts within two hours.3. Sustained cuBLAS runs with telemetry
16384×16384×4096, each run 1 s warm-up and 6 s measured, 5 runs per mode with the mode order rotated. NVML was sampled every 20 ms. Values are means over the 5 runs; ± is the standard deviation.
FP16 → FP32 / FP16 → FP16 from these means: 0.757 at stock, 0.668 at 2300 MHz, 0.602 at 2000 MHz.
4. Comparison with your RTX 5090 receipt
FP32-accumulate rates at stock clocks are similar (205–228 vs 222–226 TFLOP/s) and FP16 accumulate is lower (266–278 vs 335 TFLOP/s). The mma.sync probe tops out at 284 TFLOP/s on this card even at 2942 MHz, so the gap is not explained by the SM clock alone.
Method and limits
diagnostics/bench/tensor_modes_issue.cu:mma.sync.aligned.m16n8k16, 8 independent accumulator chains per warp, 20,000 iterations per launch, compiled for sm_120 with NVRTC 12.8. I added an FP16-accumulate kernel (f16.f16.f16.f16) as the reference and a BF16 → FP32 kernel. B holds (+1, −1) pairs, so every result is exactly zero and the FP16 accumulators cannot overflow. Each kernel was first checked with all-ones inputs against the exact expected sum. Launches use 680 blocks × 256 threads (4 per SM); 1, 2, 4 and 6 blocks per SM gave rates within 8% of each other. Each run is 5 s, with 5 runs per mode and NVML sampled every 20 ms.mma_rate.pyand sustained tables are cuBLAS GEMMs and include memory traffic and cuBLAS kernel selection. The mma.sync table measures the instruction rate alone, but with my kernels and runner rather than the ones in gpu-unlock-ada; both are attached below.nvidia-smi -lgc 2300,2300,-lgc 2000,2000and, for mma.sync,-lgc 1500,1500, and reset with-rgcafterwards. In the cuBLAS runs the FP32-accumulate modes held the lock and FP16 → FP16 ran 1–2% below it (2253 and 1966 MHz) with NVML reporting SW power cap active at 508 W and 443 W, below the 575 W board limit, so those locked ratios are overstated by about that much. In the mma.sync runs every mode held the lock.Revision note
An earlier version of this issue estimated a per-clock ratio of 0.70 by dividing throughput by the average SM clock. The locked-clock runs show that throughput does not scale linearly with clock in either mode, so that estimate is withdrawn and replaced with direct measurements.
Stock receipt from mma_rate.py --json (row 2 of the mma_rate.py table)
All sustained runs (JSONL)
All mma.sync runs (JSONL)
mma.sync probe kernels (mma_probe.cu)
mma.sync runner (mma_run.py, Windows, NVRTC from the torch wheel)