MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

Methodout_channels
(self)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:800
Methodout_feature_channels
deprecated
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:937
Methodout_feature_strides
deprecated
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:932
Methodout_features
deprecated
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:927
Methodoutput
(self, corrects, type_count)
image_video_text_understanding/VL-T5/src/activitynet_data.py:301
Methodoutput
(self, corrects, type_count)
image_video_text_understanding/VL-T5/src/video/tvr_data.py:325
Methodoutput
(self, corrects, type_count)
image_video_text_understanding/VL-T5/src/video/how2qa_data.py:375
Methodoutput
(self, corrects, type_count)
image_video_text_understanding/VL-T5/src/video/tvqa_matching_data.py:359
Methodoutput_shape
(self)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:917
Methodparallelize
(self, device_map=None)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1245
Methodparallelize
(self, device_map=None)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1425
Methodparallelize
(self, device_map=None)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1670
Methodparam_init_fn
(self, module)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:222
Methodparam_init_fn
(self, module)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:291
Functionpermute
(w)
commonsense_reasoning/export_state_dict_checkpoint.py:57
FunctionpopulateModels
(models)
visual_instruction_tuning/llava/eval/webpage/script.js:70
FunctionpopulateQuestions
(questions)
visual_instruction_tuning/llava/eval/webpage/script.js:81
Methodpost_processor
(self)
image_video_text_understanding/VL-T5/src/tokenization.py:112
Methodpredict
Run a single prediction on the model
visual_instruction_tuning/predict.py:87
Methodpredict
(self)
image_video_text_understanding/VL-T5/src/trainer_base.py:704
Methodprepare_dataset
(batch)
visual_instruction_tuning/peft/tests/test_gpu_examples.py:447
Methodprepare_inputs_for_common
(self)
visual_instruction_tuning/peft/tests/testing_common.py:158
Functionprepare_inputs_for_generation
(self: BloomForCausalLM, input_ids: torch.LongTensor, past: Optional[torch.Tensor]=None, attention_mask: Optio
visual_instruction_tuning/llava/model/language_model/mpt/hf_prefixlm_converter.py:255
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
visual_instruction_tuning/llava/model/language_model/llava_llama.py:101
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
visual_instruction_tuning/llava/model/language_model/llava_mpt.py:91
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:301
Methodprepare_inputs_for_generation
(self, *args, **kwargs)
visual_instruction_tuning/peft/src/peft/peft_model.py:989
Methodprepare_inputs_for_generation
(self, *args, **kwargs)
visual_instruction_tuning/peft/src/peft/peft_model.py:1253
Methodprepare_inputs_for_generation
( self, decoder_input_ids, past=None, attention_mask=None, use_cache=None, encoder_outputs=None, **kwa
image_video_text_understanding/VL-T5/src/modeling_bart.py:1475
Methodprepare_inputs_for_generation
( self, decoder_input_ids, past=None, attention_mask=None, use_cache=None, encoder_outputs=None, **kwa
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:517
Methodprepare_inputs_for_generation
( self, input_ids, past=None, attention_mask=None, use_cache=None, encoder_outputs=None,
image_video_text_understanding/VL-T5/src/modeling_t5.py:733
Methodprepare_inputs_for_generation
( self, decoder_input_ids, past=None, attention_mask=None, use_cache=None, encoder_outputs=None, **kwa
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1528
Methodprepare_inputs_for_generation
( self, input_ids, past=None, attention_mask=None, use_cache=None, encoder_outputs=None, **kwargs
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1608
Methodprepare_inputs_for_generation
(self, *args, **kwargs)
commonsense_reasoning/peft/src/peft/peft_model.py:626
Methodprepare_inputs_for_generation
(self, *args, **kwargs)
commonsense_reasoning/peft/src/peft/peft_model.py:824
Methodprepare_inputs_for_testing
(self)
visual_instruction_tuning/peft/tests/test_feature_extraction_models.py:60
Methodprepare_inputs_for_testing
(self)
visual_instruction_tuning/peft/tests/test_encoder_decoder_models.py:41
Methodproject
projects hidden states correctly to key/query states
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:462
Functionread_set_from_file
Extract a de-duped collection (set) of text from a file. Expected file format is one item per line.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:232
Functionreceive_heart_beat
(request: Request)
visual_instruction_tuning/llava/serve/controller.py:269
Functionrefer_expression
n_ground > 1 ground_indices [1, 0, 2] source_text refer expressions: <extra_id_0> red crayon <extra_id_1> Yellow
image_video_text_understanding/VL-T5/src/preprocess.py:222
Functionrefresh_all_workers
()
visual_instruction_tuning/llava/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
visual_instruction_tuning/llava/serve/gradio_web_server.py:113
Functionregister_empty_buffer
(module, name, buffer)
visual_instruction_tuning/llava/model/language_model/mpt/meta_init_context.py:67
Functionregister_empty_parameter
(module, name, param)
visual_instruction_tuning/llava/model/language_model/mpt/meta_init_context.py:60
Functionregister_worker
(request: Request)
visual_instruction_tuning/llava/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
visual_instruction_tuning/llava/serve/model_worker.py:224
Methodreport
(self, logger = None)
image_video_text_understanding/CLIP-ViL/src/utils.py:21
Functionrequire_bitsandbytes
Decorator marking a test that requires the bitsandbytes library. Will be skipped when the library is not installed.
visual_instruction_tuning/peft/tests/testing_utils.py:42
Functionrequire_bitsandbytes
Decorator marking a test that requires the bitsandbytes library. Will be skipped when the library is not installed.
commonsense_reasoning/peft/tests/testing_utils.py:40
Functionrequire_torch_gpu
Decorator marking a test that requires a GPU. Will be skipped when no GPU is available.
visual_instruction_tuning/peft/tests/testing_utils.py:22
Functionrequire_torch_gpu
Decorator marking a test that requires a GPU. Will be skipped when no GPU is available.
commonsense_reasoning/peft/tests/testing_utils.py:20
Functionrequire_torch_multi_gpu
Decorator marking a test that requires multiple GPUs. Will be skipped when less than 2 GPUs are available.
visual_instruction_tuning/peft/tests/testing_utils.py:32
Functionrequire_torch_multi_gpu
Decorator marking a test that requires multiple GPUs. Will be skipped when less than 2 GPUs are available.
commonsense_reasoning/peft/tests/testing_utils.py:30
Methodreset_image_size
(self, image_size=224, patch_size=32)
image_video_text_understanding/VL-T5/src/vis_encoder.py:279
Methodresize_output_dim
(self, resized_size)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:179
Functions3_request
Wrapper function for s3 requests in order to create more helpful error messages.
image_video_text_understanding/CLIP-ViL/src/lxrt/file_utils.py:124
Methodsave
(self, path)
image_video_text_understanding/CLIP-ViL/src/lxrt/entry.py:143
Methodsave
(self, saveas=None)
image_video_text_understanding/VL-T5/inference/visualizing_image.py:194
Methodsave
(self, name)
image_video_text_understanding/VL-T5/src/trainer_base.py:710
Methodsave_pretrained
r""" This method saves the configuration of your adapter model in a directory. Args: save_directory (`str`):
visual_instruction_tuning/peft/src/peft/utils/config.py:74
Methodsave_pretrained
r""" This method saves the configuration of your adapter model in a directory. Args: save_directory (`str`):
commonsense_reasoning/peft/src/peft/utils/config.py:64
Functionscaled_multihead_dot_product_attention
(query, key, value, n_heads, past_key_value=None, softmax_scale=None, attn_bias=None, key_padding_mask=None, i
visual_instruction_tuning/llava/model/language_model/mpt/attention.py:20
MethodsetUp
Check that llama is available in transformers package before running each test.
visual_instruction_tuning/peft/tests/test_adaption_prompt.py:55
MethodsetUp
(self)
visual_instruction_tuning/peft/tests/test_common_gpu.py:47
MethodsetUp
(self)
visual_instruction_tuning/peft/tests/test_gpu_examples.py:105
Methodset_W
(self, W=None, W_left=None, W_right=None)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:160
Methodset_W
(self, W=None, W_left=None, W_right=None)
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:160
Methodset_adapter
Sets the active adapter.
visual_instruction_tuning/peft/src/peft/peft_model.py:611
Methodset_adapter
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/dora.py:463
Methodset_adapter
(self, adapter_name)
visual_instruction_tuning/peft/src/peft/tuners/lora.py:419
Methodset_adapter
Set the model to use the adapter with the given name.
visual_instruction_tuning/peft/src/peft/tuners/adaption_prompt.py:205
Methodset_decoder
(self, decoder)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:267
Methodset_epoch
r""" Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each ep
image_video_text_understanding/VL-T5/src/nlvr_raw_data.py:324
Methodset_epoch
r""" Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each ep
image_video_text_understanding/VL-T5/src/nlvr_clip_data.py:327
Methodset_epoch
r""" Sets the epoch for this sampler. When :attr:`shuffle=True`, this ensures all replicas use a different random ordering for each ep
image_video_text_understanding/VL-T5/src/nlvr_data.py:343
Methodset_input_embeddings
(self, value)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:84
Methodset_input_embeddings
(self, value)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:258
Methodset_input_embeddings
(self, value)
image_video_text_understanding/VL-T5/src/modeling_bart.py:1187
Methodset_input_embeddings
(self, value)
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:306
Methodset_input_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/modeling_t5.py:204
Methodset_input_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/modeling_t5.py:514
Methodset_input_embeddings
(self, value)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1313
Methodset_input_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1269
Methodset_input_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1451
Methodset_input_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1691
Methodset_output_embeddings
(self, new_embeddings)
visual_instruction_tuning/llava/model/language_model/mpt/modeling_mpt.py:264
Methodset_output_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1454
Methodset_output_embeddings
(self, new_embeddings)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:1456
Methodset_phm_rule
If factorized_phm_rules is set, phm_rule is a tuple, showing the left and right phm rules, and if this is not set, this is showing the phm_ru
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:151
Methodset_phm_rule
If factorized_phm_rules is set, phm_rule is a tuple, showing the left and right phm rules, and if this is not set, this is showing the phm_ru
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:151
Methodset_total_step
(self, total_step)
visual_instruction_tuning/peft/src/peft/tuners/adalora.py:613
Methodset_visual_dims
(self, feat_dim, pos_dim)
image_video_text_understanding/CLIP-ViL/src/param.py:91
Methodsetup
Load the model into memory to make running multiple predictions efficient
visual_instruction_tuning/predict.py:79
Methodshape
projection
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:454
Functionshared_random_seed
Returns: int: a random number that is the same across all workers. If workers need a shared RNG, they can use this shared see
image_video_text_understanding/VL-T5/src/dist_utils.py:224
MethodshowMask
(self, ref)
image_video_text_understanding/VL-T5/src/refcoco_utils.py:345
Methodsize_divisibility
Some backbones require the input height and width to be divisible by a specific integer. This is typically true for encoder / decoder
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:909
Functionskip_deberta_lora_tests
r""" Skip tests that are checkpointing with lora/ia3 tests for Deberta models (couldn't find much info on the error)
visual_instruction_tuning/peft/tests/test_feature_extraction_models.py:37
Functionskip_deberta_pt_tests
r""" Skip tests that are checkpointing with lora/ia3 tests for Deberta models (couldn't find much info on the error)
visual_instruction_tuning/peft/tests/test_feature_extraction_models.py:44
← previousnext →2,201–2,300 of 2,507, ranked by callers