Skip to content

Commit b23fa0b

Browse files
convert : fix Llama 4 conversion (#14311)
1 parent 06cbedf commit b23fa0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,7 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
21932193
name += ".weight"
21942194
if "multi_modal_projector.linear_1" in name:
21952195
# despite the name with number postfix, this is a single fully connected layer
2196-
return [(gguf.TENSOR_NAMES[gguf.MODEL_TENSOR.V_MMPROJ_FC], data_torch)]
2196+
return [(gguf.TENSOR_NAMES[gguf.MODEL_TENSOR.V_MMPROJ_FC] + '.weight', data_torch)]
21972197
return [(self.map_tensor_name(name), data_torch)]
21982198
return []
21992199

0 commit comments

Comments
 (0)