This commit is contained in:
Mohit Sharma 2025-04-22 01:58:00 +05:30 committed by GitHub
parent 46ff016490
commit f34b06ca3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -387,7 +387,6 @@ class VlmCausalLMBatch(FlashCausalLMBatch):
image_id = 0 image_id = 0
for chunk in r.input_chunks.chunks: for chunk in r.input_chunks.chunks:
chunk_type = chunk.WhichOneof("chunk") chunk_type = chunk.WhichOneof("chunk")
if chunk_type == "text": if chunk_type == "text":
text = preprocess_text(config, chunk.text) text = preprocess_text(config, chunk.text)