use base steps as-is for non sd/sdxl models

Signed-off-by: vladmandic <mandic00@live.com>
This commit is contained in:
vladmandic
2026-01-23 10:12:11 +01:00
parent a673ed2411
commit b8bac68915
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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