Skip to content

Commit

Permalink
delet missed line
Browse files Browse the repository at this point in the history
  • Loading branch information
Isotr0py committed Aug 27, 2023
1 parent 6155f9c commit 2e0942d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/sdxl_model_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 2e0942d

Please sign in to comment.