[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
+3 -4
View File
@@ -334,15 +334,14 @@ class IsaacProcessingInfo(BaseProcessingInfo):
return IsaacConfig()
def get_image_processor(self, **kwargs) -> IsaacImageProcessor:
return IsaacImageProcessor(kwargs)
return IsaacImageProcessor(**kwargs)
def get_hf_processor(self, **kwargs) -> IsaacProcessor:
hf_config = self.get_hf_config()
return self.ctx.init_processor(
IsaacProcessor,
return IsaacProcessor(
tokenizer=self.get_tokenizer(),
image_processor=self.get_image_processor(),
image_processor=self.get_image_processor(**kwargs),
image_token=hf_config.vision_token,
)