Text-to-Image
Diffusion Single File
comfyui

5090 use int8 or w4a8?

#20
by MasterLeoM - opened

RTX5090 with 32GB RAM use int8 or w4a8 for diffusion models? Thanks!

Comfy Org org

Definitely int8.

RTX5090 with 32GB RAM use int8 or w4a8 for diffusion models? Thanks!

pretty sure int8 is just 8bit while w4a8 is just 4bit, so int8 of course will have better quality

Comfy Org org

w4a8 has 4bit weights, relative error being around ~7% while 8bit weights (with convrot) is under 1% usually. Both use same activation quantization which is also around ~1%.

Since ComfyUI has async offloading, you don't really save time by smaller weights, only reason to use w4a8 would be if you lack the RAM to utilize that, as swapping to disk would be too slow.

Kijai changed discussion status to closed

Sign up or log in to comment