Skip to content

Commit fd4e6d8

Browse files
白永斌dsxsteven
authored andcommitted
mock adaptor
Signed-off-by: 白永斌 <baiyongbin3@h-partners.com>
1 parent 4f42c32 commit fd4e6d8

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

vllm/distributed/eplb/eplb_adaptor/__init__.py

Whitespace-only changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import json
2+
from typing import Any
3+
4+
5+
class VllmEplbAdaptor():
6+
def __init__(self, model, **args):
7+
self.model = model
8+
self.expert_map_per_layer_cpu = dict()
9+
self.buffer_tensor_list: list[list[Any]] = [[]]
10+
self.expert_param_per_layer = dict()
11+
12+
def do_update_expert_map(self, *args, **kwargs):
13+
pass
14+
15+
def do_update_log2phy_map(self, *args, **kwargs):
16+
pass
17+
18+
def do_update_expert_weight(self, *args, **kwargs):
19+
pass

0 commit comments

Comments
 (0)