↓ 4 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch, num_key_value_heads, seqlen, he
align_anything/models/modeling_emu3/mllm/modeling_emu3.py:285
↓ 4 callersFunctiontensor_image_preprocessor(
size=(224, 384),
data_augmentation=False,
specific=False,
augmentation_version='v2',
mea
align_anything/models/spoc_models/models/transformer_models/preprocessors.py:40