Skip to content

Commit 6fd1933

Browse files
committed
add comment
1 parent 6af5deb commit 6fd1933

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,6 +2170,7 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
21702170
if "positional_embedding_vlm" in name and ".weight" not in name:
21712171
name += ".weight"
21722172
if "multi_modal_projector.linear_1" in name:
2173+
# despite the name with number postfix, this is a single fully connected layer
21732174
return [(gguf.TENSOR_NAMES[gguf.MODEL_TENSOR.V_MMPROJ_FC], data_torch)]
21742175
return [(self.map_tensor_name(name), data_torch)]
21752176
return []

0 commit comments

Comments
 (0)