[BugFix] vl encoder tokens dtype problem (#3069)

This commit is contained in:
ltd0924
2025-07-30 15:20:53 +08:00
committed by GitHub
parent eeadbf332a
commit ecf2fd5b9a

View File

@@ -396,8 +396,6 @@ class TokenProcessor:
) )
if token_id in task.eos_token_ids or is_prefill or recovery_stop: if token_id in task.eos_token_ids or is_prefill or recovery_stop:
result.finished = True result.finished = True
result.prompt = task.prompt
result.prompt_token_ids = task.prompt_token_ids
if recovery_stop: if recovery_stop:
result.error_msg = "Recover is not supported, the result is incomplete!" result.error_msg = "Recover is not supported, the result is incomplete!"
llm_logger.info( llm_logger.info(