Fix MoE LoRA wrapper exposing moe_runner_config (#26710)

This commit is contained in:
huangtingwei
2026-05-30 01:59:15 -07:00
committed by GitHub
parent 3b61a1f935
commit c93a559e5a
+1
View File
@@ -881,6 +881,7 @@ class FusedMoEWithLoRA(BaseLayerWithLoRA):
self.experts_shared_outer_loras: bool = False
self.lora_use_virtual_experts: bool = False
self.quant_method = base_layer.quant_method
self.moe_runner_config = base_layer.moe_runner_config
self.tp_size = getattr(base_layer, "moe_tp_size", 1)
self.tp_rank = getattr(base_layer, "moe_tp_rank", 0)