noob_v_pencil-XL / noob_v_pencil-XL-v0.4.0.md
bluepen5805's picture
Update noob_v_pencil-XL-v0.4.0.md
df1e543 verified
|
raw
history blame
2.5 kB

Tools

Checkpoints

LoRAs

  • self-made ConceptSliders

Recipe

  1. Merge using sd-mecha for ComfyUI. ( below sd-mecha format recipe )
model "sdxl\noob_v_pencil-XL-v0.2.5.safetensors" "sdxl" "base"
model "sdxl\noob_v_pencil-XL-0.65s.safetensors" "sdxl" "base"
model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
merge "train_difference" &2 &3 &4 alpha=1.1
model "sdxl\noobaiXLNAIXL_vPred06Version.safetensors" "sdxl" "base"
merge "train_difference" &5 &6 &4 alpha=1.25
merge "add_cosine_a" &1 &7 alpha=0.6
merge "add_cosine_a" &8 &6 alpha=0.0
merge "slerp" &0 &9 alpha=0.5
model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
model "sdxl\anima_pencil-XL-v5.0.0.safetensors" "sdxl" "base"
model "sdxl\sd_xl_base_1.0.safetensors" "sdxl" "base"
merge "train_difference" &4 &12 &13 alpha=0.525
merge "train_difference" &14 &11 &4 alpha=0.975
merge "add_cosine_b" &11 &15 alpha=1.0
merge "train_difference" &9 &16 &11 alpha=1.0
merge "add_cosine_b" &10 &17 alpha=0.75
model "sdxl\noob_v_pencil-XL-v0.3.0.safetensors" "sdxl" "base"
merge "clamped_add_opposite" &18 &19 &11 alpha=1.75
merge "clamped_add_opposite" &20 &1 &11 alpha=4.0
  1. Add v_pred and ztsnr keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.4.0"

tensors = {}
with safe_open(BASE_MODEL_NAME + "-base.safetensors", framework="pt", device="cpu") as f:
    for key in f.keys():
        tensors[key] = f.get_tensor(key)

tensors["v_pred"] = torch.tensor([0.0])
tensors["ztsnr"] = torch.tensor([0.0])

save_file(tensors, BASE_MODEL_NAME + ".safetensors")