Skip to content

Commit 7ea3bb4

Browse files
committed
update
1 parent a9fd68a commit 7ea3bb4

File tree

1 file changed

+4
-0
lines changed
  • lightllm/common/basemodel/layer_weights/meta_weights/mm_weight

1 file changed

+4
-0
lines changed

lightllm/common/basemodel/layer_weights/meta_weights/mm_weight/mm_weight.py

+4
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,11 @@ def _fuse_weights(self) -> None:
125125

126126
def _load_weights(self, weights: Dict[str, torch.Tensor]) -> None:
127127
self._pre_porcess_weights(weights)
128+
129+
def load_hf_weights(self, weights):
130+
super().load_hf_weights(weights)
128131
self._fuse_weights()
132+
return
129133

130134

131135
class BMMWeightTpl(MMWeightTpl):

0 commit comments

Comments
 (0)