File size: 3,107 Bytes
1432cee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd031f2
 
1432cee
c340dc2
3a08e9d
 
 
 
1432cee
 
 
a6429aa
1432cee
 
0ae1ff7
ebafcad
36462b1
0ae1ff7
71e4c2d
da374d2
cddc04f
0593b89
8e75114
9aed6b9
88b53c0
71e4c2d
da374d2
d156ecd
4b4fcd1
 
1432cee
 
 
 
3428823
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
---
license: other
license_name: stabilityai-ai-community
license_link: LICENSE
language:
- en
base_model:
- stabilityai/stable-diffusion-3.5-medium
pipeline_tag: text-to-image
tags:
- stable-diffusion
- gguf-comfy
---

# GGUF quantized version of Stable Diffusion 3.5 Medium

![screenshot](https://raw.githubusercontent.com/calcuis/comfy/master/sd3.5m.png)

## Setup (once)
- drag sd3.5_medium-q5_0.gguf ([2.02GB](https://huggingface.co/calcuis/sd3.5-medium-gguf/blob/main/sd3.5_medium-q5_0.gguf)) to > ./ComfyUI/models/unet
- drag clip_g.safetensors ([1.39GB](https://huggingface.co/calcuis/sd3.5-medium-gguf/blob/main/clip_g.safetensors)) to > ./ComfyUI/models/clip
- drag clip_l.safetensors ([246MB](https://huggingface.co/calcuis/sd3.5-medium-gguf/blob/main/clip_l.safetensors)) to > ./ComfyUI/models/clip
- drag t5xxl_fp8_e4m3fn.safetensors ([4.89GB](https://huggingface.co/calcuis/sd3.5-medium-gguf/blob/main/t5xxl_fp8_e4m3fn.safetensors)) to > ./ComfyUI/models/clip
- drag diffusion_pytorch_model.safetensors ([168MB](https://huggingface.co/calcuis/sd3.5-medium-gguf/blob/main/diffusion_pytorch_model.safetensors)) to > ./ComfyUI/models/vae

## Run it straight (no installation needed way)
- run the .bat file in the main directory (assuming you are using the gguf-comfy pack below)
- drag the workflow json file (see below) to > your browser
- generate your first picture with sd3, awesome!

### Workflows
- example workflow for [gguf](https://github.com/calcuis/comfy/blob/main/workflow-sd3.5m-gguf.json) (if it doesn't work, upgrade your pack: ggc y) 👻
- example workflow for the original [safetensors](https://github.com/calcuis/comfy/blob/main/workflow-sd3.5m-safetensors.json) 🎃

### Bug reports (or brief review)
- t/q1_0 and t/q2_0; not working recently (invalid GGMLQ type error)
- q2_k is super fast; not usable; but might be good for medical research or abstract painter
- q3 family is fast; finger issue can be easily detected but picture quality is interestingly good
- btw, q3 family is usable; just need some effort on +/- prompt(s); good for old machine user
- notice the same file size in some quantized models; but they are different (according to its SHA256 hash) even they are exactly the same in size; still keep them all here (in full set); see who can deal with it
- q4 and above should be no problem for general-to-high quality production; and sd team is pretty considerable, though you might not think this model is useful if you have good hardware; imagine you can run it with merely an ancient CPU, should probably appreciate their great effort; good job folks, thumbs up 👍

### Upper tier options
- sd3.5-[large](https://huggingface.co/calcuis/sd3.5-large-gguf) (recommended)
- sd3.5-[turbo](https://huggingface.co/calcuis/sd3.5-large-turbo)

### References
- base model from [stabilityai](https://huggingface.co/stabilityai/stable-diffusion-3.5-medium)
- comfyui from [comfyanonymous](https://github.com/comfyanonymous/ComfyUI)
- gguf node from [city96](https://github.com/city96/ComfyUI-GGUF)
- gguf-comfy [pack](https://github.com/calcuis/gguf-comfy/releases)