Jelajahi Sumber

chore: clean useless beam search param (#7985)

Signed-off-by: thxCode <thxcode0824@gmail.com>
Frank Mai 1 tahun lalu
induk
melakukan
b96f9afb0d
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      common/common.h

+ 0 - 1
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)