diffusers
Avoid float32 copies of q / k in the RoPE helpers
#15215
Merged
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
4
Changes
View On
GitHub
Avoid float32 copies of q / k in the RoPE helpers
#15215
yiyixuxu
merged 4 commits into
huggingface:main
from
klin2024:dev/klin/rope-no-float-copies
github-actions
added
models
github-actions
added
size/S
klin2024
force pushed
from
dc3ef96a
to
52d4b5b3
15 days ago
klin2024
marked this pull request as ready for review
15 days ago
github-actions
added
tests
github-actions
removed
size/S
github-actions
added
size/M
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
Avoid float32 copies of the input in apply_rotary_emb
52d4b5b3
Drop the float32 copies in the model-local RoPE helpers too
e31b95f3
Test apply_rotary_emb against the float32 reference
86056862
github-actions
closed this
3 days ago
sayakpaul
reopened this
3 days ago
sayakpaul
requested a review
from
yiyixuxu
3 days ago
yiyixuxu
added
no-issue-needed
yiyixuxu
commented on 2026-11-20
github-actions
removed
tests
Use one comment for the RoPE type-promotion casts and drop the unit test
b7e1816a
yiyixuxu
approved these changes on 2026-11-24
yiyixuxu
merged
aa974d5c
into main
2 hours ago
Login to write a write a comment.
Login via GitHub
Reviewers
yiyixuxu
Assignees
No one assigned
Labels
models
size/M
no-issue-needed
Milestone
No milestone
Login to write a write a comment.
Login via GitHub