[LLM] update function name (#2985)

* [LLM] update function name
This commit is contained in:
ltd0924
2025-07-24 15:03:40 +08:00
committed by GitHub
parent e14587a954
commit 3792345c3a
10 changed files with 24 additions and 24 deletions

View File

@@ -584,9 +584,9 @@ class XPUModelRunner(ModelRunnerBase):
logger.warn("XPU not support cuda graph currently")
pass
def prefill_finished(self):
def exist_prefill(self):
"""
check whether prefill stage finished
check whether prefill stage exist
"""
if int(paddle.max(self.share_inputs["seq_lens_encoder"])) != 0:
return 1