fix: stop shadowing the DSpark shared-experts fusion guard (#39366)

This commit is contained in:
Shuwen Wang
2026-09-14 22:24:49 -07:00
committed by GitHub
parent b510881157
commit 5298d85218
@@ -665,12 +665,6 @@ class DeepseekV4ForCausalLMDSpark(nn.Module):
hf_config, quant_config
)
@classmethod
def shared_experts_fusion_disable_reason(cls, hf_config, quant_config):
return DeepseekV4ForCausalLM.shared_experts_fusion_disable_reason(
hf_config, quant_config
)
def __init__(
self,
config: DeepSeekV4Config,