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
[Codegen][AMDGPU] Unsigned i8 matmuls use signed i8 MMA intrinsics #25375
neg_lo:[1,1,0] marks A and B as signed, so values from 128 to 255 are read as negative. gfx1201 emits the same. gfx942 and gfx950 use the i8 MFMA intrinsics, which are signed only.
Expected: the llvm-cpu result. With --input=16x16xi8=-1 for both operands, every element is 1040400.
The intrinsic is picked by element type only. canTargetIntrinsic and convertContractionToInnerTiledMma don't check the signedness of the operands, and the amdgpu.wmma ops never set unsignedA or unsignedB.
With the torch-mlir bump in #25365, the ONNX tests test_qlinearmatmul_{2D,3D}_uint8_{float16,float32} return all zeros on rdna3 and rdna4 and are expected run failures. The same tests pass on llvm-cpu.
Activity
[Integrate] Update torch-mlir to 55fcb892 (#25365)
payal101 commentedon Dec 3, 2026
can you assign this?