↓ 24 callersFunctiongenerate(pooled_prompt_embeds, prompt_embeds, outputs, filename, seed=None, height=1024, width=1024)
infer/inference_minicpm.py:182
↓ 17 callersFunctiongenerate(pooled_prompt_embeds, prompt_embeds, outputs, filename, seed=None, height=1024, width=1024)
infer/inference_qwenvl.py:184
↓ 8 callersMethod__init__(
self,
dim: int,
levels: List[int],
G: int,
R: int,
eps=1e-5,
minicpm/modeling_minicpmo.py:2263
↓ 8 callersFunctiongenerate(pooled_prompt_embeds, prompt_embeds, outputs, filename, seed=1, height=1024, width=1024)
infer/inference_internvl.py:192
↓ 6 callersMethod__init__(self, in_dim=4096, out_dim=4096, hidden_dim=4096, out_dim1=768, layer_norm_eps=1e-5, use_residual=True)
model_internvl/proj.py:54
↓ 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
model_internvl/modeling_qwen2.py:227
↓ 4 callersMethodencode(self, tokenizer, pixel_values, question, generation_config, history=None, return_history=False,
model_internvl/internvl/modeling_internvl_chat.py:365
↓ 3 callersMethod__init__(
self,
in_channels: List[int] = [128, 128],
out_channels: List[int] = [128, 256],
lightcontrol/lightcontrol_flux.py:580
↓ 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
model_internvl/internvl/modeling_internlm2.py:268