Skip to content

Commit b23f513

Browse files
committed
[vl] using config.json set top_k
1 parent bad53c6 commit b23f513

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fastdeploy/worker/vl_gpu_model_runner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,6 @@ def _load_model(
237237
fd_config.model_config.think_end_id = tokenizer.get_vocab()["</think>"]
238238
fd_config.model_config.max_text_id = fd_config.model_config.im_patch_id
239239
fd_config.model_config.sequence_parallel = False
240-
# TODO (bukejiyu): Remove the assignment
241-
fd_config.moe_config.top_k = 8
242240
self.fd_config = fd_config
243241
self.model_cfg = self.fd_config.model_config
244242
self.image_preprocess = self._init_image_preprocess(

0 commit comments

Comments
 (0)