From 2b7cff5f5ab7556cbd48166d3d69fb075f6c41e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20G=C3=A4=C3=9Fler?= Date: Tue, 23 Apr 2024 13:55:05 +0200 Subject: [PATCH] fixup! fixup! sampling: separate rng per sampling context --- common/common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/common.cpp b/common/common.cpp index a04642364..a0d1f8d59 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -242,6 +242,7 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa invalid_param = true; return true; } + // This is temporary, in the future the samplign state will be moved fully to llama_sampling_context. params.seed = std::stoul(argv[i]); sparams.seed = std::stoul(argv[i]); return true;