Skip to content

Follow up fix custom flash block sizes fallback in Ulysses attention#437

Open
ninatu wants to merge 1 commit into
mainfrom
ninatu/fix_heads_per_tile2
Open

Follow up fix custom flash block sizes fallback in Ulysses attention#437
ninatu wants to merge 1 commit into
mainfrom
ninatu/fix_heads_per_tile2

Conversation

@ninatu

@ninatu ninatu commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

The same fix as in #420 since bug was reintroduced again in #430 during refactoring

@ninatu ninatu requested a review from entrpn as a code owner July 2, 2026 15:03
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Perseus14
Perseus14 previously approved these changes Jul 2, 2026
@ninatu ninatu force-pushed the ninatu/fix_heads_per_tile2 branch 3 times, most recently from da3dbfc to 322fb6b Compare July 8, 2026 09:40
@entrpn

entrpn commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

@eltsai can you review these changes?

Ensure that block sizes and heads_per_tile fall back to default values
when resolved as None from CustomFlashBlockSizes dataclass. This fixes
a TypeError in ulysses_custom attention when heads_per_tile is
not specified.
@ninatu ninatu force-pushed the ninatu/fix_heads_per_tile2 branch from 6e416fb to 58b6714 Compare July 9, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants