mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[GH-ISSUE #27] Compatibility report: works on CachyOS (clang/ThinLTO kernel), 2x RTX 3090 — +53–58% BF16/FP16/TF32 and FlashAttention 2, bit-identical outputs #20
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#20
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 @JoaoZaokk on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Zagitta/gpu-unlock/issues/27
Thanks for this. Data point from a dual-3090 workstation, including the display card.
Setup
10de:2204,0000:01:00.0(VBIOS94.02.42.00.A7) and0000:05:00.0(VBIOS94.02.42.00.9A, drives the desktop)7.2.10-1-cachyos(built with clang 23, ThinLTO),linux-cachyos-nvidia-open615.78.08systemdhook, Secure Boot offc274e74(I stayed offfc83321because of #20), built withmakepkgfrompackaging/arch, installed withpacman -Ugpu_unlock.targets=all, cold bootNotes on installing
zz-gpu-unlock.confdrop-in still needs the #14 fix (gpu_unlock?->gpu_unlock) with thesystemdhook; after thatMODULES.conflistsgpu_unlockand the unlock runs. No nvidia module is in my initramfs, so it loads well beforenvidia.LLVM=1by itself (CONFIG_CC_IS_CLANG=y), so the package install just works.gpu_unlock: unlockedabout 1 s into boot; the display card's screen is blank for a few seconds, as documented. No Xid,nvidiabinds both.Results (same script before/after, PyTorch 2.13 + CUDA 13.0, card at
0000:01:00.0, idle desktop on the other card)Power limit 350 W (stock):
Power limit 280 W: BF16 GEMM +43%, FP16 +38%, TF32 +47%, FlashAttention 2 +50%, masked cuDNN SDPA +29%, controls within 1.6%.
Every kernel's output hash (fixed inputs) is identical before and after: bit-identical numerics, as the README says.
End to end, a diffusion model (Z-Image Turbo, 1024², 8 steps, BF16, FlashAttention 2) went to 4.89 s per image; repeated runs are bit-identical across server restarts.
Side effect worth knowing
Some hand-tuned "fp16-accumulate P·V" attention kernels that beat FlashAttention 2 on stock GeForce Ampere (because FP32-accumulate HMMA was half rate) lose to FA2 once unlocked: mine went from 20% faster to 6–15% slower, so I now switch it off when
/sys/module/gpu_unlock/parameters/targetsis set. INT8 attention (SageAttention, int8 QK) is now within 2–22% of exact FA2.@Zagitta commented on GitHub (Oct 27, 2026):
Thanks for the report! Success reports now live in one place: https://github.com/Zagitta/gpu-unlock/discussions/238. Closing this so the issue tracker stays focused on cards where the unlock fails. Your numbers stay searchable here under the
success-reportlabel. If something stops working later, please open an unlock failure issue.