File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lightllm/models/qwen3_moe/layer_weights Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ def _init_weight_names(self):
4747 self ._ffn_norm_bias_name = None
4848
4949 def load_hf_weights (self , weights ):
50- super ().load_hf_weights (weights )
5150 kv_b_quant_method = self .quant_cfg .get_quant_method (self .layer_num_ , "kv_b_proj" )
5251 if self .quant_cfg .quantized_weight :
5352 _k_scale_weight_name = self ._k_weight_name .replace ("weight" , kv_b_quant_method .weight_scale_suffix )
5453 self ._repeat_weight (_k_scale_weight_name , weights )
5554 _v_scale_weight_name = self ._v_weight_name .replace ("weight" , kv_b_quant_method .weight_scale_suffix )
5655 self ._repeat_weight (_v_scale_weight_name , weights )
57- return
56+ return super (). load_hf_weights ( weights )
5857
5958 def _init_weight (self ):
6059 self ._init_qkv ()
You can’t perform that action at this time.
0 commit comments