mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	refactor : rm unused import and upd todos
This commit is contained in:
		
							
								
								
									
										9
									
								
								gguf.py
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								gguf.py
									
									
									
									
									
								
							@@ -1,14 +1,13 @@
 | 
				
			|||||||
"""TODOs
 | 
					"""TODOs
 | 
				
			||||||
1. Implement writing tensor data with alignment.
 | 
					1. Implement writers for known architectures, LLaMA in particular.
 | 
				
			||||||
2. Implement writers for known architectures, LLaMA in particular.
 | 
					2. Add docstrings from the format specs.
 | 
				
			||||||
3. Add docstrings from the format specs.
 | 
					3. After development is done, Convert it to a proper pip-installable Python package, and possibly move it to its own repo under ggml-org.
 | 
				
			||||||
4. After development is done, Convert it to a proper pip-installable Python package, and possibly move it to its own repo under ggml-org.
 | 
					 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import struct
 | 
					import struct
 | 
				
			||||||
import constants
 | 
					import constants
 | 
				
			||||||
from enum import IntEnum
 | 
					from enum import IntEnum
 | 
				
			||||||
from typing import Any, IO, List, Sequence
 | 
					from typing import Any, IO, List
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import numpy as np
 | 
					import numpy as np
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user