onnxruntime
DP4MatMulNBits accuracy level 4 matmul for WebGPU EP
#23365
Merged

DP4MatMulNBits accuracy level 4 matmul for WebGPU EP #23365

guschmue merged 19 commits into main from user/sushraja/dp4_matmul
sushraja-msft
sushraja-msft sushraja-msft changed the title Dp4MatMulNBits low accuracy matmul for WebGPU EP WIP: Dp4MatMulNBits low accuracy matmul for WebGPU EP 1 year ago
guschmue guschmue added ep:WebGPU
sushraja-msft sushraja-msft changed the title WIP: Dp4MatMulNBits low accuracy matmul for WebGPU EP WIP: Dp4MatMulNBits accuracy level 4 matmul for WebGPU EP 1 year ago
sushraja-msft Initial commit with the dequantizer
5d972348
sushraja-msft Enable the matmul
9f200293
sushraja-msft Add comment
82236b8a
sushraja-msft Fix quantize to support sg_size 8
af2bc783
sushraja-msft Rearrange code to keep inputs in registry. On WU driver 179 tps or 2.…
b9df530e
sushraja-msft Quantize now supports all subgroup sizes.
283f4b17
sushraja-msft removing subgroup stuff from loadSHMA
61c1d607
sushraja-msft loadSHMB should now work for all sg_size
05570aaa
sushraja-msft Ready for sgsize implementation of perform_16_64_16 matmul
b739ad6f
sushraja-msft Remove dequantize and read accuracy level. Not using accuracy level y…
429b7841
sushraja-msft Add a no subgroup version, perf on adl 500tk
97a359b4
sushraja-msft Ran the linter and added back the accuracy level check.
b690857e
sushraja-msft Fix typos
ceddd082
sushraja-msft Add additional check that N%16 == 0, because we dont check bounds dur…
23701b9a
sushraja-msft Fix last typo
ab389917
sushraja-msft Add subgroup check
73ee5d1e
sushraja-msft sushraja-msft force pushed from 0dd9e679 to 73ee5d1e 1 year ago
qjia7
qjia7 commented on 2025-01-18
sushraja-msft Reduce k tile size to 32, to relieve registr memory pressure.
48727757
sushraja-msft add f32 support
524da06d
sushraja-msft Disable dp4a matmul on macOS, since metal does not appear to have DP4…
d56b9c3d
guschmue
guschmue approved these changes on 2025-01-21
guschmue
guschmue guschmue merged 58c29d34 into main 1 year ago
guschmue guschmue deleted the user/sushraja/dp4_matmul branch 1 year ago
sushraja-msft sushraja-msft changed the title WIP: Dp4MatMulNBits accuracy level 4 matmul for WebGPU EP Dp4MatMulNBits accuracy level 4 matmul for WebGPU EP 1 year ago
sushraja-msft sushraja-msft changed the title Dp4MatMulNBits accuracy level 4 matmul for WebGPU EP DP4MatMulNBits accuracy level 4 matmul for WebGPU EP 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone