[0/N] Rename MultiModalInputs to MultiModalKwargs (#10040)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -1162,7 +1162,7 @@ class MllamaForConditionalGeneration(nn.Module, SupportsMultiModal):
|
||||
|
||||
def _parse_and_validate_image_input(self, **kwargs: object):
|
||||
# tensor with the same shape will be batched together by
|
||||
# MultiModalInputs.batch, so pixel_values here can be:
|
||||
# MultiModalKwargs.batch, so pixel_values here can be:
|
||||
# - List[List[torch.Tensor]]:
|
||||
# with shape (num_tiles, 3, image_res, image_res)
|
||||
# - List[torch.Tensor]:
|
||||
|
||||
Reference in New Issue
Block a user