Skip to content

Commit 87f4862

Browse files
authored
[Misc] method name typo fix (#23042)
Signed-off-by: Andy Xie <[email protected]>
1 parent 5c32143 commit 87f4862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/v1/worker/cpu_model_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(self, vllm_config: VllmConfig, device: torch.device):
2929
self.use_cuda_graph = False
3030
self.cascade_attn_enabled = False
3131

32-
self._postprocess_tenosrs()
32+
self._postprocess_tensors()
3333

3434
def _may_reorder_batch(self, scheduler_output: "SchedulerOutput") -> None:
3535
"""
@@ -59,7 +59,7 @@ def _may_reorder_batch(self, scheduler_output: "SchedulerOutput") -> None:
5959
self.attn_groups[0][0].metadata_builder.reorder_batch(
6060
self.input_batch, scheduler_output)
6161

62-
def _postprocess_tenosrs(self) -> None:
62+
def _postprocess_tensors(self) -> None:
6363
# Note: replace device tensors with cpu tensors
6464
def replace_tensor(obj: Any, cpu_attr_name: str,
6565
device_attr_name) -> None:

0 commit comments

Comments
 (0)