kohya-ss / kohya-ss/sd-scripts

SIGFPE / Floating Point Exception using Prodigy

Open
#2,271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

I wanted to post here that running the SDXL training script with the latest branch and training crashed consistently with SIGFPE (floating point exception).

I'm using an Nvidia T4, CUDA 12 and Torch 2.10. Among other settings, I used FP16 mixed precision training and the Prodigy optimizer. Using Prodigy specifically caused the floating point crash.

After trying many different things, I finally was able to resolve the issue by installing Torch 2.9.1.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the SDXL training script using FP16 mixed precision, Prodigy, an Nvidia T4, CUDA 12, and Torch 2.10, and reproduce the SIGFPE while comparing Torch 2.9.1. Done means identifying the compatibility cause and documenting or testing a fix for this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.