Skip to content

Commit 4e40831

Browse files
committed
[BugFix]add log2phy initialiaztion.
Signed-off-by: offline0806 <3337230449@qq.com>
1 parent 31b785c commit 4e40831

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vllm_ascend/ops/common_fused_moe.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ def __init__(self, *args, **kwargs):
245245
self.dynamic_eplb = ascend_config.dynamic_eplb
246246
self.expert_map_path = ascend_config.expert_map_path
247247
self.global_redundant_expert_num = ascend_config.init_redundancy_expert
248+
self.log2phy = None
249+
self.expert_map = None
248250
# static eplb initializing with expert_map_path
249251
if self.expert_map_path and os.path.exists(
250252
self.expert_map_path) and os.access(self.expert_map_path,

0 commit comments

Comments
 (0)