Skip to content

Commit bd90094

Browse files
authored
fix(llama.cpp): do not set anymore lora_base (#2999)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
1 parent 89484ef commit bd90094

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/cpp/llama/grpc-server.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2259,7 +2259,6 @@ static void params_parse(const backend::ModelOptions* request,
22592259
// get the directory of modelfile
22602260
std::string model_dir = params.model.substr(0, params.model.find_last_of("/\\"));
22612261
params.lora_adapter.push_back(std::make_tuple(model_dir + "/"+request->loraadapter(), scale_factor));
2262-
params.lora_base = model_dir + "/"+request->lorabase();
22632262
}
22642263
params.use_mlock = request->mlock();
22652264
params.use_mmap = request->mmap();

0 commit comments

Comments
 (0)