mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	gguf : single pass for writing tensors + refactoring writer
This commit is contained in:
		@@ -267,7 +267,7 @@ for part_name in part_names:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        data = data.astype(data_dtype)
 | 
					        data = data.astype(data_dtype)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        print(name + ", n_dims = " + n_dims + ", " + str(old_dtype) + " --> " + str(data.dtype))
 | 
					        print(name + ", n_dims = " + str(n_dims) + ", " + str(old_dtype) + " --> " + str(data.dtype))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        gguf_writer.add_tensor(name, data)
 | 
					        gguf_writer.add_tensor(name, data)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user