]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Allow setting the rng seed after initialization. (#1184)
authorÁsgeir Bjarni Ingvarsson <redacted>
Wed, 26 Apr 2023 20:08:43 +0000 (20:08 +0000)
committerGitHub <redacted>
Wed, 26 Apr 2023 20:08:43 +0000 (22:08 +0200)
commit87a6f846d3e929632c45916dd08f1e2a9c72d2a3
tree3f7dbad866c710048a066704ec5d9af4ab34feb2
parentea3ad7eb60cfb44526a58122e8019850f437cd1b
Allow setting the rng seed after initialization. (#1184)

The llama_set_state_data function restores the rng state to what it
was at the time llama_copy_state_data was called. But users may want
to restore the state and proceed with a different seed.
llama.cpp
llama.h