mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-09 23:54:34 +00:00
fix error in llama_context_n_gpu_layers
This commit is contained in:
parent
5d9aadf3d5
commit
9279a2e3ff
3 changed files with 0 additions and 7 deletions
|
@ -1440,7 +1440,6 @@ struct llama_init_result llama_init_from_gpt_params(gpt_params & params) {
|
|||
params.n_gpu_layers = n_gpu_layers[my_rank];
|
||||
cparams.n_gpu_layers = n_gpu_layers[my_rank];
|
||||
mparams.n_gpu_layers = n_gpu_layers[my_rank];
|
||||
llama_context_n_gpu_layers(lctx)[my_rank] = n_gpu_layers[my_rank];
|
||||
|
||||
#ifdef LLAMA_DEBUG
|
||||
device_print_props(dev_info_set, n_world, model, cparams);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue