Added ability to activate experimental blank stabilization during training to zero out latents with blank prompts.

This commit is contained in:
Jaret Burkett committed 2026-02-04 13:00:03 -07:00
1 parent 42acb0d4be
commit 5c37db04f9
2 files changed
+11

No files matched your search

+3
View File
@@ -559,6 +559,9 @@ class TrainConfig:
# for multi stage models, how often to switch the boundary
self.switch_boundary_every: int = kwargs.get('switch_boundary_every', 1)
# stabilizes empty prompts to be zeroed predictions
self.do_blank_stabilization = kwargs.get('do_blank_stabilization', False)
ModelArch = Literal['sd1', 'sd2', 'sd3', 'sdxl', 'pixart', 'pixart_sigma', 'auraflow', 'flux', 'flex1', 'flex2', 'lumina2', 'vega', 'ssd', 'wan21']