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