]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
fix typo in comment (#318)
authorMack Straight <redacted>
Tue, 21 Mar 2023 15:49:43 +0000 (08:49 -0700)
committerGitHub <redacted>
Tue, 21 Mar 2023 15:49:43 +0000 (17:49 +0200)
convert-pth-to-ggml.py

index c506676fc7de8503b7cc2819f61c4c40925c27ba..46f7eba1c217c0909164000e1307a8f856433d87 100644 (file)
@@ -67,7 +67,7 @@ def write_header(fout, hparams, ftype):
 
     keys = ["vocab_size", "dim", "multiple_of", "n_heads", "n_layers"]
     values = [
-        0x67676d66,  # magic: ggml in hex
+        0x67676d66,  # magic: ggmf in hex
         1, # file version
         *[hparams[key] for key in keys],
         hparams["dim"] // hparams["n_heads"],  # rot (obsolete)