noob_v_pencil-XL / noob_v_pencil-XL-v0.5.0.md
bluepen5805's picture
Create noob_v_pencil-XL-v0.5.0.md
32c369e verified
|
raw
history blame
2.72 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-0.75s.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.1
model "sdxl\noobaiXLNAIXL_vPred075SVersion.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.4.0.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_vPred06Version.safetensors" "sdxl" "base"
merge "clamped_add_opposite" &8 &9 &10 alpha=1.25
merge "slerp" &8 &11 alpha=0.6
model "sdxl\anima_pencil-XL-v5.0.0.safetensors" "sdxl" "base"
model "sdxl\sd_xl_base_1.0.safetensors" "sdxl" "base"
merge "train_difference" &3 &13 &14 alpha=0.525
merge "train_difference" &15 &5 &3 alpha=0.975
merge "clamped_add_opposite" &12 &16 &5 alpha=1.5
merge "add_cosine_a" &8 &17 alpha=1.0
merge "add_cosine_a" &18 &12 alpha=0.25
model "concept_sliders_1.safetensors" "sdxl" "lora"
merge "add_difference" &0 &20 alpha=4.0
merge "train_difference" &12 &21 &0 alpha=4.0
model "concept_sliders_2.safetensors" "sdxl" "lora"
merge "add_difference" &0 &23 alpha=1.0
merge "train_difference" &22 &24 &0 alpha=2.5
merge "add_cosine_a" &19 &25 alpha=0.5
  1. Add v_pred and ztsnr keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.5.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")