noob_v_pencil-XL / noob_v_pencil-XL-v0.2.0.md
bluepen5805's picture
Update noob_v_pencil-XL-v0.2.0.md
c61e830 verified
|
raw
history blame
3.13 kB

Tools

Checkpoints

LoRAs

  • self-made ConceptSliders

Recipe

  1. Merge using sd-mecha for ComfyUI. ( below sd-mecha format recipe )
model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
merge "train_difference" &0 &1 &2 alpha=1.0
model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
merge "train_difference" &0 &4 &2 alpha=1.2
merge "train_difference" &5 &1 &2 alpha=1.25
merge "add_cosine_a" &3 &6 alpha=0.6
model "sdxl\pasanctuarySDXL_v30.safetensors" "sdxl" "base"
model "sdxl\Illustrious-XL-v0.1.safetensors" "sdxl" "base"
merge "train_difference" &0 &8 &9 alpha=1.25
merge "train_difference" &10 &1 &2 alpha=1.0
model "sdxl\waiNSFWIllustrious_v70.safetensors" "sdxl" "base"
merge "train_difference" &0 &12 &9 alpha=0.9500000000000001
merge "train_difference" &13 &1 &2 alpha=1.05
model "sdxl\ntrMIXIllustriousXL_v40.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_epsilonPred05Version.safetensors" "sdxl" "base"
merge "train_difference" &0 &15 &16 alpha=1.2
merge "train_difference" &17 &1 &2 alpha=1.085
merge "add_cosine_a" &14 &18 alpha=0.75
merge "add_cosine_a" &11 &19 alpha=0.85
merge "train_difference" &20 &1 &2 alpha=0.05
merge "add_cosine_a" &7 &21 alpha=0.125
merge "add_cosine_a" &22 &1 alpha=0.0
model "concept_sliders_01.safetensors" "sdxl" "lora"
merge "add_difference" &23 &24 alpha=2.0
model "concept_sliders_02.safetensors" "sdxl" "lora"
merge "add_difference" &25 &26 alpha=0.8
model "concept_sliders_03.safetensors" "sdxl" "lora"
merge "add_difference" &27 &28 alpha=2.0
merge "add_cosine_a" &23 &29 alpha=1.0
merge "train_difference" &30 &29 &23 alpha=1.0
  1. Add v_pred and ztsnr keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.2.0-base.safetensors"
MODIFIED_MODEL_NAME = "noob_v_pencil-XL-v0.2.0.safetensors"

tensors = {}
with safe_open(BASE_MODEL_NAME, 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, MODIFIED_MODEL_NAME)