mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev
This commit is contained in:
@@ -657,7 +657,7 @@ def set_overrides(sd_model, checkpoint_info, model_type):
|
||||
# scheduler_config['beta_schedule'] = 'scaled_linear'
|
||||
# scheduler_config['timestep_spacing'] = 'trailing'
|
||||
sd_model.scheduler = diffusers.EulerAncestralDiscreteScheduler.from_config(scheduler_config)
|
||||
if 'bigaspv25' in checkpoint_info_name or ('flow' in checkpoint_info_name and 'flower' not in checkpoint_info_name):
|
||||
if 'bigaspv25' in checkpoint_info_name or 'noobai-rf' in checkpoint_info_name ('flow' in checkpoint_info_name and 'flower' not in checkpoint_info_name):
|
||||
scheduler_config = sd_model.scheduler.config
|
||||
scheduler_config['prediction_type'] = 'flow_prediction'
|
||||
scheduler_config['beta_schedule'] = 'linear'
|
||||
|
||||
Reference in New Issue
Block a user