[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
+3 -3
View File
@@ -143,11 +143,11 @@ class XpuWorker(WorkerBase):
output = self.model_runner.execute_model(model_forward_batch)
return output
def prefill_finished(self):
def exist_prefill(self):
"""
check whether prefill stage finished
check whether prefill stage exist
"""
return self.model_runner.prefill_finished()
return self.model_runner.exist_prefill()
def preprocess_new_task(self, req_dicts: List[Request]) -> None:
"""Process new requests and then start the decode loop