noob_v_pencil-XL / noob_v_pencil-XL-v0.2.5.md
bluepen5805's picture
Update noob_v_pencil-XL-v0.2.5.md
f733356 verified
|
raw
history blame
3.86 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.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" &1 &2 &3 alpha=1.35
model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
merge "train_difference" &4 &5 &3 alpha=1.25
merge "add_cosine_a" &0 &6 alpha=0.6
model "sdxl\rillusmRealistic_v11.safetensors" "sdxl" "base"
merge "train_difference" &8 &2 &3 alpha=1.0
merge "train_difference" &9 &5 &3 alpha=1.05
merge "add_cosine_a" &0 &10 alpha=0.45
merge "add_cosine_a" &7 &11 alpha=0.35000000000000003
model "sdxl\pasanctuarySDXL_v30.safetensors" "sdxl" "base"
model "sdxl\Illustrious-XL-v0.1.safetensors" "sdxl" "base"
merge "train_difference" &1 &13 &14 alpha=1.25
merge "train_difference" &15 &5 &3 alpha=1.0
model "sdxl\waiNSFWIllustrious_v70.safetensors" "sdxl" "base"
merge "train_difference" &1 &17 &14 alpha=0.9500000000000001
merge "train_difference" &18 &5 &3 alpha=1.05
model "sdxl\ntrMIXIllustriousXL_v40.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_epsilonPred05Version.safetensors" "sdxl" "base"
merge "train_difference" &1 &20 &21 alpha=1.2
merge "train_difference" &22 &5 &3 alpha=1.085
merge "add_cosine_a" &19 &23 alpha=0.75
merge "add_cosine_a" &16 &24 alpha=0.85
merge "train_difference" &25 &5 &3 alpha=0.05
merge "add_cosine_a" &0 &26 alpha=0.125
merge "add_cosine_a" &12 &27 alpha=0.15
merge "add_cosine_a" &28 &0 alpha=0.0
model "concept_sliders_01.safetensors" "sdxl" "lora"
merge "add_difference" &29 &30 alpha=16.0
model "concept_sliders_02.safetensors" "sdxl" "lora"
merge "add_difference" &31 &32 alpha=12.0
model "concept_sliders_03.safetensors" "sdxl" "lora"
merge "add_difference" &33 &34 alpha=1.0
model "concept_sliders_04.safetensors" "sdxl" "lora"
merge "add_difference" &35 &36 alpha=1.0
merge "add_difference" &37 &32 alpha=4.0
model "concept_sliders_05.safetensors" "sdxl" "lora"
merge "add_difference" &38 &39 alpha=32.0
model "concept_sliders_06.safetensors" "sdxl" "lora"
merge "add_difference" &40 &41 alpha=6.0
merge "add_cosine_a" &42 &29 alpha=0.05
merge "train_difference" &43 &5 &3 alpha=0.45
merge "add_cosine_a" &44 &0 alpha=0.01
  1. Add v_pred and ztsnr keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.2.5"

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")