Skip to content

fp8_nt_dev missing on SM89 (regression of #21) #91

Closed

Description

@symoon11

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.

Activity

  1. LiangSu8899 commented on Jun 17, 2026

    @LiangSu8899
    Member

    Thanks for catching this! Yes, please feel free to send a PR — happy to review and merge it.

  2. heiheiha798 commented on Jun 19, 2026

    @heiheiha798
    Contributor

    Sent a fix in #93.

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions