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

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 requested a review from entrpn as a code owner July 2, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants