llama.cpp
0ad82ed9
- CUDA: use fastdiv for the short row soft_max indices
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#33187 - CUDA: one thread per row for soft_max and sum_rows on short rows
Author
ServeurpersoCom
Parents
68c684db
Loading