bluepen5805 commited on
Commit
32c369e
·
verified ·
1 Parent(s): df1e543

Create noob_v_pencil-XL-v0.5.0.md

Browse files
Files changed (1) hide show
  1. noob_v_pencil-XL-v0.5.0.md +65 -0
noob_v_pencil-XL-v0.5.0.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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) V-Pred-0.75S-Version](https://civitai.com/models/833294?modelVersionId=1140829)
9
+ - [NoobAI-XL (NAI-XL) Epsilon-pred 1.0-version](https://civitai.com/models/833294?modelVersionId=1022833)
10
+ - [Rillusm - Realistic Illustrious v1.0](https://civitai.com/models/959736?modelVersionId=1074511)
11
+ - [illustrious_pencil-XL-v2.0.0](https://huggingface.co/bluepen5805/illustrious_pencil-XL)
12
+ - [anima_pencil-XL-v5.0.0](https://huggingface.co/bluepen5805/anima_pencil-XL)
13
+ - [SD-XL 1.0-base](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0)
14
+
15
+ # LoRAs
16
+ - self-made ConceptSliders
17
+
18
+ # Recipe
19
+
20
+ 1. Merge using `sd-mecha for ComfyUI`. ( below sd-mecha format recipe )
21
+ ```
22
+ model "sdxl\noob_v_pencil-XL-0.75s.safetensors" "sdxl" "base"
23
+ model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
24
+ model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
25
+ model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
26
+ merge "train_difference" &1 &2 &3 alpha=1.1
27
+ model "sdxl\noobaiXLNAIXL_vPred075SVersion.safetensors" "sdxl" "base"
28
+ merge "train_difference" &4 &5 &3 alpha=1.1500000000000001
29
+ merge "add_cosine_a" &0 &6 alpha=0.65
30
+ merge "add_cosine_a" &7 &5 alpha=0.0
31
+ model "sdxl\noob_v_pencil-XL-v0.4.0.safetensors" "sdxl" "base"
32
+ model "sdxl\noobaiXLNAIXL_vPred06Version.safetensors" "sdxl" "base"
33
+ merge "clamped_add_opposite" &8 &9 &10 alpha=1.25
34
+ merge "slerp" &8 &11 alpha=0.6
35
+ model "sdxl\anima_pencil-XL-v5.0.0.safetensors" "sdxl" "base"
36
+ model "sdxl\sd_xl_base_1.0.safetensors" "sdxl" "base"
37
+ merge "train_difference" &3 &13 &14 alpha=0.525
38
+ merge "train_difference" &15 &5 &3 alpha=0.975
39
+ merge "clamped_add_opposite" &12 &16 &5 alpha=1.5
40
+ merge "add_cosine_a" &8 &17 alpha=1.0
41
+ merge "add_cosine_a" &18 &12 alpha=0.25
42
+ model "concept_sliders_1.safetensors" "sdxl" "lora"
43
+ merge "add_difference" &0 &20 alpha=4.0
44
+ merge "train_difference" &12 &21 &0 alpha=4.0
45
+ model "concept_sliders_2.safetensors" "sdxl" "lora"
46
+ merge "add_difference" &0 &23 alpha=1.0
47
+ merge "train_difference" &22 &24 &0 alpha=2.5
48
+ merge "add_cosine_a" &19 &25 alpha=0.5
49
+ ```
50
+
51
+ 2. Add `v_pred` and `ztsnr` keys.
52
+
53
+ ```python
54
+ BASE_MODEL_NAME = "noob_v_pencil-XL-v0.5.0"
55
+
56
+ tensors = {}
57
+ with safe_open(BASE_MODEL_NAME + "-base.safetensors", framework="pt", device="cpu") as f:
58
+ for key in f.keys():
59
+ tensors[key] = f.get_tensor(key)
60
+
61
+ tensors["v_pred"] = torch.tensor([0.0])
62
+ tensors["ztsnr"] = torch.tensor([0.0])
63
+
64
+ save_file(tensors, BASE_MODEL_NAME + ".safetensors")
65
+ ```