From 3b1ae2cbeb59c656aa872b0fdf16349d1fea1662 Mon Sep 17 00:00:00 2001 From: Yann Follet Date: Tue, 18 Jun 2024 10:39:44 +0000 Subject: [PATCH] fix merge master --- common/common.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/common.cpp b/common/common.cpp index bcdfb676d8666..0f695f2d2a40d 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -394,11 +394,6 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa params.n_predict = std::stoi(argv[i]); return true; } - if (arg == "-n" || arg == "--predict" || arg == "--n-predict") { - CHECK_ARG - params.n_predict = std::stoi(argv[i]); - return true; - } if (arg == "--top-k") { CHECK_ARG sparams.top_k = std::stoi(argv[i]);