llama.cpp
vulkan: optimize prompt processing Flash Attention for RDNA3 and RDNA4
#31323
Open

vulkan: optimize prompt processing Flash Attention for RDNA3 and RDNA4 #31323

0cc4m wants to merge 14 commits into master from 0cc4m/vulkan-flash-attn-rdna-opt
0cc4m
0cc4m vulkan: optimize Flash Attention cm1 for RDNA3 and RDNA4
075deb79
0cc4m reduce shmem use through buffer reuse
c02faf8f
0cc4m clean up and fixes
aee457d0
0cc4m limit q_in_regs to prefill
cdf118a7
0cc4m vulkan: add flipped FA path, each subgroup owns 16 Q rows
b91f7de7
0cc4m cleanup
d5219c8f
0cc4m move flip shader into own file
61a57498
0cc4m replace kvsep with direct load mode
320e68a0
0cc4m fix nvidia hang, tune AMD
d56b44d6
0cc4m only store pv in sfsh if necessary
f6e5934e
0cc4m fix skip condition
295921ab
0cc4m nvidia tuning
7f14294d
0cc4m reduce occupancy on RDNA4 for large attention head sizes
d52056be
0cc4m 0cc4m requested a review 6 days ago
github-actions github-actions added Vulkan
github-actions github-actions added ggml
jeffbolznv
0cc4m fix sparse FA fp16 underflow bug
9731be49
0cc4m

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone