mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
use base steps as-is for non sd/sdxl models
Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
- update package requirements
|
||||
- **Fixes**
|
||||
- add video ui elem_ids, thanks @ryanmeador
|
||||
- use base steps as-is for non sd/sdxl models
|
||||
|
||||
## Update for 2026-01-22
|
||||
|
||||
|
||||
@@ -386,7 +386,7 @@ def calculate_base_steps(p, use_denoise_start, use_refiner_start):
|
||||
if len(getattr(p, 'timesteps', [])) > 0:
|
||||
return None
|
||||
cls = shared.sd_model.__class__.__name__
|
||||
if 'Flex' in cls or 'Kontext' in cls or 'Edit' in cls or 'Wan' in cls or 'Flux2' in cls or 'Layered' in cls:
|
||||
if shared.sd_model_type not in ['sd', 'sdxl']:
|
||||
steps = p.steps
|
||||
elif is_modular():
|
||||
steps = p.steps
|
||||
|
||||
Reference in New Issue
Block a user