noob_v_pencil-XL / noob_v_pencil-XL-v0.6.0.md
bluepen5805's picture
Create noob_v_pencil-XL-v0.6.0.md
6548c04 verified
|
raw
history blame
2.02 kB

Tools

Checkpoints

Recipe

  1. Merge using sd-mecha for ComfyUI. ( below sd-mecha format recipe )
model "sdxl\noob_v_pencil-XL-0.9r.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" &1 &2 &3 alpha=1.25
model "sdxl\noobaiXLNAIXL_vPred09RVersion.safetensors" "sdxl" "base"
merge "train_difference" &4 &5 &3 alpha=1.1500000000000001
merge "add_cosine_a" &0 &6 alpha=0.65
merge "add_cosine_a" &7 &5 alpha=0.0
model "sdxl\noob_v_pencil-XL-v0.5.1.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_vPred075SVersion.safetensors" "sdxl" "base"
merge "clamped_add_opposite" &8 &9 &10 alpha=1.0
merge "clamped_add_opposite" &11 &6 &1 alpha=1.0
merge "clamped_add_opposite" &12 &0 &3 alpha=0.35000000000000003
merge "add_cosine_b" &13 &9 alpha=0.15
  1. Add v_pred and ztsnr keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.6.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")