q-diffusion icon indicating copy to clipboard operation
q-diffusion copied to clipboard

Stable diffusion generated samples using quantized checkpoint looks strange

Open colorjam opened this issue 1 year ago • 2 comments

Thanks for the contribution of the author.

I follow the inference script to run the txt2img demo:

python scripts/txt2img.py --prompt "a puppy wearing a hat" --plms --cond --ptq --weight_bit 8 --quant_mode qdiff --no_grad_ckpt --split --n_samples 5 --resume --outdir ./experiment/weight_only_w8 --cali_ckpt ./models/sd_w8a8_ckpt.pth --ckpt ../models/sd/sd-v1-4.ckpt

generated samples:

image

colorjam avatar Feb 21 '24 07:02 colorjam

I have met the same problem

list0830 avatar May 19 '24 08:05 list0830

你们跑了多久 这个跑的好慢

xuchen-dev avatar May 21 '24 07:05 xuchen-dev