File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ llama_context::llama_context(
181181 /* .type_v =*/ params.type_v ,
182182 };
183183
184- memory.reset (model.create_memory (cparams, params_mem ));
184+ memory.reset (model.create_memory (params_mem, cparams ));
185185 }
186186
187187 // init backends
Original file line number Diff line number Diff line change @@ -12765,7 +12765,7 @@ struct llm_build_bailingmoe : public llm_graph_context {
1276512765 }
1276612766};
1276712767
12768- llama_memory_i * llama_model::create_memory(llama_cparams & cparams, const llama_memory_params & params ) const {
12768+ llama_memory_i * llama_model::create_memory(const llama_memory_params & params, llama_cparams & cparams ) const {
1276912769 llama_memory_i * res;
1277012770
1277112771 const bool offload = cparams.offload_kqv;
Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ struct llama_model {
392392
393393 // note: can mutate `cparams`
394394 // TODO: move this to new llm_arch_model_i interface
395- llama_memory_i * create_memory (llama_cparams & cparams, const llama_memory_params & params ) const ;
395+ llama_memory_i * create_memory (const llama_memory_params & params, llama_cparams & cparams ) const ;
396396
397397 // TODO: move this to new llm_arch_model_i interface
398398 llm_graph_result_ptr build_graph (
You can’t perform that action at this time.
0 commit comments