mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
fix sd35 width/height alignment
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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.",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user