diffusers
aaf57d03 - Remove expired non_ema_revision deprecation blocks from training examples (#15118)

Commit
6 days ago
Remove expired non_ema_revision deprecation blocks from training examples (#15118) The deprecate('non_ema_revision!=None', '0.15.0', ...) call expired: the deprecation helper now raises on any removal-past version, so the plain --revision=main flow (parser defaults non_ema_revision to revision) crashes with TypeError: deprecate() got an unexpected keyword argument 'message' before model loading. Drop the six expired blocks and their unused imports. Verified: the text-to-image example trains end to end with --revision=main on the tiny SD checkpoint after this change.
Author
Parents
Loading