From 2e0942d5c80b2903cf5eb6a0ba90fd0e64e80789 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Sun, 27 Aug 2023 20:45:40 +0800 Subject: [PATCH] delet missed line --- library/sdxl_model_util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/library/sdxl_model_util.py b/library/sdxl_model_util.py index edd850a9..e54da796 100644 --- a/library/sdxl_model_util.py +++ b/library/sdxl_model_util.py @@ -259,7 +259,6 @@ def load_models_from_sdxl_checkpoint(model_version, ckpt_path, map_location, dty elif k.startswith("conditioner.embedders.1.model."): te2_sd[k] = state_dict.pop(k) - info1 = text_model1.load_state_dict(te1_sd) info1 = _load_state_dict_on_device(text_model1, te1_sd, device=map_location) # remain fp32 print("text encoder 1:", info1)