]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : fix alignment of general.name in print meta (#4254)
authorDaniel Bevenius <redacted>
Thu, 30 Nov 2023 21:43:08 +0000 (22:43 +0100)
committerGitHub <redacted>
Thu, 30 Nov 2023 21:43:08 +0000 (23:43 +0200)
commitb18c66ca6eee4fe0465cff5042daf05005dc9ab2
tree1e8f1f4da077675de443e07e723d56c07e816059
parentf4d973cecb7368c985720ba9100ae6abba14806d
llama : fix alignment of general.name in print meta (#4254)

* llama: fix alignment of general.name in print meta

This commit fixes the alignment of the general.name field in the
llm_load_print_meta function.

Currently the output looks like this:
```console
llm_load_print_meta: model ftype      = mostly Q4_0
llm_load_print_meta: model params     = 13.02 B
llm_load_print_meta: model size       = 6.86 GiB (4.53 BPW)
llm_load_print_meta: general.name   = LLaMA v2
```
And with this commit it looks like this:
```console
llm_load_print_meta: model ftype      = mostly Q4_0
llm_load_print_meta: model params     = 13.02 B
llm_load_print_meta: model size       = 6.86 GiB (4.53 BPW)
llm_load_print_meta: general.name     = LLaMA v2
```

Signed-off-by: Daniel Bevenius <redacted>
* llama: fix alignment of special tokens

Signed-off-by: Daniel Bevenius <redacted>
---------

Signed-off-by: Daniel Bevenius <redacted>
llama.cpp