Skip to content

docs(sparse_attention): fix copy-pasted BigBird return line in sliding-window layout - #8448

Open
simpleqt wants to merge 1 commit into
deepspeedai:masterfrom
simpleqt:docs/sliding-window-layout-docstring
Open

docs(sparse_attention): fix copy-pasted BigBird return line in sliding-window layout#8448
simpleqt wants to merge 1 commit into
deepspeedai:masterfrom
simpleqt:docs/sliding-window-layout-docstring

Conversation

@simpleqt

@simpleqt simpleqt commented Sep 7, 2026

Copy link
Copy Markdown

LocalSlidingWindowSparsityConfig.make_layout builds a sliding-window sparsity layout (via set_sliding_window_layout), but its Return: line was copied verbatim from BigBirdSparsityConfig.make_layout and claims to return a BigBird layout. The line now names the layout this class actually produces. Docs-only.

Signed-off-by: simpleqt 89645338+simpleqt@users.noreply.github.com

…g-window layout

LocalSlidingWindowSparsityConfig.make_layout builds a sliding-window
layout, but its Return line was copied verbatim from
BigBirdSparsityConfig.make_layout and claims a BigBird layout.

Signed-off-by: simpleqt <89645338+simpleqt@users.noreply.github.com>
@simpleqt
simpleqt requested a review from tohtana as a code owner September 7, 2026 16:20
Copilot AI lite review requested due to automatic review settings September 7, 2026 16:20

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants