|
# 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) V-Pred-0.75S-Version](https://civitai.com/models/833294?modelVersionId=1140829) |
|
- [NoobAI-XL (NAI-XL) V-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) |
|
|
|
# Recipe |
|
|
|
1. Merge using `sd-mecha for ComfyUI`. ( below sd-mecha format recipe ) |
|
``` |
|
model "sdxl\noob_v_pencil-XL-v0.5.0.safetensors" "sdxl" "base" |
|
model "sdxl\noob_v_pencil-XL-0.75s.safetensors" "sdxl" "base" |
|
model "sdxl\noobaiXLNAIXL_epsilonPred10Version.safetensors" "sdxl" "base" |
|
merge "clamped_add_opposite" &0 &1 &2 alpha=1.0 |
|
model "sdxl\noob_v_pencil-XL-v0.3.0.safetensors" "sdxl" "base" |
|
model "sdxl\noobaiXLNAIXL_vPred065SVersion.safetensors" "sdxl" "base" |
|
merge "clamped_add_opposite" &3 &4 &5 alpha=1.0 |
|
model "sdxl\noobaiXLNAIXL_vPred075SVersion.safetensors" "sdxl" "base" |
|
merge "add_cosine_b" &6 &7 alpha=0.05 |
|
``` |
|
|
|
2. Add `v_pred` and `ztsnr` keys. |
|
|
|
```python |
|
BASE_MODEL_NAME = "noob_v_pencil-XL-v0.5.1" |
|
|
|
tensors = {} |
|
with safe_open(BASE_MODEL_NAME + "-base.safetensors", 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, BASE_MODEL_NAME + ".safetensors") |
|
``` |