A 64% Faster Flux That Lasts Until You Power Off
A community UEFI tool removes the tensor-core rate limiter on consumer RTX cards before Windows boots, and publishes the before and after: 30 Flux steps in 15.2 seconds instead of 25.0, and a smaller gain on a video model. The interesting row is the one that barely moves.
AI-assisted draft. Reviewed and edited by the Phosphene team before publication.
On this page

Thirty sampling steps on Flux.1-dev take 15.2 seconds on an RTX 4090 running an unlock tool, against 25.0 seconds stock. That is the project's own table, published in the repository of a small UEFI utility called universal-gpu-unlock. Two things make the figure worth taking seriously: it is measured rather than projected, and it ends when you power the machine off.
The tool runs before Windows starts. You boot it from a USB stick, it spends about 300 milliseconds reconfiguring the card, and then it hands control back to the normal Windows bootloader. The unmodified NVIDIA driver loads afterwards. Nothing is written to the VBIOS.
That last part is the whole pitch, and also the whole limitation. The change lives in volatile GPU memory, so a full power-off returns the card to factory behaviour. If you shut the machine down at the end of the day, the speedup is gone at the start of the next one, and you boot the stick again.
What the limiter is supposed to be
The premise, as the maintainer states it, is that Ada consumer cards restrict FP16 and BF16 tensor math when it accumulates into FP32. That is the shape of most of the arithmetic a diffusion transformer does: matrix multiplies whose results pile up in higher precision than the inputs. Cards sold as professional parts in the same generation are the comparison the project builds on, and the gap between those two product lines is why people keep probing this boundary.
The documented history matters here. The credits point at geodnb's work at Ablation Lab on GPU cold-state behaviour and register architecture, and at Zagitta and WildFlash1st for the Linux gpu-unlock research and the CMP 90HX rejoining method. This is not a single clever binary. It is the Windows packaging of a line of probing that other people started, and the README is unusually direct about that.
Read the table twice
The measured rows, on one RTX 4090:
- Flux.1-dev sampling: 1.20 it/s stock, 1.97 it/s unlocked, 25.0 s to 15.2 s
- MiniMax-H3 video DiT: 15.20 s/it stock, 11.15 s/it unlocked, 304 s to 223 s for a 5-second clip
- FP16 tensor GEMM at 4096²: 132.1 to 208.9 TFLOPS
- BF16 tensor GEMM at 8192²: 149.3 to 167.4 TFLOPS
- FP32 CUDA shaders: 51.3 to 48.7 TFLOPS
- VRAM copy bandwidth: 733.4 to 707.2 GB/s
The two Flux figures are 30 steps in both columns, so 1.64x is the per-step gain. The video row is 20 steps in both columns, so 1.36x. The last two rows are the control: FP32 shader work and memory copies come out slightly lower after the unlock, which is roughly what parity looks like when the difference is noise rather than a change.
Then there is a second pair of numbers in the same table, for the same Flux workload: "high-res image generation in ~24s instead of ~34s." That does not match 25.0 and 15.2, and it is not a typo either. The two pairs fit together if you read the first as sampling only and the second as the whole job, though the table does not say which run produced which figure, so the subtraction is mine: 34 seconds minus 25 leaves about 9 seconds that is not sampling, and 24 seconds minus 15.2 leaves about 8.8.
That gap is the most useful number in the table. A model run is sampling plus everything around it: text encoding, VAE decode, model load, the first image after a cold start. Be careful with the assumption that all of it is insulated from the unlock. Flux encodes the prompt with a T5 text encoder, which is matrix work on the GPU, and VAE decode is convolution work on the same GPU, so the fixed figure is a reading of one run rather than a hardware property. If sampling is 73 percent of your job and the rest really is fixed, a 1.64x gain on sampling works out to roughly 1.38x on the job; if the surrounding work speeds up too, the real gain is a little better. Both the 9-second figure and that multiplier are estimates built on the subtraction above, not published measurements to quote. They are still the right shape of number to plan against.
Why one GEMM row gains 58 percent and another gains 12
The 4096² FP16 row nearly doubles, 1.58x. The 8192² BF16 row gains 12 percent. Same card, same unlock, same afternoon.
The explanation in the README is the L2 cache. AD102 carries 72 MB of it, which on a 4090 is larger than most people assume. A 4096×4096 FP16 operand is about 32 MB, so a pair of them fits inside that cache, and the README's reading is that the multiply then runs compute-bound. Push the matrix to 16384×16384, with a footprint past a gigabyte, and the same reading says the work becomes bound by GDDR6X bandwidth, which the unlock does not touch. Cache size alone does not settle it: a tiled GEMM reuses data at any size, so a matrix bigger than L2 can still be compute-bound, and only profiling says which limit you are actually hitting. Treat the crossover as the maintainer's explanation rather than a measured boundary. The BF16 8192² row lands between the two, and gains accordingly.
The maintainer's conclusion is that real inference and training slice tensors into 1024 to 4096 blocks, so the workloads that matter sit in the fast part of the curve. That is broadly how diffusion attention and MLP blocks are tiled, and it is why image sampling gains more than the big-matrix number suggests.
The general lesson is worth carrying past this tool. Removing a limiter only pays where the limiter was the actual bottleneck. If a workload is bound by memory traffic, you can unlock every tensor core on the die and the wall clock will not notice. That is the same reason a bandwidth-starved 16 GB card performs like a slower card even with a fast chip on it, which we walked through in the local hardware comparison.
The framework still thinks your card is slow
Here is the detail I did not expect, and it generalises further than the unlock does.
NVIDIA's cuBLASLt picks matrix multiplication kernels from heuristic models calibrated on rate-limited consumer cards. Unlock the hardware and the library keeps choosing tiles sized for the card it thinks you have. The README's advice is to enable benchmark mode, torch.backends.cudnn.benchmark = True in a PyTorch script or the equivalent in ComfyUI. Be precise about what that flag covers, because the README is not: cudnn.benchmark selects convolution algorithms, and it does not tune cuBLASLt's matrix multiplications, so on its own it cannot re-tune the dense GEMM path this paragraph is about. The claimed extra, 15 to 35 percent on dense GEMM, SDXL and LLM prefill, is the maintainer's estimate and no table in the repository backs it. If you test the flag, measure the workload you run rather than trusting the range.
Still, the pattern is real and it is not specific to GPUs. Software caches assumptions about the hardware underneath it, and those assumptions survive the hardware changing. If you swap a device, change a driver, or move a graph between machines, rerun the autotune path before you believe the benchmark. The default kernel is chosen for the machine everyone else has.
What the tool actually does at boot
The transaction is short and reasonably well described in the repository: isolate the GPU's BAR0 memory-mapped region, start the FWSEC and SEC2 Falcon coprocessors, rewrite the rate-limiter selectors (the README lists SS0 -> 0x88888888, SS1 -> 0x8, readout1 -> 0), then chain to Windows.
There are four modes, and they are not equivalent.
- Standard unlock: RAM only, reverted by a power-off.
- S3 persistence: an experimental sleep-aware build for keeping the state across suspend.
- Install to NVRAM: copies a DXE driver into the internal EFI System Partition and registers it in the UEFI
DriverOrder, so every cold boot unlocks without the stick, provided that copy succeeds. If the write to the internal ESP fails, the same mode registers the driver on the USB drive instead, and then the stick has to stay connected or the unlock will not load. A failed unlock disables the driver for the next boot, and running this mode again re-enables it. - Remove: unregisters the driver from NVRAM and the ESP again.
Modes one and four are reversible in the sense most people mean. Mode three writes to the machine's firmware boot configuration and needs a supported removal path to undo, which the project provides as a menu item rather than as a certainty. On Secure Boot, the options are to disable it or to enrol the project's certificate as an authorised signature in the firmware's db. The second keeps Secure Boot on, and it also broadens what your firmware will trust to anything signed with that key.
Sleep is the operational trap. The unlock lives in GPU state that an idle power gate can drop, so the project ships a helper that disables aggressive PCIe ASPM and runtime D3cold, and another that hides the Sleep button from the Start menu. If you have ever had a laptop quietly lose a state after sitting idle, you know exactly why both exist.
What the evidence is worth
The maintainer reports 44 supervised runs on one RTX 4090 platform, of which the last 18 passed. That is a developer testing their own tool on their own machine, and it is a reasonable amount of care. It is not independent validation.
The CI is honest about its own limits: the workflow builds the binaries and runs host tests that mock the firmware services, and the README states plainly that none of it runs on a GPU. Supported hardware is broad on paper, from the 4090 down through the 3060 and into Turing, with Ampere confirmed by community reports and Turing still being checked.
The community table needs the most scepticism. It lists a 4090 readback of 255.0 and 255.4 TFLOPS on two different motherboards, against 208.9 in the maintainer's own 4096² GEMM measurement. Those are not the same measurement. A verification readback, a 4096² GEMM and a sustained sampling loop will all print different numbers for the same card, and comparing across rows tells you about the harness, not the hardware. The repository is also three weeks old, carries 32 stars as I write this, and is maintained by one person. Read the table as one maintainer's bench rather than a product spec.
None of that makes the numbers fake. It means the numbers are one person's bench plus a handful of issue reports, which is how most of this knowledge starts.
Where it changes a decision
For a single image you are iterating on, this is close to pointless. The estimate assigns about 8.8 seconds of a 24-second job to text encode and VAE decode, more than a third of it, plus model load if you are switching checkpoints. Sampling is still the larger share, but that fixed block is the part the unlock cannot shorten, and rebooting through a USB stick to save ten seconds is a bad trade.
For a batch of a hundred stills overnight, it is a different calculation. Sampling is most of the wall clock and it is the part the unlock speeds up. Model load is paid once for the whole batch. Text encoding is cheaper than per image, but only inside one pipeline call: the Flux pipeline encodes the prompt once and repeats the embeddings across num_images_per_prompt images from that call. A queue of separate calls with the same prompt encodes it again unless you pass the cached pair yourself: prompt_embeds and pooled_prompt_embeds together, with prompt and prompt_2 left out. Pass one without the other and the pipeline raises rather than falling back, which is the useful failure here rather than a silent re-encode. VAE decode has no such shortcut. Each latent is decoded before it becomes an image, so decode stays a per-image cost however well the queue caches. The share that resists the unlock therefore sits below its single-image value, by the cost of model load and by however much of the text encoding your batch shares. Taking the 27 percent from the arithmetic above and treating it as an upper bound on the resisting share — which is optimistic if every row is its own call — 1.64x on sampling works out at around 1.38x per image or a little better, and an eight-hour queue becomes something under six. That figure is still my arithmetic on an estimate: it assumes sampling stays the bottleneck on every row and that nothing else in the queue becomes the constraint.
For video, the 36 percent on the DiT is the interesting number, because a 5-second clip is 304 seconds of mostly sampling and the 81 seconds saved per render compounds across a shot list. That is also where the fixed costs are least able to hide.
Two things stay true regardless. If your work is hosted, this does not apply to you at all, and the hourly economics of a rented 4090 have not changed. If your card is under 24 GB, the memory ceiling is still the memory ceiling, and a faster tensor pipe does not let you hold a second model.
By the maintainer's own benchmark, the tool delivers about 1.64x on the sampling step of local image generation on one RTX 4090, reverted in standard mode by a full power-off rather than a reboot, and gated behind firmware configuration most people should read twice before touching. That rollback line does not extend to the NVRAM install: once the driver is registered in the firmware's boot order, a reboot loads the unlock again, and stopping the automatic unlocking means running the project's Remove option to unregister it. Keep the scope narrow too: we have one card and one workload table, not a result for Windows consumer cards in general. The rule it demonstrates is the one worth keeping: a gain shows up where the bottleneck was, and nowhere else.