Skip to content

Commit 67d72b4

Browse files
committed
Update moe_comm_method.py
1 parent 49415eb commit 67d72b4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vllm_ascend/ops/fused_moe/moe_comm_method.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from typing import Any, Dict, Optional
2020

2121
import torch
22-
from vllm.config import get_current_vllm_config
2322
from vllm.forward_context import get_forward_context
2423
from vllm.model_executor.layers.fused_moe import FusedMoEConfig
2524

@@ -52,8 +51,6 @@ class MoECommMethod(ABC):
5251
"""Base class for MoE communication methods."""
5352

5453
def __init__(self, moe_config: FusedMoEConfig):
55-
self.model_type = get_current_vllm_config(
56-
).model_config.hf_config.model_type
5754
self.moe_config = moe_config
5855

5956
self.token_dispatcher = self._get_token_dispatcher()

0 commit comments

Comments
 (0)