[PR #8] Add FP16 tensor GEMM benchmark and Gigabyte RTX 2080 Ti 22GB results #23

Open
opened 2026-10-31 06:58:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nlzy/turing-unlock/pull/8
Author: @coolio986
Created: 10/25/2026
Status: 🔄 Open

Base: main ← Head: add-fp16-bench


📝 Commits (1)

  • d0b2018 Add FP16 tensor GEMM benchmark and Gigabyte 1e04 results

📊 Changes

3 files changed (+145 additions, -1 deletions)

View changed files

📝 Makefile (+13 -1)
📝 README.md (+32 -0)
➕ tests/gemm_fp16.cu (+100 -0)

📄 Description

What

  • tests/gemm_fp16.cu: the cuBLAS FP16 matrix multiply with FP32 accumulate behind the README's Performance table. Takes -d PCI_ADDRESS|INDEX and --min-tflops N; exits 1 if the 8192 case stays below the threshold (default 70, above Turing's 56.9 TFLOPS peak and well below an unlocked card).
  • make bench GPU=0000:01:00.0: builds with nvcc -arch=sm_75 into build/ and runs it. NVCC, GPU, MIN_TFLOPS can be overridden.
  • README: tested-hardware details and a locked versus unlocked table.

Results

Two Gigabyte RTX 2080 Ti 22GB (10de:1e04, subsystem 1458:37c4), 250 W, one locked and one unlocked in the same machine (TFLOPS):

M.N.K Locked Unlocked
1024 37.1 55.5
2048 40.9 74.0
4096 57.5 94.2
8192 63.6 106.5
  • VBIOS 90.02.17.00.7C and 90.02.30.00.81 (different ROM layouts, both unlock)
  • NVIDIA driver 580.178.04 (proprietary), turing_unlock 2.0.0, firmware 610.43.03
  • CachyOS (Arch-based) x86_64, kernel 7.2.10-1-cachyos, CUDA 13.4

After unlocking both cards, both pass make bench (about 100 to 104 TFLOPS at 8192). MIN_TFLOPS=200 fails with exit 1 and an unknown PCI address exits 2. The locked card's FAIL against the final threshold was not re-run; its measured 63.6 is below 70.

Note: the loaded kernel module for the benchmark needs the fix in the separate mkinitcpio PR on mkinitcpio systems using the systemd hook.

Open kernel module not tested here.

🤖 Generated with Claude Code


🔄 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/nlzy/turing-unlock/pull/8 **Author:** [@coolio986](https://github.com/coolio986) **Created:** 10/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `add-fp16-bench` --- ### 📝 Commits (1) - [`d0b2018`](https://github.com/nlzy/turing-unlock/commit/d0b201809f6a6781f207cb1469f5b9154757606a) Add FP16 tensor GEMM benchmark and Gigabyte 1e04 results ### 📊 Changes **3 files changed** (+145 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+13 -1) 📝 `README.md` (+32 -0) ➕ `tests/gemm_fp16.cu` (+100 -0) </details> ### 📄 Description ## What - `tests/gemm_fp16.cu`: the cuBLAS FP16 matrix multiply with FP32 accumulate behind the README's Performance table. Takes `-d PCI_ADDRESS|INDEX` and `--min-tflops N`; exits 1 if the 8192 case stays below the threshold (default 70, above Turing's 56.9 TFLOPS peak and well below an unlocked card). - `make bench GPU=0000:01:00.0`: builds with `nvcc -arch=sm_75` into `build/` and runs it. `NVCC`, `GPU`, `MIN_TFLOPS` can be overridden. - README: tested-hardware details and a locked versus unlocked table. ## Results Two Gigabyte RTX 2080 Ti 22GB (`10de:1e04`, subsystem `1458:37c4`), 250 W, one locked and one unlocked in the same machine (TFLOPS): | M.N.K | Locked | Unlocked | | ---: | ---: | ---: | | 1024 | 37.1 | 55.5 | | 2048 | 40.9 | 74.0 | | 4096 | 57.5 | 94.2 | | 8192 | 63.6 | 106.5 | - VBIOS `90.02.17.00.7C` and `90.02.30.00.81` (different ROM layouts, both unlock) - NVIDIA driver 580.178.04 (proprietary), turing_unlock 2.0.0, firmware 610.43.03 - CachyOS (Arch-based) x86_64, kernel 7.2.10-1-cachyos, CUDA 13.4 After unlocking both cards, both pass `make bench` (about 100 to 104 TFLOPS at 8192). `MIN_TFLOPS=200` fails with exit 1 and an unknown PCI address exits 2. The locked card's FAIL against the final threshold was not re-run; its measured 63.6 is below 70. Note: the loaded kernel module for the benchmark needs the fix in the separate mkinitcpio PR on mkinitcpio systems using the `systemd` hook. Open kernel module not tested here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
nlzy/turing-unlock#23
No description provided.