You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fp8_nt_dev missing on SM89 (regression of #21) #91
On current main, Pi0.5 FP8 crashes on SM89 (4090 / RTX 6000 Ada / L40):
AttributeError: 'GemmRunner' object has no attribute 'fp8_nt_dev'. Did you mean: 'fp8_nn_dev'?
Looks like the SM89 FP8 path from #26 got dropped in #30 (d8d5de7) when the shared GEMM files were rewritten — but the frontend still selects the nk layout and calls fp8_nt_dev. (fp8_layout=kn isn't a workaround — it just hits the original code=15 from #21.)
Restoring the fp8_nt_dev bits from #26 fixes it; tested on RTX 6000 Ada (sanity PASS, P50 20.8 ms). Just flagging it — happy to send a PR.
This PR restores the missing SM89 fp8_nt_dev / autotune_fp8_nt_dev path, fixes Pi0.5 FP8 autotune scratch selection to use the existing size-based helpers, and applies the same autotune scratch fix to the batched RTX path with regression coverage.
Activity
LiangSu8899 commentedon Jun 17, 2026
Thanks for catching this! Yes, please feel free to send a PR — happy to review and merge it.
heiheiha798 commentedon Jun 19, 2026
Sent a fix in #93.
This PR restores the missing SM89
fp8_nt_dev/autotune_fp8_nt_devpath, fixes Pi0.5 FP8 autotune scratch selection to use the existing size-based helpers, and applies the same autotune scratch fix to the batched RTX path with regression coverage.