mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-03 09:22:01 +00:00 
			
		
		
		
	remove unused functions from gguf_writer.py
This commit is contained in:
		@@ -870,12 +870,6 @@ class GGUFWriter:
 | 
				
			|||||||
    def add_ssm_head_dim(self, value: int) -> None:
 | 
					    def add_ssm_head_dim(self, value: int) -> None:
 | 
				
			||||||
        self.add_uint32(Keys.SSM.HEAD_DIM.format(arch=self.arch), value)
 | 
					        self.add_uint32(Keys.SSM.HEAD_DIM.format(arch=self.arch), value)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def add_attn_head_count(self, count: int) -> None:
 | 
					 | 
				
			||||||
        self.add_uint32(Keys.Attention.HEAD_COUNT.format(arch=self.arch), count)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def add_key_value_head_count(self, count: int) -> None:
 | 
					 | 
				
			||||||
        self.add_uint32(Keys.Attention.HEAD_COUNT_KV.format(arch=self.arch), count)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def add_tokenizer_model(self, model: str) -> None:
 | 
					    def add_tokenizer_model(self, model: str) -> None:
 | 
				
			||||||
        self.add_string(Keys.Tokenizer.MODEL, model)
 | 
					        self.add_string(Keys.Tokenizer.MODEL, model)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user