Skip to content

Commit f8065e4

Browse files
ggerganovjordankanter
authored andcommitted
py : fix lint (ggml-org#4889)
1 parent 2bc9448 commit f8065e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert-hf-to-gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def set_gguf_parameters(self):
825825
# NOTE: not sure about this change - why does the model not have a rope dimension count when it is smaller
826826
# than the head size?
827827
# ref: https://github.com/ggerganov/llama.cpp/pull/4889
828-
#self.gguf_writer.add_rope_dimension_count(hidden_size // head_count)
828+
# self.gguf_writer.add_rope_dimension_count(hidden_size // head_count)
829829
self.gguf_writer.add_rope_dimension_count(hidden_size // head_count // 2)
830830

831831
self.gguf_writer.add_head_count(head_count)

0 commit comments

Comments
 (0)