[Model] Add MiniCPM-V 4.6 support (#24855)

This commit is contained in:
Yihao Wang
2026-05-10 12:24:17 -04:00
committed by GitHub
parent 335dbd60b4
commit 9150e77399
8 changed files with 1552 additions and 4 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ def sample_image_requests(
# Generate text prompt
text_prompt = gen_mm_prompt(
processor.tokenizer,
processor.tokenizer if hasattr(processor, "tokenizer") else processor,
processor.image_token_id if hasattr(processor, "image_token_id") else None,
int(input_lens[i]),
)