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
1a315a58
Commit
1a315a58
authored
Dec 08, 2025
by
王敏
Browse files
删除无效代码
parent
6cabbf16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
vllm/model_executor/layers/fused_moe/mori_moe/ep_moe_utlis.py
.../model_executor/layers/fused_moe/mori_moe/ep_moe_utlis.py
+0
-14
vllm/model_executor/layers/linear.py
vllm/model_executor/layers/linear.py
+0
-1
No files found.
vllm/model_executor/layers/fused_moe/mori_moe/ep_moe_utlis.py
View file @
1a315a58
...
...
@@ -91,7 +91,6 @@ class EPSharedExperts(nn.Module):
prefix
=
f
"
{
prefix
}
.gate_up_proj"
,
expect_tp_size
=
1
)
print
(
"#########self.gate_up_proj quant_method:"
,
self
.
gate_up_proj
.
quant_method
)
self
.
down_proj
=
RowParallelLinear
(
intermediate_size
,
hidden_size
,
bias
=
False
,
...
...
@@ -99,19 +98,6 @@ class EPSharedExperts(nn.Module):
reduce_results
=
reduce_results
,
prefix
=
f
"
{
prefix
}
.down_proj"
,
expect_tp_size
=
1
)
print
(
"#########self.down_proj quant_method:"
,
self
.
down_proj
.
quant_method
)
# self.gate_up_proj = MergedColumnParallelLinear(
# hidden_size, [intermediate_size] * 2,
# bias=False,
# quant_config=quant_config,
# prefix=f"{prefix}.gate_up_proj",
# expect_tp_size=1)
# self.down_proj = ReplicatedLinear(intermediate_size,
# hidden_size,
# bias=False,
# quant_config=quant_config,
# prefix=f"{prefix}.down_proj")
if
hidden_act
!=
"silu"
:
raise
ValueError
(
f
"Unsupported activation:
{
hidden_act
}
. "
...
...
vllm/model_executor/layers/linear.py
View file @
1a315a58
...
...
@@ -783,7 +783,6 @@ class MergedColumnParallelLinear(ColumnParallelLinear):
return
if
is_gguf_weight
:
print
(
"############is_gguf_weight"
)
tp_size
=
get_tensor_model_parallel_world_size
()
tp_rank
=
get_tensor_model_parallel_rank
()
...
...
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