[Misc] method name typo fix (#23042)

Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
Ning Xie 2025-08-17 12:49:14 +08:00 committed by GitHub
parent 5c32143b9d
commit 87f48623a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ class CPUModelRunner(GPUModelRunner):
self.use_cuda_graph = False
self.cascade_attn_enabled = False
self._postprocess_tenosrs()
self._postprocess_tensors()
def _may_reorder_batch(self, scheduler_output: "SchedulerOutput") -> None:
"""
@ -59,7 +59,7 @@ class CPUModelRunner(GPUModelRunner):
self.attn_groups[0][0].metadata_builder.reorder_batch(
self.input_batch, scheduler_output)
def _postprocess_tenosrs(self) -> None:
def _postprocess_tensors(self) -> None:
# Note: replace device tensors with cpu tensors
def replace_tensor(obj: Any, cpu_attr_name: str,
device_attr_name) -> None: