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
50424a23
Commit
50424a23
authored
Mar 15, 2025
by
yangql
Browse files
支持fusemoe对int4的scale合zero合并读取操作
parent
f78a0510
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/model_loader/utils.py
vllm/model_executor/model_loader/utils.py
+1
-1
No files found.
vllm/model_executor/model_loader/utils.py
View file @
50424a23
...
...
@@ -103,7 +103,7 @@ def get_model_architecture(
try
:
if
os
.
getenv
(
'AWQ_MOE_SZ'
)
==
None
:
os
.
environ
[
'AWQ_MOE_SZ'
]
=
'1'
if
os
.
getenv
(
'AWQ_PAD'
)
==
None
and
(
torch
.
cuda
.
get_device_properties
(
torch
.
cuda
.
current_device
()).
name
==
'K100_AI'
)
and
(
torch
.
cuda
.
get_device_properties
(
torch
.
cuda
.
current_device
()).
multi_processor_count
==
120
):
if
os
.
getenv
(
'AWQ_PAD'
)
==
None
and
(
torch
.
cuda
.
get_device_properties
(
torch
.
cuda
.
current_device
()).
multi_processor_count
==
120
):
os
.
environ
[
'AWQ_PAD'
]
=
'1'
except
Exception
as
e
:
if
os
.
getenv
(
'AWQ_PAD'
)
!=
'0'
:
...
...
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