bluepen5805 commited on
Commit
b68e614
1 Parent(s): 51bad98

Create noob_v_pencil-XL-v1.0.0.md

Browse files
Files changed (1) hide show
  1. noob_v_pencil-XL-v1.0.0.md +78 -0
noob_v_pencil-XL-v1.0.0.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Tools
2
+ - [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
3
+ - [sd-mecha](https://github.com/ljleb/sd-mecha)
4
+ - [sd-mecha for Comfyui](https://github.com/ljleb/comfy-mecha)
5
+
6
+ # Checkpoints
7
+ - [NoobAI-XL (NAI-XL) V-Pred-1.0-Version](https://civitai.com/models/833294?modelVersionId=1190596)
8
+ - [NoobAI-XL (NAI-XL) V-Pred-0.75S-Version](https://civitai.com/models/833294?modelVersionId=1140829)
9
+ - [NoobAI-XL (NAI-XL) V-Pred-0.65S-Version](https://civitai.com/models/833294?modelVersionId=1093948)
10
+ - [NoobAI-XL (NAI-XL) V-Pred-0.6-Version](https://civitai.com/models/833294?modelVersionId=1070239)
11
+ - [NoobAI-XL (NAI-XL) Epsilon-pred 1.1-version](https://civitai.com/models/833294?modelVersionId=1116447)
12
+ - [NoobAI-XL (NAI-XL) Epsilon-pred 1.0-version](https://civitai.com/models/833294?modelVersionId=1022833)
13
+ - [Illustrious XL v0.1](https://huggingface.co/OnomaAIResearch/Illustrious-xl-early-release-v0)
14
+ - [Rillusm - Realistic Illustrious v1.0](https://civitai.com/models/959736?modelVersionId=1074511)
15
+ - [Hassaku XL (Illustrious) V1.0 - Style](https://civitai.com/models/140272?modelVersionId=1103588)
16
+ - [Raehoshi illust XL v3.0](https://civitai.com/models/846917?modelVersionId=1151906)
17
+ - [NTR MIX | illustrious-XL | Noob-XL XIII](https://civitai.com/models/926443?modelVersionId=1166878)
18
+ - [LHC v-Pred-alpha0.4](https://civitai.com/models/940235?modelVersionId=1146192)
19
+ - [illustrious_pencil-XL-v2.0.0](https://huggingface.co/bluepen5805/illustrious_pencil-XL)
20
+
21
+ # Recipe
22
+
23
+ 1. Merge using `sd-mecha for ComfyUI`. ( below sd-mecha format recipe )
24
+ ```
25
+ model "sdxl\noob_v_pencil-XL-1.0.safetensors" "sdxl" "base"
26
+ model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
27
+ model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
28
+ model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
29
+ merge "train_difference" &1 &2 &3 alpha=1.1
30
+ model "sdxl\noobaiXLNAIXL_vPred10Version.safetensors" "sdxl" "base"
31
+ merge "train_difference" &4 &5 &3 alpha=1.1500000000000001
32
+ merge "add_cosine_a" &0 &6 alpha=0.65
33
+ merge "add_cosine_a" &7 &5 alpha=0.0
34
+ model "sdxl\noob_v_pencil-XL-v0.5.1.safetensors" "sdxl" "base"
35
+ model "sdxl\noobaiXLNAIXL_vPred075SVersion.safetensors" "sdxl" "base"
36
+ merge "clamped_add_opposite" &8 &9 &10 alpha=1.5
37
+ merge "slerp" &8 &11 alpha=0.6
38
+ model "sdxl\hassakuXLIllustrious_v10Style.safetensors" "sdxl" "base"
39
+ model "sdxl\Illustrious-XL-v0.1.safetensors" "sdxl" "base"
40
+ merge "clamped_add_opposite" &12 &13 &14 alpha=1.0
41
+ model "sdxl\raehoshiIllustXL_v30.safetensors" "sdxl" "base"
42
+ model "sdxl\noobaiXLNAIXL_epsilonPred11Version.safetensors" "sdxl" "base"
43
+ merge "clamped_add_opposite" &15 &16 &17 alpha=0.75
44
+ model "sdxl\ntrMIXIllustriousXL_xiii.safetensors" "sdxl" "base"
45
+ merge "clamped_add_opposite" &18 &19 &17 alpha=1.0
46
+ merge "slerp" &0 &20 alpha=0.85
47
+ merge "train_difference" &21 &12 &3 alpha=1.0
48
+ model "sdxl\lhc_vPredAlpha04.safetensors" "sdxl" "base"
49
+ model "sdxl\noobaiXLNAIXL_vPred06Version.safetensors" "sdxl" "base"
50
+ merge "clamped_add_opposite" &22 &23 &24 alpha=0.75
51
+ model "sdxl\noob_v_pencil-XL-v0.3.0.safetensors" "sdxl" "base"
52
+ model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
53
+ merge "clamped_add_opposite" &25 &26 &27 alpha=0.25
54
+ merge "add_cosine_b" &28 &0 alpha=0.05
55
+ model "concept_sliders_1.safetensors" "sdxl" "lora"
56
+ merge "add_difference" &29 &30 alpha=1.0
57
+ model "concept_sliders_2.safetensors" "sdxl" "lora"
58
+ merge "add_difference" &31 &32 alpha=10.0
59
+ merge "add_cosine_a" &33 &9 alpha=0.35000000000000003
60
+ dict sdxl_txt_default=1.0 sdxl_unet_default=0.0 sdxl_txt2_default=0.5
61
+ merge "weighted_sum" &34 &0 alpha=&35
62
+ ```
63
+
64
+ 2. Add `v_pred` and `ztsnr` keys.
65
+
66
+ ```python
67
+ BASE_MODEL_NAME = "noob_v_pencil-XL-v1.0.0"
68
+
69
+ tensors = {}
70
+ with safe_open(BASE_MODEL_NAME + "-base.safetensors", framework="pt", device="cpu") as f:
71
+ for key in f.keys():
72
+ tensors[key] = f.get_tensor(key)
73
+
74
+ tensors["v_pred"] = torch.tensor([0.0])
75
+ tensors["ztsnr"] = torch.tensor([0.0])
76
+
77
+ save_file(tensors, BASE_MODEL_NAME + ".safetensors")
78
+ ```