mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
Initialize default slot sampling parameters from the global context. (#8418)
This commit is contained in:
parent
dd07a123b7
commit
278d0e1846
@ -737,6 +737,8 @@ struct server_context {
|
|||||||
slot.ga_n = ga_n;
|
slot.ga_n = ga_n;
|
||||||
slot.ga_w = ga_w;
|
slot.ga_w = ga_w;
|
||||||
|
|
||||||
|
slot.sparams = params.sparams;
|
||||||
|
|
||||||
slot.reset();
|
slot.reset();
|
||||||
|
|
||||||
slots.push_back(slot);
|
slots.push_back(slot);
|
||||||
|
Loading…
Reference in New Issue
Block a user