mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	convert : fix Llama 4 conversion (#14311)
This commit is contained in:
		@@ -2193,7 +2193,7 @@ class Llama4VisionModel(MmprojModel):
 | 
			
		||||
                name += ".weight"
 | 
			
		||||
            if "multi_modal_projector.linear_1" in name:
 | 
			
		||||
                # 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 []
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user