mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-28 08:31:25 +00:00 
			
		
		
		
	gguf-py : display the invalid gguf type (#13687)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
		| @@ -251,7 +251,7 @@ class GGUFReader: | |||||||
|                 offs += curr_size |                 offs += curr_size | ||||||
|             return offs - orig_offs, aparts, data_idxs, types |             return offs - orig_offs, aparts, data_idxs, types | ||||||
|         # We can't deal with this one. |         # We can't deal with this one. | ||||||
|         raise ValueError('Unknown/unhandled field type {gtype}') |         raise ValueError(f'Unknown/unhandled field type {gtype}') | ||||||
|  |  | ||||||
|     def _get_tensor_info_field(self, orig_offs: int) -> ReaderField: |     def _get_tensor_info_field(self, orig_offs: int) -> ReaderField: | ||||||
|         offs = orig_offs |         offs = orig_offs | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Emmanuel Ferdman
					Emmanuel Ferdman