Skip to content

Commit 251e78a

Browse files
authored
Update convert_hf_to_gguf.py
1 parent 443ec9b commit 251e78a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

convert_hf_to_gguf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,6 @@ def prepare_tensors(self):
346346
data_qtype = gguf.GGMLQuantizationType.BF16
347347
elif self.ftype == gguf.LlamaFileType.MOSTLY_Q8_0:
348348
data_qtype = gguf.GGMLQuantizationType.Q8_0
349-
elif self.ftype == gguf.LlamaFileType.MOSTLY_Q4_0:
350-
data_qtype = gguf.GGMLQuantizationType.Q4_0
351349
elif self.ftype == gguf.LlamaFileType.MOSTLY_TQ1_0:
352350
data_qtype = gguf.GGMLQuantizationType.TQ1_0
353351
elif self.ftype == gguf.LlamaFileType.MOSTLY_TQ2_0:

0 commit comments

Comments
 (0)