mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-24 03:45:31 +08:00
[Bugfix] Update get_processor_data to use get_all method (#30583)
Signed-off-by: Drew Botwinick <6953152+dbotwinick@users.noreply.github.com>
This commit is contained in:
parent
a8ec486592
commit
5b64ac21f9
@ -120,7 +120,7 @@ class ProcessorBatchItems(ModalityDataItems[Sequence[_T], _T]):
|
||||
return self.data[index]
|
||||
|
||||
def get_processor_data(self) -> Mapping[str, object]:
|
||||
return {f"{self.modality}s": self.data}
|
||||
return {f"{self.modality}s": self.get_all()}
|
||||
|
||||
def get_passthrough_data(self) -> Mapping[str, object]:
|
||||
return {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user