mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 11:14:33 +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
|
@ -20519,10 +20519,6 @@ uint32_t * llama_context_n_layer_window(struct llama_context * ctx) {
|
|||
return ctx->cparams.n_layer_window;
|
||||
}
|
||||
|
||||
uint32_t * llama_context_n_gpu_layers(struct llama_context * ctx) {
|
||||
return ctx->cparams.n_gpu_layers;
|
||||
}
|
||||
|
||||
void llama_free(struct llama_context * ctx) {
|
||||
delete ctx;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue