bluepen5805 commited on
Commit
2e420cf
·
verified ·
1 Parent(s): 36d2ead

Create noob_v_pencil-XL-v0.2.0.md

Browse files
Files changed (1) hide show
  1. noob_v_pencil-XL-v0.2.0.md +72 -0
noob_v_pencil-XL-v0.2.0.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - [Concept Sliders](https://github.com/rohitgandikota/sliders)
6
+
7
+ # Checkpoints
8
+ - [NoobAI-XL (NAI-XL) EpsilonV-Pred-0.65S-Version](https://civitai.com/models/833294?modelVersionId=1093948)
9
+ - [NoobAI-XL (NAI-XL) Epsilon-pred 1.0-version](https://civitai.com/models/833294?modelVersionId=1022833)
10
+ - [illustrious_pencil-XL-v2.0.0](https://huggingface.co/bluepen5805/illustrious_pencil-XL)
11
+ - [Rillusm - Realistic Illustrious v1.0](https://civitai.com/models/959736?modelVersionId=1074511)
12
+ - [PaSanctuary (SDXL, IllustriousXL) v3.0](https://civitai.com/models/835578?modelVersionId=1069100)
13
+ - [WAI-NSFW-illustrious-SDXL v7.0](https://civitai.com/models/827184?modelVersionId=1068947)
14
+ - [NTR MIX | illustrious-XL | Noob-XL v4.0](https://civitai.com/models/926443?modelVersionId=1054677)
15
+
16
+ # LoRAs
17
+ - self-made ConceptSliders
18
+
19
+ # Recipe
20
+
21
+ 1. Merge using `sd-mecha for ComfyUI`. ( below sd-mecha format recipe )
22
+ ```
23
+ model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
24
+ model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
25
+ model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
26
+ merge "train_difference" &0 &1 &2 alpha=1.0
27
+ model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
28
+ merge "train_difference" &0 &4 &2 alpha=1.2
29
+ merge "train_difference" &5 &1 &2 alpha=1.25
30
+ merge "add_cosine_a" &3 &6 alpha=0.6
31
+ model "sdxl\pasanctuarySDXL_v30.safetensors" "sdxl" "base"
32
+ model "sdxl\Illustrious-XL-v0.1.safetensors" "sdxl" "base"
33
+ merge "train_difference" &0 &8 &9 alpha=1.25
34
+ merge "train_difference" &10 &1 &2 alpha=1.0
35
+ model "sdxl\waiNSFWIllustrious_v70.safetensors" "sdxl" "base"
36
+ merge "train_difference" &0 &12 &9 alpha=0.9500000000000001
37
+ merge "train_difference" &13 &1 &2 alpha=1.05
38
+ model "sdxl\ntrMIXIllustriousXL_v40.safetensors" "sdxl" "base"
39
+ model "sdxl\noobaiXLNAIXL_epsilonPred05Version.safetensors" "sdxl" "base"
40
+ merge "train_difference" &0 &15 &16 alpha=1.2
41
+ merge "train_difference" &17 &1 &2 alpha=1.085
42
+ merge "add_cosine_a" &14 &18 alpha=0.75
43
+ merge "add_cosine_a" &11 &19 alpha=0.85
44
+ merge "train_difference" &20 &1 &2 alpha=0.05
45
+ merge "add_cosine_a" &7 &21 alpha=0.125
46
+ merge "add_cosine_a" &22 &1 alpha=0.0
47
+ model "concept_sliders_01.safetensors" "sdxl" "lora"
48
+ merge "add_difference" &23 &24 alpha=2.0
49
+ model "concept_sliders_02.safetensors" "sdxl" "lora"
50
+ merge "add_difference" &25 &26 alpha=0.8
51
+ model "concept_sliders_03.safetensors" "sdxl" "lora"
52
+ merge "add_difference" &27 &28 alpha=2.0
53
+ merge "add_cosine_a" &23 &29 alpha=1.0
54
+ merge "train_difference" &30 &29 &23 alpha=1.0
55
+ ```
56
+
57
+ 2. Add `v_pred` and `ztsnr` keys.
58
+
59
+ ```python
60
+ BASE_MODEL_NAME = "noob_v_pencil-XL-v0.2.0-base.safetensors"
61
+ MODIFIED_MODEL_NAME = "noob_v_pencil-XL-v0.2.0.safetensors"
62
+
63
+ tensors = {}
64
+ with safe_open(BASE_MODEL_NAME, framework="pt", device="cpu") as f:
65
+ for key in f.keys():
66
+ tensors[key] = f.get_tensor(key)
67
+
68
+ tensors["v_pred"] = torch.tensor([0.0])
69
+ tensors["ztsnr"] = torch.tensor([0.0])
70
+
71
+ save_file(tensors, MODIFIED_MODEL_NAME)
72
+ ```