[Misc][Model][Refactor] Pass the prefix into Linear layers (#31669)
Signed-off-by: Wang Kunpeng <1289706727@qq.com>
This commit is contained in:
@@ -78,6 +78,7 @@ class JambaMoE(nn.Module):
|
||||
bias=False,
|
||||
quant_config=None,
|
||||
params_dtype=params_dtype,
|
||||
prefix=f"{prefix}.router",
|
||||
)
|
||||
|
||||
self.experts = FusedMoE(
|
||||
|
||||
Reference in New Issue
Block a user