↓ 7 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
nextgpt/model/multimodal_projector/group_vit.py:26
↓ 7 callersMethod__init__(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
nextgpt/model/multimodal_projector/group.py:26
↓ 6 callersFunctionbuild_output_projector(config, projector_type, out_features, num_query_token, delay_load=False, **kwargs)
nextgpt/model/multimodal_projector/builder.py:66
↓ 3 callersFunctionl2_loss Args: u: (N, T_I_V_A.txt, D) tensor. v: (N, T_I_V_A.txt, D) tensor. Returns: l1_loss: (N,) tensor of summed L1 loss.
NExT-GPT-Lagacy/code/model/common/utils.py:356
↓ 3 callersFunctionl2_loss Args: u: (N, T_I_V_A.txt, D) tensor. v: (N, T_I_V_A.txt, D) tensor. Returns: l1_loss: (N,) tensor of summed L1 loss.
nextgpt/model/language_model/nextgpt_llama.py:91
↓ 3 callersFunctionload_pretrained_model(model_path, model_base, model_name, load_8bit=False, load_4bit=False, device_map="auto", device="cuda", use_f
nextgpt/model/builder.py:26