↓ 12 callersFunctionload_pretrained_model(model_path, model_base, model_name, model_type, load_8bit=False, load_4bit=False,
d
bunny/model/builder.py:12
↓ 6 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
bunny/model/language_model/qwen2/modeling_qwen2.py:189
↓ 6 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
bunny/model/language_model/phi3/modeling_phi3.py:269
↓ 4 callersMethodprepare_inputs_labels_for_multimodal(
self, input_ids, position_ids, attention_mask, past_key_values, labels, images
)
bunny/model/bunny_arch.py:87
↓ 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
bunny/model/language_model/llama/modeling_llama.py:521
↓ 2 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
bunny/model/language_model/phi/modeling_phi.py:219