Create noob_v_pencil-XL-v0.3.0.md
5632fd7
verified
Tools
Checkpoints
LoRAs
Recipe
- 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\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
model "sdxl\noobaiXLNAIXL_epsilonPred10Version.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" &2 &3 &4 alpha=0.525
merge "train_difference" &5 &1 &2 alpha=0.975
merge "add_cosine_b" &1 &6 alpha=1.0
merge "train_difference" &0 &7 &1 alpha=1.0
dict sdxl_txt_default=0.0 sdxl_txt2_default=0.0 sdxl_unet_default=0.25
merge "weighted_sum" &0 &8 alpha=&9
merge "train_difference" &10 &0 &1 alpha=0.2
model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
merge "train_difference" &11 &12 &2 alpha=1.5
merge "train_difference" &13 &1 &2 alpha=0.4
merge "add_cosine_a" &11 &14 alpha=0.65
model "concept_sliders_1.safetensors" "sdxl" "lora"
merge "add_difference" &15 &16 alpha=8.0
merge "add_difference" &17 &16 alpha=4.0
model "concept_sliders_2.safetensors" "sdxl" "lora"
merge "add_difference" &18 &19 alpha=16.0
merge "add_cosine_a" &20 &0 alpha=0.0
- Add
v_pred
and ztsnr
keys.
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.3.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")