llama.cpp
0ad82ed9 - CUDA: use fastdiv for the short row soft_max indices

Commit
1 day ago
CUDA: use fastdiv for the short row soft_max indices The one thread per row soft_max spent more time in its 64-bit row index divisions than on the row itself. On 3.4M rows of 4 without mask, soft_max goes from 23.9 to 18.2 us.
Parents
Loading