ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

Fix EMA config behaviour

Open jilek-josef opened this issue 10 months ago • 1 comments

EMA could not be explicitly set to false, always defaulted to True, so long as ema_config was not None

new behaviour if ema config exists and use_ema is not false result to True, otherwise False (behaviour before fix -> if ema_config is not None use_ema is always True, even when set false, otherwise False)

jilek-josef avatar Mar 04 '25 18:03 jilek-josef

What I've also noticed is that when storing ema within a job, sometimes the config acquired two values like: image

inflamously avatar Oct 14 '25 15:10 inflamously