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 db4d6da commit 52c2ca2Copy full SHA for 52c2ca2
tools/server/server.cpp
@@ -1862,7 +1862,7 @@ struct server_context {
1862
1863
llama_context_params cparams_dft;
1864
1865
- llama_batch batch;
+ llama_batch batch = {};
1866
1867
bool clean_kv_cache = true;
1868
bool add_bos_token = true;
@@ -1884,8 +1884,6 @@ struct server_context {
1884
1885
common_chat_templates_ptr chat_templates;
1886
1887
- server_context() : batch({}) {
1888
- }
1889
~server_context() {
1890
mtmd_free(mctx);
1891
0 commit comments