Skip to content

Commit 86ced79

Browse files
HanClintoNeo Zhang
authored andcommitted
Initialize default slot sampling parameters from the global context. (ggml-org#8418)
1 parent 2f027bc commit 86ced79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/server/server.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,8 @@ struct server_context {
737737
slot.ga_n = ga_n;
738738
slot.ga_w = ga_w;
739739

740+
slot.sparams = params.sparams;
741+
740742
slot.reset();
741743

742744
slots.push_back(slot);

0 commit comments

Comments
 (0)