diff --git a/CHANGELOG.md b/CHANGELOG.md index b9d446981..e6f00ded4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -105,6 +105,7 @@ And (*as always*) many bugfixes and improvements to existing features! - fix `nunchaku` windows download links - fix *Flux.1-Kontext-Dev* with variable resolution - use `utf_16_be` as primary metadata decoding + - fix `sd35` width/height alignment - reapply offloading on ipadapter load - api set default script-name - avoid forced gc and rely on thresholds diff --git a/html/reference.json b/html/reference.json index 0bfa15f16..7988b3107 100644 --- a/html/reference.json +++ b/html/reference.json @@ -201,7 +201,7 @@ "skip": true, "extras": "sampler: Default, cfg_scale: 3.5" }, - "lodestones Chroma Unlocked v48 Flash": { + "lodestones Chroma Unlocked v46 Flash": { "path": "vladmandic/chroma-unlocked-v46-flash", "preview": "lodestones--Chroma.jpg", "desc": "Chroma is a 8.9B parameter model based on FLUX.1-schnell. It’s fully Apache 2.0 licensed, ensuring that anyone can use, modify, and build on top of it—no corporate gatekeeping. The model is still training right now, and I’d love to hear your thoughts! Your input and feedback are really appreciated.", diff --git a/modules/processing_args.py b/modules/processing_args.py index e45626d26..5959f98f4 100644 --- a/modules/processing_args.py +++ b/modules/processing_args.py @@ -122,8 +122,11 @@ def task_specific_kwargs(p, model): 'target_subject_category': getattr(p, 'prompt', '').split()[-1], 'output_type': 'pil', } - -# TODO + if model.__class__.__name__ == 'StableDiffusion3Pipeline': + p.width = 16 * (p.width // 16) + p.height = 16 * (p.height // 16) + task_args['width'] = p.width + task_args['height'] = p.height if debug_enabled: debug_log(f'Process task specific args: {task_args}') return task_args