Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
ea2c27ab
Commit
ea2c27ab
authored
Nov 19, 2025
by
zhuwenwen
Browse files
update m // 8
parent
90fc8f66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/layers/quantization/slimquant_w4a8.py
vllm/model_executor/layers/quantization/slimquant_w4a8.py
+1
-1
No files found.
vllm/model_executor/layers/quantization/slimquant_w4a8.py
View file @
ea2c27ab
...
@@ -184,7 +184,7 @@ class SlimQuantW4A8Int8LinearMethod(LinearMethodBase):
...
@@ -184,7 +184,7 @@ class SlimQuantW4A8Int8LinearMethod(LinearMethodBase):
elif
m
<=
64
:
elif
m
<=
64
:
m_
=
((
m
+
3
)
//
4
)
*
4
#取值到最近的4的倍数
m_
=
((
m
+
3
)
//
4
)
*
4
#取值到最近的4的倍数
elif
m
<=
160
:
elif
m
<=
160
:
m_
=
(
(
m
+
7
)
//
8
)
*
8
m_
=
(
m
//
8
)
*
8
elif
m
<
200
:
#256
elif
m
<
200
:
#256
m_
=
160
m_
=
160
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment