fix: update lints after rebase

This commit is contained in:
drbh 2024-12-13 16:07:52 +00:00
parent 5c7bc91a2f
commit bb00fb33ba

View File

@ -161,8 +161,8 @@ class MllamaCausalLMBatch(VlmCausalLMBatch):
dtype: torch.dtype,
device: torch.device,
) -> "VlmCausalLMBatch":
batch_tokenized_inputs, image_inputs, _video_inputs = cls.batch_tokenized_inputs(
pb.requests, tokenizer, processor, config
batch_tokenized_inputs, image_inputs, _video_inputs = (
cls.batch_tokenized_inputs(pb.requests, tokenizer, processor, config)
)
batch = cls.from_tokenized(pb, tokenizer, batch_tokenized_inputs, dtype, device)
# XXX: <|image|> token is actually out of bounds and bugs out the logit processors.