Skip to content

Commit abcc129

Browse files
committedApr 9, 2024
Add a CosXL merging example.
1 parent d28489b commit abcc129

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
 

‎model_merging/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,14 @@ If you are familiar with the "Add Difference" option in other UIs this is how to
2626
![Example](model_merging_inpaint.png)
2727

2828
One important thing you should note is that models are merged and saved in the precision that is used for inference on your hardware so usually it will be 16 bit float. If you want do do merges in 32 bit float launch ComfyUI with: --force-fp32
29+
30+
31+
### Advanced Merging
32+
33+
#### CosXL
34+
35+
Here is an example of how to create a CosXL model from a regular SDXL model with merging. The requirements are the [CosXL base model](https://huggingface.co/stabilityai/cosxl), the [SDXL base model](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/sd_xl_base_1.0_0.9vae.safetensors) and the SDXL model you want to convert. In this example I used [albedobase-xl](https://civitai.com/models/140737/albedobase-xl).
36+
37+
![Example](model_merging_cosxl.png)
38+
39+

‎model_merging/model_merging_cosxl.png

1.59 MB
Loading

0 commit comments

Comments
 (0)