MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

↓ 3 callersFunction_flash_attn_forward
(q, k, v, bias=None, causal=False, softmax_scale=None)
visual_instruction_tuning/llava/model/language_model/mpt/flash_attn_triton.py:329
↓ 3 callersMethod_init_weights
(self, module)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:747
↓ 3 callersMethod_replace_module
(self, parent_module, child_name, new_module, old_module)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:272
↓ 3 callersMethod_replace_module
(self, parent_module, child_name, new_module, old_module, old_module_weight = None, eval=False)
visual_instruction_tuning/peft/src/peft/tuners/dora.py:406
↓ 3 callersFunction_set_trainable
(model)
commonsense_reasoning/peft/src/peft/utils/other.py:116
↓ 3 callersMethod_shared_roi_transform
(self, features, boxes)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1332
↓ 3 callersFunction_split_with_none
(lang_feats, visn_feats, joint_feats)
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:528
↓ 3 callersMethod_test_adapter_name
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:173
↓ 3 callersMethod_test_delete_adapter
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:642
↓ 3 callersMethod_test_disable_adapter
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:767
↓ 3 callersMethod_test_from_pretrained_config_construction
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:331
↓ 3 callersMethod_test_inference_safetensors
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:475
↓ 3 callersMethod_test_merge_layers
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:348
↓ 3 callersMethod_test_model_attr
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:161
↓ 3 callersMethod_test_peft_model_device_map
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:597
↓ 3 callersMethod_test_prepare_for_training
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:188
↓ 3 callersMethod_test_save_pretrained
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:229
↓ 3 callersMethod_test_save_pretrained_selected_adapters
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:271
↓ 3 callersMethod_test_training
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:450
↓ 3 callersMethod_test_training_gradient_checkpointing
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:565
↓ 3 callersMethod_test_training_layer_indexing
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:511
↓ 3 callersMethod_test_training_prompt_learning_tasks
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:619
↓ 3 callersMethod_test_unload_adapter
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:676
↓ 3 callersMethod_test_weighted_combination_of_adapters
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/testing_common.py:702
↓ 3 callersMethodans2id
(self, ans)
image_video_text_understanding/CLIP-ViL/src/pretrain/qa_answer_table.py:61
↓ 3 callersFunctionbuild_logger
(logger_name, logger_filename)
visual_instruction_tuning/llava/utils.py:17
↓ 3 callersFunctioncached_path
Given something that might be a URL (or might be a local path), determine which. If it's a URL, download the file and cache it, and retur
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:81
↓ 3 callersMethodcaption_predict
Predict the answers to questions in a data split. :param eval_tuple: The data tuple to be evaluated. :param dump: The path of
image_video_text_understanding/VL-T5/src/multitask_video.py:575
↓ 3 callersMethodcompress_list_of_strings
(self, list_of_string, name)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:325
↓ 3 callersFunctioncompute_aspect_ratios
(dataset, indices=None)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:321
↓ 3 callersMethodconvert_ans
(self, ans)
image_video_text_understanding/VL-T5/src/qa_answer_table.py:50
↓ 3 callersFunctioncreate_aspect_ratio_groups
(dataset, k=0)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:345
↓ 3 callersMethoddecompress_getitem__
(self, index)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:344
↓ 3 callersMethoddecompress_string_index
(self, index, shared_array, record_position)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:340
↓ 3 callersFunctiondisplayQuestion
(index)
visual_instruction_tuning/llava/eval/webpage/script.js:110
↓ 3 callersMethodencode_image
(self, image)
image_video_text_understanding/VL-T5/src/clip/model.py:485
↓ 3 callersMethodeval
(self)
commonsense_reasoning/peft/src/peft/tuners/lora.py:343
↓ 3 callersFunctioneval_single
(result_file, eval_only_type=None)
visual_instruction_tuning/scripts/convert_seed_for_submission.py:14
↓ 3 callersMethodevaluate
(self, eval_tuple: DataTuple, dump=None)
image_video_text_understanding/CLIP-ViL/src/tasks/gqa.py:388
↓ 3 callersMethodevaluate
Evaluate all data in data_tuple.
image_video_text_understanding/CLIP-ViL/src/tasks/snli.py:405
↓ 3 callersMethodevaluate
Evaluate all data in data_tuple.
image_video_text_understanding/CLIP-ViL/src/tasks/vqa.py:408
↓ 3 callersMethodevaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/mmt.py:386
↓ 3 callersMethodevaluate
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/caption.py:398
↓ 3 callersMethodforward
(self, x: torch.Tensor)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:438
↓ 3 callersMethodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/lora/layers.py:148
↓ 3 callersMethodforward
(self, x: torch.Tensor)
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:351
↓ 3 callersMethodfrom_json_file
r""" Loads a configuration file from a json file. Args: path_json_file (`str`): The path to the json file
visual_instruction_tuning/peft/src/peft/utils/config.py:142
↓ 3 callersMethodget_adapter
Given a task returns its corresponding adapter layer. Args: task: Input task name. Returns: Adapter layer corr
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:102
↓ 3 callersMethodget_adapter
Given a task returns its corresponding adapter layer. Args: task: Input task name. Returns: Adapter layer corr
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:122
↓ 3 callersMethodget_data
(self, index)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_data.py:398
↓ 3 callersMethodget_embedding
Concatenates the task embedding with the embedding for the layer id and returns the final joint embedding.
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:198
↓ 3 callersMethodget_embedding
Concatenates the task embedding with the embedding for the layer id and returns the final joint embedding.
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:198
↓ 3 callersFunctionget_loader
(args, split='train', mode='train', batch_size=32, workers=4, distributed=False, gpu=0,
image_video_text_understanding/VL-T5/src/nlvr_clip_data.py:254
↓ 3 callersFunctionget_loader
(args, split='train', mode='train', batch_size=32, workers=4, distributed=False, gpu=0,
image_video_text_understanding/VL-T5/src/refcoco_data.py:349
↓ 3 callersFunctionget_loader
(args, split='train', mode='train', batch_size=32, workers=4, distributed=False, gpu=0,
image_video_text_understanding/VL-T5/src/caption_clip_data.py:345
↓ 3 callersFunctionget_loader
(args, split='train', mode='train', batch_size=32, workers=4, distributed=False, gpu=0,
image_video_text_understanding/VL-T5/src/vcr_data.py:398
↓ 3 callersFunctionget_pred_idx
Get the index (e.g. 2) from the prediction (e.g. 'C')
visual_instruction_tuning/llava/eval/eval_science_qa_gpt4_requery.py:30
↓ 3 callersMethodget_worker_status
(self, worker_name: str)
visual_instruction_tuning/llava/serve/controller.py:88
↓ 3 callersFunctionget_world_size
()
image_video_text_understanding/VL-T5/src/dist_utils.py:23
↓ 3 callersMethodinstantiate_sd_peft
(self, model_id, config_cls, config_kwargs)
visual_instruction_tuning/peft/tests/test_stablediffusion.py:63
↓ 3 callersFunctionis_bnb_available
()
commonsense_reasoning/peft/src/peft/tuners/dora.py:39
↓ 3 callersFunctionis_bnb_available
()
commonsense_reasoning/peft/src/peft/tuners/bottleneck.py:26
↓ 3 callersFunctionis_bnb_available
()
commonsense_reasoning/peft/src/peft/tuners/lora.py:31
↓ 3 callersFunctionis_remote_url
(url_or_filename)
image_video_text_understanding/VL-T5/inference/utils.py:242
↓ 3 callersFunctionload
(name: str, device: Union[str, torch.device] = "cuda" if torch.cuda.is_available() else "cpu", jit=True, adapt
image_video_text_understanding/CLIP-ViL/clip/clip.py:63
↓ 3 callersFunctionload
Load a CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model check
image_video_text_understanding/VL-T5/src/clip/clip.py:73
↓ 3 callersMethodload
(self, path)
image_video_text_understanding/CLIP-ViL/src/lxrt/entry.py:147
↓ 3 callersMethodload_adapter
(self, model_id: str, adapter_name: str, is_trainable: bool = False, **kwargs: Any)
visual_instruction_tuning/peft/src/peft/peft_model.py:500
↓ 3 callersFunctionload_lxmert_qa
Load model weights from LXMERT pre-training. The answers in the fine-tuned QA task (indicated by label2ans) would also be properly in
image_video_text_understanding/CLIP-ViL/src/pretrain/qa_answer_table.py:84
↓ 3 callersMethodload_model
(self)
visual_instruction_tuning/llava/model/multimodal_encoder/clip_encoder.py:22
↓ 3 callersFunctionload_obj_tsv
Load object features from tsv file. :param fname: The path to the tsv file. :param topk: Only load features for top K images (lines) in the t
image_video_text_understanding/CLIP-ViL/src/utils.py:40
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
visual_instruction_tuning/llava/train/train.py:113
↓ 3 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
visual_instruction_tuning/llava/train/train_dora.py:123
↓ 3 callersMethodmulti_gpu
(self)
image_video_text_understanding/CLIP-ViL/src/lxrt/entry.py:122
↓ 3 callersMethodpredict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/classification.py:357
↓ 3 callersMethodpredict
Predict the answers to questions in a data split. :param eval_tuple: The data tuple to be evaluated. :param dump: The path of
image_video_text_understanding/VL-T5/src/gqa.py:342
↓ 3 callersMethodpredict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/vqa.py:385
↓ 3 callersFunctionpreprocess
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end signal '\
visual_instruction_tuning/llava/train/train.py:582
↓ 3 callersMethodprint_trainable_parameters
Prints the number of trainable parameters in the model.
visual_instruction_tuning/peft/src/peft/peft_model.py:388
↓ 3 callersMethodprocessPunctuation
(self, inText)
image_video_text_understanding/VL-T5/src/vqa_clip_data.py:661
↓ 3 callersMethodprocessPunctuation
(self, inText)
image_video_text_understanding/VL-T5/src/vqa_raw_data.py:634
↓ 3 callersMethodprocessPunctuation
(self, inText)
image_video_text_understanding/VL-T5/src/vqa_data.py:649
↓ 3 callersMethodqa_predict
(self, loader, dump_path=None)
image_video_text_understanding/VL-T5/src/multitask_video.py:546
↓ 3 callersFunctionrank0_print
(*args)
visual_instruction_tuning/llava/train/train.py:47
↓ 3 callersFunctionrank0_print
(*args)
visual_instruction_tuning/llava/train/train_dora.py:55
↓ 3 callersMethodreset_lora_parameters
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/lora.py:753
↓ 3 callersMethodsave
(self, name)
image_video_text_understanding/CLIP-ViL/src/pretrain/lxmert_pretrain.py:406
↓ 3 callersMethodto
(self, *args, **kwargs)
image_video_text_understanding/CLIP-ViL/src/tasks/vision_helpers.py:92
↓ 3 callersFunctionto_image_list
tensors can be an ImageList, a torch.Tensor or an iterable of Tensors. It can't be a numpy array. When tensors is an iterable of Tensors,
image_video_text_understanding/CLIP-ViL/src/tools/vision_helpers.py:97
↓ 3 callersFunctiontrain
()
visual_instruction_tuning/llava/train/train.py:773
↓ 3 callersMethodtrain
(self, mode: bool = True)
image_video_text_understanding/VL-T5/src/lora/layers.py:128
↓ 3 callersMethodtrain
(self, mode: bool = True)
commonsense_reasoning/peft/src/peft/tuners/lora.py:323
↓ 3 callersMethodtranspose_for_scores
(self, x)
image_video_text_understanding/CLIP-ViL/src/lxrt/modeling.py:292
↓ 3 callersMethodunmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/dora.py:720
↓ 3 callersMethodunmerge
(self)
visual_instruction_tuning/peft/src/peft/tuners/lora.py:804
↓ 3 callersFunctionupdateQuestionSelect
(question_id)
visual_instruction_tuning/llava/eval/webpage/script.js:48
↓ 3 callersMethodupdate_layer
(self, adapter_name, init_ia3_weights)
visual_instruction_tuning/peft/src/peft/tuners/ia3.py:397
↓ 3 callersMethodused
(self, ans)
image_video_text_understanding/VL-T5/src/qa_answer_table.py:78
↓ 3 callersFunctionvalid_id
(id)
image_video_text_understanding/CLIP-ViL/src/tools/sharearray.py:38
↓ 3 callersFunctionvote_last_response
(state, vote_type, model_selector, request: gr.Request)
visual_instruction_tuning/llava/serve/gradio_web_server.py:83
← previousnext →201–300 of 2,507, ranked by callers