mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 03:14:53 +00:00
Clean the code
Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
parent
a27039bc51
commit
f0dac1dec8
File diff suppressed because it is too large
Load Diff
@ -338,9 +338,6 @@ class FlashVlmCausalLMBatch(FlashCausalLMBatch):
|
|||||||
image_id += 1
|
image_id += 1
|
||||||
|
|
||||||
full_text = image_text_replacement_fixup(config, full_text)
|
full_text = image_text_replacement_fixup(config, full_text)
|
||||||
log_master(
|
|
||||||
logger.debug, f"full_text: {full_text}"
|
|
||||||
)
|
|
||||||
input_ids = tokenizer(
|
input_ids = tokenizer(
|
||||||
full_text,
|
full_text,
|
||||||
truncation=True,
|
truncation=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user