Skip to content

Fix sliding window size for token attention kernel#1312

Merged
WANDY666 merged 1 commit into
mainfrom
WANDY666-patch-2
May 18, 2026
Merged

Fix sliding window size for token attention kernel#1312
WANDY666 merged 1 commit into
mainfrom
WANDY666-patch-2

Conversation

@WANDY666
Copy link
Copy Markdown
Contributor

No description provided.

@WANDY666 WANDY666 merged commit eaf0f42 into main May 18, 2026
1 check passed
@WANDY666 WANDY666 deleted the WANDY666-patch-2 branch May 18, 2026 03:20
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the _token_attention_kernel in transformer_layer_infer.py to adjust the window_size for sliding window attention, changing the second parameter from self.sliding_window - 1 to 0. I have no feedback to provide as there were no review comments.

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