From 260bfc406a28b57d8ac2acc85fafd50595ee71c6 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 12 Feb 2025 17:35:58 -0500 Subject: [PATCH] update changelog Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 3 ++- modules/control/units/controlnet.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e25c8456..9bf7b43e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +36,8 @@ - added **ROCm** receipe - added **IPEX** receipe - added **OpenVINO** receipe -- **Backend** +- **System** + - improve **python==3.12** compatibility - **Torch** - for **zluda** set default to `torch==2.6.0+cu118` - for **openvino** set default to `torch==2.6.0+cpu` diff --git a/modules/control/units/controlnet.py b/modules/control/units/controlnet.py index 27519709a..d0160d6ae 100644 --- a/modules/control/units/controlnet.py +++ b/modules/control/units/controlnet.py @@ -342,8 +342,10 @@ class ControlNetPipeline(): cls = StableDiffusionXLControlNetUnionPipeline if len(controlnets) > 1: # TODO controlnet-union multi-unit + controlnets = controlnets[0] log.warning(f'Control {what}: units={classes} supports single unit only') - # controlnets = controlnets[0] + else: + controlnets = controlnets[0] else: cls = StableDiffusionXLControlNetPipeline self.pipeline = cls(