]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : add api for getting/setting the complete state: rng, logits, embedding and...
authorxaedes <redacted>
Sat, 22 Apr 2023 06:21:32 +0000 (08:21 +0200)
committerGitHub <redacted>
Sat, 22 Apr 2023 06:21:32 +0000 (09:21 +0300)
commitb6e7f9b09e9c340ec97a2fae61c1eb8db861f2f9
treec3403ece69b8bc3969284e974b9e6822cda3d97e
parent50cb666b8a2e35a49b08c0f6bc81138c8f6f2ac1
llama : add api for getting/setting the complete state: rng, logits, embedding and kv_cache (#1105)

* reserve correct size for logits

* add functions to get and set the whole llama state:

including rng, logits, embedding and kv_cache

* remove unused variables

* remove trailing whitespace

* fix comment
llama.cpp
llama.h