mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-18 09:14:27 +08:00
[Misc] method name typo fix (#23042)
Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
parent
5c32143b9d
commit
87f48623a5
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user