bluepen5805
commited on
Commit
•
28ff7ec
1
Parent(s):
a8867e6
Create noob_v_pencil-XL-v0.4.0.md
Browse files- noob_v_pencil-XL-v0.4.0.md +61 -0
noob_v_pencil-XL-v0.4.0.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
- [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-v0.2.5.safetensors" "sdxl" "base"
|
23 |
+
model "sdxl\noob_v_pencil-XL-0.65s.safetensors" "sdxl" "base"
|
24 |
+
model "sdxl\illustrious_pencil-XL-v2.0.0.safetensors" "sdxl" "base"
|
25 |
+
model "sdxl\rillusmRealistic_v10.safetensors" "sdxl" "base"
|
26 |
+
model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base"
|
27 |
+
merge "train_difference" &2 &3 &4 alpha=1.1
|
28 |
+
model "sdxl\noobaiXLNAIXL_vPred06Version.safetensors" "sdxl" "base"
|
29 |
+
merge "train_difference" &5 &6 &4 alpha=1.25
|
30 |
+
merge "add_cosine_a" &1 &7 alpha=0.6
|
31 |
+
merge "add_cosine_a" &8 &6 alpha=0.0
|
32 |
+
merge "slerp" &0 &9 alpha=0.5
|
33 |
+
model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base"
|
34 |
+
model "sdxl\anima_pencil-XL-v5.0.0.safetensors" "sdxl" "base"
|
35 |
+
model "sdxl\sd_xl_base_1.0.safetensors" "sdxl" "base"
|
36 |
+
merge "train_difference" &4 &12 &13 alpha=0.525
|
37 |
+
merge "train_difference" &14 &11 &4 alpha=0.975
|
38 |
+
merge "add_cosine_b" &11 &15 alpha=1.0
|
39 |
+
merge "train_difference" &9 &16 &11 alpha=1.0
|
40 |
+
merge "add_cosine_b" &10 &17 alpha=0.75
|
41 |
+
model "sdxl\noob_v_pencil-XL-v0.3.0.safetensors" "sdxl" "base"
|
42 |
+
merge "clamped_add_opposite" &18 &19 &11 alpha=1.75
|
43 |
+
merge "clamped_add_opposite" &20 &1 &11 alpha=4.0
|
44 |
+
|
45 |
+
```
|
46 |
+
|
47 |
+
2. Add `v_pred` and `ztsnr` keys.
|
48 |
+
|
49 |
+
```python
|
50 |
+
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.4.0"
|
51 |
+
|
52 |
+
tensors = {}
|
53 |
+
with safe_open(BASE_MODEL_NAME + "-base.safetensors", framework="pt", device="cpu") as f:
|
54 |
+
for key in f.keys():
|
55 |
+
tensors[key] = f.get_tensor(key)
|
56 |
+
|
57 |
+
tensors["v_pred"] = torch.tensor([0.0])
|
58 |
+
tensors["ztsnr"] = torch.tensor([0.0])
|
59 |
+
|
60 |
+
save_file(tensors, BASE_MODEL_NAME + ".safetensors")
|
61 |
+
```
|