[Model] Update Kimi-K25 and Isaac processors to fit HF-style (#37693)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-03-20 18:30:22 +00:00
committed by GitHub
parent d7d2b5e405
commit 37aadf6237
5 changed files with 128 additions and 95 deletions
@@ -286,11 +286,9 @@ class Step3VLImageProcessor:
def __call__(
self,
images: Image.Image | list[Image.Image] | None = None,
images: Image.Image | list[Image.Image],
return_tensors: str | TensorType | None = None,
) -> BatchFeature:
if images is None:
images = []
if not isinstance(images, list):
images = [images]