From 94e1e64296404089b5c7422e9549fb57459320ea Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 1 Mar 2024 23:12:45 +1100 Subject: [PATCH] chore: ruff --- invokeai/backend/model_manager/merge.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/invokeai/backend/model_manager/merge.py b/invokeai/backend/model_manager/merge.py index a85471b788..ab4a0f18c3 100644 --- a/invokeai/backend/model_manager/merge.py +++ b/invokeai/backend/model_manager/merge.py @@ -134,10 +134,6 @@ class ModelMerger(object): "normal" ), f"{info.name} ({info.key}) is a {info.variant} model, which cannot currently be merged" - # pick up the first model's vae - if key == model_keys[0]: - vae = info.vae - # tally base models used base_models.add(info.base) model_paths.extend([config.models_path / info.path])