claude suggested fix.

This commit is contained in:
Rohan Khan 2026-04-13 22:37:07 +06:00
parent 0725192e07
commit 0b6d93f3c2

View File

@ -158,7 +158,7 @@ def flash_attn_with_kvcache(q, k_cache, v_cache, k=None, v=None, cache_seqlens=N
q, k_cache, v_cache, k=k, v=v, cache_seqlens=cache_seqlens,
causal=causal, window_size=window_size
)
y = XSA(y, v_cache)
y = XSA(y, v)
return y
# SDPA fallback: manually manage KV cache