aboutsummaryrefslogtreecommitdiff
path: root/examples/common.cpp
diff options
context:
space:
mode:
authorxaedes <xaedes@gmail.com>2023-04-22 08:21:32 +0200
committerGitHub <noreply@github.com>2023-04-22 09:21:32 +0300
commitb6e7f9b09e9c340ec97a2fae61c1eb8db861f2f9 (patch)
treec3403ece69b8bc3969284e974b9e6822cda3d97e /examples/common.cpp
parent50cb666b8a2e35a49b08c0f6bc81138c8f6f2ac1 (diff)
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
Diffstat (limited to 'examples/common.cpp')
0 files changed, 0 insertions, 0 deletions