Skip to content

Fix custom flash block sizes fallback in Ulysses attention#420

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

Fix custom flash block sizes fallback in Ulysses attention#420
ninatu wants to merge 1 commit into
mainfrom
ninatu/fix_heads_per_tile

Conversation

@ninatu

@ninatu ninatu commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

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.

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 June 16, 2026 09:52
@github-actions

Copy link
Copy Markdown

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