You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using A6000.
I tried python quantize_StableDiffusion.py --batch_size=1 --torch_dtype="fp16" , it can work well.
But python quantize_StableDiffusion.py --batch_size=1 --unet_qtype="fp8" , it is very slow. Why?
Because readme.md we have installed latest
git clone https://github.com/huggingface/quanto
cd quanto
pip install -e .
the dtype is the type used in non-quantized operations (basically everything except Linear layers), and the qtype is the weight quantization for Linear in unet
I am using A6000.
I tried
python quantize_StableDiffusion.py --batch_size=1 --torch_dtype="fp16"
, it can work well.But
python quantize_StableDiffusion.py --batch_size=1 --unet_qtype="fp8"
, it is very slow. Why?Because readme.md we have installed latest
Problem
The text was updated successfully, but these errors were encountered: