Skip to content

sdpa is_causal: offset tril by seq_k - seq_q#7

Open
ikanquit wants to merge 1 commit into
masterfrom
fix/sdpa-causal-mismatched-seq
Open

sdpa is_causal: offset tril by seq_k - seq_q#7
ikanquit wants to merge 1 commit into
masterfrom
fix/sdpa-causal-mismatched-seq

Conversation

@ikanquit

Copy link
Copy Markdown
Owner

tril() with seq_q=1, seq_k>1 only allowed key 0

@ikanquit ikanquit changed the title sdpa is_causal: offset tril by seq_k - seq_q for decode sdpa is_causal: offset tril by seq_k - seq_q May 29, 2026
@ikanquit ikanquit force-pushed the fix/sdpa-causal-mismatched-seq branch from 84cb506 to c104a36 Compare May 29, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant