diffusers
Avoid float32 copies of q / k in the RoPE helpers
#15215
Merged

Avoid float32 copies of q / k in the RoPE helpers #15215

klin2024
github-actions github-actions added models
github-actions github-actions added size/S
klin2024 klin2024 force pushed from dc3ef96a to 52d4b5b3 15 days ago
klin2024 klin2024 marked this pull request as ready for review 15 days ago
github-actions github-actions added tests
github-actions github-actions removed size/S
github-actions github-actions added size/M
klin2024 klin2024 changed the title Avoid float32 copies of the input in apply_rotary_emb Avoid float32 copies of q / k in the RoPE helpers 14 days ago
github-actions
klin2024 Avoid float32 copies of the input in apply_rotary_emb
52d4b5b3
klin2024 Drop the float32 copies in the model-local RoPE helpers too
e31b95f3
klin2024 Test apply_rotary_emb against the float32 reference
86056862
github-actions
github-actions github-actions closed this 3 days ago
klin2024
sayakpaul sayakpaul reopened this 3 days ago
sayakpaul sayakpaul requested a review from yiyixuxu yiyixuxu 3 days ago
yiyixuxu yiyixuxu added no-issue-needed
HuggingFaceDocBuilderDev
yiyixuxu
yiyixuxu commented on 2026-11-20
klin2024
github-actions github-actions removed tests
klin2024 Use one comment for the RoPE type-promotion casts and drop the unit test
b7e1816a
yiyixuxu
yiyixuxu approved these changes on 2026-11-24
yiyixuxu yiyixuxu merged aa974d5c into main 2 hours ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone