llama.cpp
2a335259 - ggml/CUDA+HIP: Flash Attention with indexed bias (#33063)

Commit
1 day ago
ggml/CUDA+HIP: Flash Attention with indexed bias (#33063) * cuda : port indexed bias FA onto the refactored loaders Replays the #32740 bias support on the shared typed tile loader, adds bias in F32 to match the CPU reference and routes rows via KV_indirection. * cuda : return zeros for a fully masked FA query row An all -inf mask row has a zero softmax sum, which divided gave NaN. Guard the tile, vec and results-combine divisions so it gives zeros, as ggml-cpu. * Code review from Fable * fixup! cuda : port indexed bias FA onto the refactored loaders
Author
Parents
Loading