From f09725956d6c830e9a52554dbcea3a37dc614596 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 24 Jan 2024 09:48:07 -0500 Subject: [PATCH] expand sdxl autodetect range --- modules/sd_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sd_models.py b/modules/sd_models.py index 3c7627fff..379ea6405 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -556,7 +556,7 @@ def detect_pipeline(f: str, op: str = 'model', warning=True): if op == 'model': warn(f'Model detected as SD-XL refiner model, but attempting to load a base model: {op}={f} size={size} MB') guess = 'Stable Diffusion XL' - elif (size >= 6611 and size <= 6619) or (size >= 6771 and size <= 6779): # 6617, HassakuXL is 6776 + elif (size >= 6611 and size <= 7220): # 6617, HassakuXL is 6776, monkrenRealisticINT_v10 is 7217 if shared.backend == shared.Backend.ORIGINAL: warn(f'Model detected as SD-XL base model, but attempting to load using backend=original: {op}={f} size={size} MB') guess = 'Stable Diffusion XL'