↓ 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
VISTA/TinyLLaVA-VISTA/tinyllava/model/llm/modeling_phi.py:218
↓ 4 callersFunctionrepeat_kv This is the equivalent of torch.repeat_interleave(x, dim=2, repeats=n_rep). The hidden states go from (batch, seqlen, num_key_value_heads, he
RLVMR/code/verl/models/transformers/monkey_patch.py:32