From ec667c78bae62ec0a457c9a2c5b3bc08709ff9d5 Mon Sep 17 00:00:00 2001 From: thxCode Date: Tue, 18 Jun 2024 09:12:16 +0800 Subject: [PATCH] chore: clean useless beam search param Signed-off-by: thxCode --- common/common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/common/common.h b/common/common.h index 58ed72f43..9a1dc4a2f 100644 --- a/common/common.h +++ b/common/common.h @@ -73,7 +73,6 @@ struct gpt_params { int32_t n_gpu_layers_draft = -1; // number of layers to store in VRAM for the draft model (-1 - use default) int32_t main_gpu = 0; // the GPU that is used for scratch and small tensors float tensor_split[128] = {0}; // how split tensors should be distributed across GPUs - int32_t n_beams = 0; // if non-zero then use beam search of given width. int32_t grp_attn_n = 1; // group-attention factor int32_t grp_attn_w = 512; // group-attention width int32_t n_print = -1; // print token count every n tokens (-1 = disabled)