We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecdd94 commit 1dfb768Copy full SHA for 1dfb768
llama_cpp/llama.py
@@ -309,6 +309,7 @@ def __init__(
309
310
# Context Params
311
self.context_params = llama_cpp.llama_context_default_params()
312
+ self.context_params.seed = seed
313
self.context_params.n_ctx = n_ctx
314
self.context_params.n_batch = self.n_batch
315
self.context_params.n_ubatch = min(self.n_batch, n_ubatch)
0 commit comments