]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
py : fix lint (#4889)
authorGeorgi Gerganov <redacted>
Fri, 12 Jan 2024 11:03:38 +0000 (13:03 +0200)
committerGeorgi Gerganov <redacted>
Fri, 12 Jan 2024 11:03:38 +0000 (13:03 +0200)
convert-hf-to-gguf.py

index 813aeeed680f85bd7c8a6be01845cc5b9a71a4bd..a1c79fd478c22d931f7c3deb19741532f7856dbb 100755 (executable)
@@ -825,7 +825,7 @@ class PersimmonModel(Model):
         # NOTE: not sure about this change - why does the model not have a rope dimension count when it is smaller
         #       than the head size?
         #       ref: https://github.com/ggerganov/llama.cpp/pull/4889
-        #self.gguf_writer.add_rope_dimension_count(hidden_size // head_count)
+        # self.gguf_writer.add_rope_dimension_count(hidden_size // head_count)
         self.gguf_writer.add_rope_dimension_count(hidden_size // head_count // 2)
 
         self.gguf_writer.add_head_count(head_count)