Commit cf975626 authored by zhuwenwen's avatar zhuwenwen
Browse files

update m // 8

parent 3fcdea26
......@@ -178,7 +178,7 @@ class SlimQuantW4A8Int8LinearMethod(LinearMethodBase):
elif m<=64:
m_= (m + 3) & -4 #取值到最近的4的倍数
elif m<=160:
m_=(m + 7) & -8
m_ = (m // 8) * 8
elif m<200: #256
m_=160
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment