[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-02 10:01:41 +00:00
commit 3aebcf45ee

View file

@ -1162,6 +1162,7 @@ async def start_diffusion_training(
# then refused (bad numbers, a non-SDXL base model) never tears down the user's
# loaded chat/Images model. service.start() re-runs this cheaply before spawn.
from core.training.diffusion_lora_trainer import _config_from_dict
try:
_config_from_dict(config).normalized()
except ValueError as e: