mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-06-19 07:42:06 +00:00
nit
This commit is contained in:
parent
46ff016490
commit
f34b06ca3b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user