Method__init__(
self,
dim,
max_position_embeddings=2048,
base=10000,
device=None,
deepseek_vl2/models/modeling_deepseek.py:264
Functionrepeat_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
deepseek_vl2/models/modeling_deepseek.py:699