From: Georgi Gerganov Date: Fri, 12 Jan 2024 11:03:38 +0000 (+0200) Subject: py : fix lint (#4889) X-Git-Tag: upstream/0.0.4488~2652 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=2d00741e12c5db4a33dfccd1125f5de4adec9a5b;p=pkg%2Fggml%2Fsources%2Fllama.cpp py : fix lint (#4889) --- diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py index 813aeeed..a1c79fd4 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -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)