mit-han-lab / smoothquant

[ICML 2023] SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models

Home Page:https://arxiv.org/abs/2211.10438

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set quantize_output True the acc drop to 0

lonleyodd opened this issue · comments

commented

hi, thanks for your nice work, I tried set param quantize_output as True when quantize model,like follow code
def from_float(module, weight_quant='per_channel', act_quant='per_token', quantize_output=True),
but the acc drop to 0 , is there anything wrong or smoothquant method unsupport quantize output?