diffusers
Fix `Ideogram4MRoPE` collapsing under `torch.autocast` (compute rotary in float32)
#13922
Merged

Fix `Ideogram4MRoPE` collapsing under `torch.autocast` (compute rotary in float32) #13922

HaozheZhang6
HaozheZhang6 Fix `Ideogram4MRoPE` collapsing under `torch.autocast` (compute rotar…
33c76774
github-actions github-actions added fixes-issue
github-actions github-actions added size/M
github-actions github-actions removed size/M
github-actions github-actions removed fixes-issue
github-actions github-actions added models
github-actions github-actions added tests
dxqb
HaozheZhang6
sayakpaul
sayakpaul commented on 2026-06-12
HaozheZhang6 Compute the rotary frequencies in float64 instead of disabling autocast
717d13c2
github-actions github-actions added fixes-issue
github-actions github-actions added size/S
sayakpaul sayakpaul requested a review from dg845 dg845 38 days ago
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
81955e9a
HuggingFaceDocBuilderDev
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
0081d613
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
7cd6749d
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
606b0969
dg845
dg845 commented on 2026-06-18
dg845
dg845 commented on 2026-06-18
HaozheZhang6 Disable autocast for Ideogram4 rope matmul instead of using float64
e8564d25
github-actions github-actions removed size/S
github-actions github-actions added size/M
HaozheZhang6
dg845
dg845 commented on 2026-06-18
dg845
HaozheZhang6 Disable autocast for ernie_image and helios rope einsum
508e5350
HaozheZhang6 Disable autocast for Cosmos3 VL-text rope matmul
0cadcfc0
HaozheZhang6
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
f4552565
dg845 Merge branch 'main' into fix/ideogram4-rope-autocast
bae53aa3
dg845
dg845 approved these changes on 2026-06-19
HaozheZhang6 Tighten autocast(enabled=False) to just the rope matmul
bd834c02
HaozheZhang6
github-actions github-actions removed size/M
github-actions github-actions added size/S
dg845 dg845 merged 6e8c8c4c into main 31 days ago
HaozheZhang6 HaozheZhang6 deleted the fix/ideogram4-rope-autocast branch 31 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone