mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 09:38:23 +02:00
@@ -38,6 +38,8 @@
|
||||
- refactor legacy processing loop
|
||||
- fix Wan 2.2-5B I2V workflow
|
||||
- fix OpenVINO
|
||||
- fix video model vs pipeline mismatch
|
||||
- fix video generic save frames
|
||||
- fix inpaint image metadata
|
||||
- fix processing image save loop
|
||||
- fix progress bar with refine/detailer
|
||||
|
||||
@@ -108,6 +108,7 @@ def generate(args): # pylint: disable=redefined-outer-name
|
||||
|
||||
if args.mask is not None:
|
||||
options['mask'] = encode(args.mask)
|
||||
|
||||
data = post('/sdapi/v1/control', options)
|
||||
t1 = time.time()
|
||||
if 'info' in data:
|
||||
|
||||
Submodule extensions-builtin/sdnext-modernui updated: 43ed2ea510...9052df510e
@@ -451,7 +451,13 @@ def update_pipeline(sd_model, p: processing.StableDiffusionProcessing):
|
||||
|
||||
|
||||
def validate_pipeline(p: processing.StableDiffusionProcessing):
|
||||
is_video_model = ('video' in shared.sd_model_type.lower()) or ('video' in shared.sd_model.__class__.__name__.lower())
|
||||
from modules.video_models.models_def import models as video_models
|
||||
models_cls = []
|
||||
for family in video_models:
|
||||
for m in video_models[family]:
|
||||
if m.repo_cls is not None:
|
||||
models_cls.append(m.repo_cls.__name__)
|
||||
is_video_model = shared.sd_model.__class__.__name__ in models_cls
|
||||
is_video_pipeline = 'video' in p.__class__.__name__.lower()
|
||||
if is_video_model and not is_video_pipeline:
|
||||
shared.log.error(f'Mismatch: type={shared.sd_model_type} cls={shared.sd_model.__class__.__name__} request={p.__class__.__name__} video model with non-video pipeline')
|
||||
|
||||
@@ -52,6 +52,7 @@ def generate(*args, **kwargs):
|
||||
p.state = ui_state
|
||||
p.do_not_save_grid = True
|
||||
p.do_not_save_samples = not save_frames
|
||||
p.outpath_samples = shared.opts.outdir_samples or shared.opts.outdir_video
|
||||
if 'I2V' in model:
|
||||
if init_image is None:
|
||||
return video_utils.queue_err('init image not set')
|
||||
|
||||
Reference in New Issue
Block a user