↓ 7 callersMethod__init__(self, config, ds_config, training_config, load_head=False, load_emb=True, path=None)
eagle/traineagle3/cnets.py:481
↓ 7 callersMethod__init__(self, config, load_emb=False, path=None, bias=True, total_tokens=63, depth=5, top_k=8, threshold=1.0)
eagle/model/cnets.py:479
↓ 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
eagle/model/modeling_qwen2_kv.py:223
↓ 3 callersMethodtopK_genrate(self, hidden_states, input_ids, head, logits_processor,max_length=4, use_cache=True)
eagle/testbug/model/cnets.py:572
↓ 2 callersFunctionea_forward(input_ids, model, tokenizer, tree_choices, logits_processor=None, max_steps=512)
eagle/evaluation/gen_ea_alpha_llama2chat.py:28
↓ 2 callersFunctionea_forward(input_ids, model, tokenizer, tree_choices, logits_processor=None, max_steps=512)
eagle/evaluation/gen_baseline_answer_mix.py:27
↓ 2 callersFunctionea_forward(input_ids, model, tokenizer, tree_choices, logits_processor=None , max_steps = 512)
eagle/evaluation/gen_ea_alpha_vicuna.py:34
↓ 2 callersFunctionea_forward(input_ids, model, tokenizer, tree_choices, logits_processor=None, max_steps=512)
eagle/evaluation/gen_baseline_answer_llama2chat.py:27
↓ 2 callersFunctionea_forward(input_ids, model, tokenizer, tree_choices, logits_processor=None, max_steps=2048)
eagle/evaluation/gen_baseline_answer_vicuna.py:27
↓ 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,
eagle/modeling_eagle.py:64
↓ 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,
eagle/testbug/model/cnets.py:86
↓ 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,
eagle/traineagle3/cnets.py:71
↓ 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
eagle/model/modeling_mixtral_kv.py:281
↓ 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
eagle/model/modeling_qwen3_kv.py:186
↓ 2 callersMethodtopK_genrate(self, hidden_states, input_ids, head, logits_processor, max_length=4, use_cache=True,
a
eagle/modeling_eagle.py:863