RepositoryC
Zagitta

Zagitta/gpu-unlock

Your GeForce runs AI at half speed. This fixes it for 20/30/40 series cards. Up to 2× FP16 / BF16 / TF32 tensor throughput

21.8ksao
2.3kfork
85issue
0lượt xem

🔓 Unlock hidden tensor core speed on GeForce RTX

NVIDIA caps GeForce tensor cores at half speed. gpu-unlock removes that cap at boot, before the driver loads.

gpu-unlock is a Linux kernel module that bypasses NVIDIA's artificial tensor core speed limitation on GeForce RTX 20, 30, and 40 series cards. The same silicon sold as professional RTX A-series cards runs at full rate, but consumer GeForce cards are capped for FP16, BF16, and TF32 math — the precision used by nearly all AI training and unquantized inference. This tool removes the cap at boot time, before the stock NVIDIA driver initializes, with no patched drivers, no VBIOS flashing, and nothing to redo when NVIDIA updates its driver.

✨ Highlights

  • Boot-level unlock: removes the tensor core cap before the NVIDIA driver loads, eliminating the need for driver patches or VBIOS flashes.
  • Up to 2× tensor throughput: doubles FP16, BF16, and TF32 matrix math performance on supported cards.
  • Stable on Ampere (RTX 30): over 100 user reports confirm stability across the full RTX 30 lineup including laptop variants.
  • Experimental on Ada Lovelace and Turing: RTX 40 and RTX 20 series supported with community-reported compatibility.
  • Real workload gains: +25–55% LLM prefill, +25–50% fine-tuning, +30–55% image generation, and +50–60% FlashAttention speedup.
  • Bit-identical outputs: only performance changes; numerical results remain exactly the same.
  • Driver-version independent: no need to reapply after NVIDIA driver updates; the unlock persists across reboots.

💡 Why it matters

What makes gpu-unlock notable is that it targets the root cause rather than working around it. Most performance tweaks optimize within the driver's constraints; gpu-unlock intervenes at boot to remove the artificial cap before the driver ever sees it. This means the full tensor core rate is available to every AI framework — PyTorch, vLLM, Transformers, llama.cpp — without any per-workload tuning.

It is especially useful for local AI developers, researchers, and hobbyists running LLMs, fine-tuning, or image generation on consumer hardware who want professional-grade tensor performance without buying an expensive workstation card. The tool is open source under GPL-2.0, and the community actively contributes compatibility reports and benchmarks.


#AI #GPU #Linux #OpenSource #TiniX