mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-14 18:08:38 +01:00
talk-llama : fix n_gpu_layers usage again (#1442)
This commit is contained in:
parent
0c91aef2d8
commit
75dc800d21
@ -267,7 +267,7 @@ int main(int argc, char ** argv) {
|
||||
|
||||
auto lmparams = llama_model_default_params();
|
||||
if (!params.use_gpu) {
|
||||
lcparams.lmparams = 0;
|
||||
lmparams.n_gpu_layers = 0;
|
||||
}
|
||||
|
||||
struct llama_model * model_llama = llama_load_model_from_file(params.model_llama.c_str(), lmparams);
|
||||
|
Loading…
Reference in New Issue
Block a user