mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-29 04:35:05 +00:00
convert : fix Llama 4 conversion (#14311)
This commit is contained in:
@ -2193,7 +2193,7 @@ class Llama4VisionModel(MmprojModel):
|
|||||||
name += ".weight"
|
name += ".weight"
|
||||||
if "multi_modal_projector.linear_1" in name:
|
if "multi_modal_projector.linear_1" in name:
|
||||||
# despite the name with number postfix, this is a single fully connected layer
|
# despite the name with number postfix, this is a single fully connected layer
|
||||||
return [(gguf.TENSOR_NAMES[gguf.MODEL_TENSOR.V_MMPROJ_FC], data_torch)]
|
return [(gguf.TENSOR_NAMES[gguf.MODEL_TENSOR.V_MMPROJ_FC] + '.weight', data_torch)]
|
||||||
return [(self.map_tensor_name(name), data_torch)]
|
return [(self.map_tensor_name(name), data_torch)]
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user