Skip to content

fix: AdaLN modulation to use float32 for numerical stability in fp16#2297

Merged
kohya-ss merged 1 commit intosd3from
fix-anima-fp16-nan-issue
Mar 29, 2026
Merged

fix: AdaLN modulation to use float32 for numerical stability in fp16#2297
kohya-ss merged 1 commit intosd3from
fix-anima-fp16-nan-issue

Conversation

@kohya-ss
Copy link
Copy Markdown
Owner

Simplified version of #2274, re-fix for #2277.

@kohya-ss
Copy link
Copy Markdown
Owner Author

According to #2293, this PR may also be insufficient, but it should improve the situation.

@kohya-ss kohya-ss merged commit 7cbae51 into sd3 Mar 29, 2026
3 checks passed
@kohya-ss kohya-ss deleted the fix-anima-fp16-nan-issue branch March 29, 2026 12:40
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