Commit c0a6c7c
HIP: drop the RDNA3.5 q8_0 J=64 -> J=96 widening
The widening existed because J=64 was several times slower for q8_0, but that was
the generic ntx=2 schedule which rows_per_warp() no longer selects for block
quants. With J=64 healthy the widening only pads 64 valid columns into a 96-wide
tile.
Cosmos-Reason2-8B Q8_0, llama-bench -p 512 -r 3 on gfx1151:
ubatch 64 (J 96 -> 64): 883.1 -> 1118.5 t/s (+26.7%)
ubatch 96 (J 96, same): 1151.4 -> 1147.2 t/s (-0.4%)
ubatch 128 (J 128, same): 1416.1 -> 1398.1 t/s (-1.3%)
MoE keeps its own widening, which is untested here and unchanged.
test-backend-ops MUL_MAT: 1484/1484.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 2a6e364 commit c0a6c7c
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1822 | 1822 | | |
1823 | 1823 | | |
1824 | 1824 | | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
1829 | 1833 | | |
1830 | 1834 | | |
1831 | 1835 | | |
1832 | 1836 | | |
1833 | 1837 | | |
1834 | 1838 | | |
1835 | 1839 | | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | 1840 | | |
1840 | 1841 | | |
1841 | 1842 | | |
| |||
0 commit comments