MCPcopy Create free account

hub / github.com/cpystan/SD-VLM / functions

Functions509 in github.com/cpystan/SD-VLM

↓ 1 callersMethodget_size
(self, width, height)
llava/model/depth/metric_depth/depth_anything_v2/util/transform.py:62
↓ 1 callersFunctionget_tokenize_len
(prompts)
llava/train/train.py:646
↓ 1 callersMethodget_value
(self)
evaluation/llm_generate.py:37
↓ 1 callersMethodget_value
(self)
evaluation/evaluate_final.py:102
↓ 1 callersFunctiongpt
(prompt,key)
evaluation/llm_generate.py:15
↓ 1 callersFunctionhypersim_distance_to_depth
(npyDistance)
llava/model/depth/metric_depth/dataset/hypersim.py:11
↓ 1 callersMethodimage2tensor
(self, raw_image, input_size=518)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:197
↓ 1 callersFunctionimage_parser
(args)
llava/eval/run_llava.py:28
↓ 1 callersFunctioninit_log
(name, level=logging.INFO)
llava/model/depth/metric_depth/util/utils.py:9
↓ 1 callersMethodinit_weights
(self)
llava/model/depth/depth_anything_v2/dinov2.py:172
↓ 1 callersMethodinit_weights
(self)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:172
↓ 1 callersMethodinitialize_vision_modules
(self, model_args, fsdp=None)
llava/model/llava_arch.py:53
↓ 1 callersMethodinitialize_vision_tokenizer
(self, model_args, tokenizer)
llava/model/llava_arch.py:510
↓ 1 callersFunctioninsert_separator
(X, sep)
llava/mm_utils.py:188
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
llava/model/depth/depth_anything_v2/dinov2.py:179
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:179
↓ 1 callersMethodlist_models
(self)
llava/serve/controller.py:112
↓ 1 callersFunctionload_depth
()
llava/model/language_model/llava_llama.py:64
↓ 1 callersFunctionload_from_hf
(repo_id, filename, subfolder=None)
llava/model/builder.py:80
↓ 1 callersFunctionload_image
(image_file)
predict.py:148
↓ 1 callersFunctionload_image
(image_file)
llava/serve/cli.py:18
↓ 1 callersFunctionload_image
(image_file)
llava/eval/run_llava.py:33
↓ 1 callersFunctionload_images
(image_files)
llava/eval/run_llava.py:42
↓ 1 callersFunctionmain
(args)
llava/serve/cli.py:27
↓ 1 callersFunctionmain
()
llava/serve/test_message.py:9
↓ 1 callersFunctionmain
()
llava/model/depth/metric_depth/train.py:43
↓ 1 callersFunctionmain
()
llava/model/depth/metric_depth/depth_to_pointcloud.py:34
↓ 1 callersFunctionmain
(args)
evaluation/llm_generate.py:186
↓ 1 callersFunctionmain
(args)
evaluation/evaluate_final.py:167
↓ 1 callersFunctionmake_delta
(base_model_path, target_model_path, delta_path, hub_repo_id)
llava/model/make_delta.py:13
↓ 1 callersFunctionmake_supervised_data_module
Make dataset and collator for supervised fine-tuning.
llava/train/train.py:864
↓ 1 callersFunctionmaybe_zero_3
(param, ignore_status=False, name=None)
llava/train/llava_trainer.py:18
↓ 1 callersFunctionmerge_lora
(args)
scripts/merge_lora_weights.py:6
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
llava/model/depth/depth_anything_v2/dinov2.py:26
↓ 1 callersFunctionnamed_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:26
↓ 1 callersFunctionparse_args
()
llava/eval/summarize_gpt_review.py:9
↓ 1 callersFunctionparse_args
()
scripts/convert_vizwiz_for_submission.py:8
↓ 1 callersFunctionparse_args
()
scripts/extract_mm_projector.py:15
↓ 1 callersFunctionparse_args
()
scripts/convert_vqav2_for_submission.py:8
↓ 1 callersFunctionparse_score
(review)
llava/eval/eval_gpt_review_bench.py:37
↓ 1 callersFunctionparse_score
(review)
llava/eval/eval_gpt_review.py:39
↓ 1 callersFunctionparse_score
(review)
llava/eval/eval_gpt_review_visual.py:36
↓ 1 callersFunctionpredict_depth
(image)
llava/model/depth/app.py:43
↓ 1 callersFunctionpreprocess
Given a list of sources, each is a conversation list. This transform: 1. Add signal '### ' at the beginning each sentence, with end signal '\
llava/train/train.py:618
↓ 1 callersFunctionpreprocess_llama_2
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
llava/train/train.py:340
↓ 1 callersFunctionpreprocess_mpt
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
llava/train/train.py:508
↓ 1 callersFunctionpreprocess_plain
( sources: Sequence[str], tokenizer: transformers.PreTrainedTokenizer, )
llava/train/train.py:596
↓ 1 callersFunctionpreprocess_v1
( sources, tokenizer: transformers.PreTrainedTokenizer, has_image: bool = False )
llava/train/train.py:422
↓ 1 callersFunctionprocess_anyres_image
Process an image with variable resolutions. Args: image (PIL.Image.Image): The input image to be processed. processor: The i
llava/mm_utils.py:119
↓ 1 callersMethodprocess_digit_article
(self, in_text)
llava/eval/m4c_evaluator.py:198
↓ 1 callersMethodprocess_punctuation
(self, in_text)
llava/eval/m4c_evaluator.py:186
↓ 1 callersFunctionprompt_processor
(prompt)
llava/eval/eval_textvqa.py:17
↓ 1 callersMethodreceive_heart_beat
(self, worker_name: str, queue_length: int)
llava/serve/controller.py:173
↓ 1 callersMethodrefresh_all_workers
(self)
llava/serve/controller.py:104
↓ 1 callersMethodremove_stable_workers_by_expiration
(self)
llava/serve/controller.py:183
↓ 1 callersFunctionreplace_llama_attn_with_xformers_attn
()
llava/train/llama_xformers_attn_monkey_patch.py:19
↓ 1 callersFunctionresize_and_pad_image
Resize and pad an image to a target resolution while maintaining aspect ratio. Args: image (PIL.Image.Image): The input image.
llava/mm_utils.py:42
↓ 1 callersMethodresize_depth
(self,images,target_size,alpha=100)
llava/model/llava_arch.py:288
↓ 1 callersFunctionrotate_half
Rotates half the hidden dims of the input.
llava/model/depth_encoding.py:3
↓ 1 callersFunctionsafe_save_model_for_hf_trainer
Collects the state dict and dump to disk.
llava/train/train.py:193
↓ 1 callersFunctionsetup_distributed
AdaHessian Optimizer Lifted from https://github.com/BIGBALLON/distribuuuu/blob/master/distribuuuu/utils.py Originally licensed MIT, Copyright
llava/model/depth/metric_depth/util/dist_helper.py:8
↓ 1 callersFunctionsmart_tokenizer_and_embedding_resize
Resize tokenizer and embedding. Note: This is the unoptimized version that may make your embedding size not be divisible by 64.
llava/train/train.py:232
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
llava/eval/model_vqa_loader.py:19
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
llava/eval/model_vqa_mmbench.py:22
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
llava/eval/model_vqa_science.py:18
↓ 1 callersFunctionsplit_list
Split a list into n (roughly) equal-sized chunks
llava/eval/model_vqa.py:18
↓ 1 callersFunctionsplit_to_even_chunks
Split a list of indices into `chunks` chunks of roughly equal lengths.
llava/train/llava_trainer.py:38
↓ 1 callersFunctionunpad_image
Unpads a PyTorch tensor of a padded and resized image. Args: tensor (torch.Tensor): The image tensor, assumed to be in CxHxW format.
llava/model/llava_arch.py:104
↓ 1 callersFunctionviolates_moderation
Check whether the text violates OpenAI moderation API.
llava/utils.py:102
↓ 1 callersMethodword_tokenize
(self, word)
llava/eval/m4c_evaluator.py:181
↓ 1 callersMethodworker_api_generate_stream
(self, params)
llava/serve/controller.py:193
↓ 1 callersMethodworker_api_get_status
(self)
llava/serve/controller.py:220
Method__call__
(self, output_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs)
llava/mm_utils.py:243
Method__call__
(self, sample)
llava/model/depth/depth_anything_v2/util/transform.py:109
Method__call__
(self, sample)
llava/model/depth/depth_anything_v2/util/transform.py:133
Method__call__
(self, sample)
llava/model/depth/depth_anything_v2/util/transform.py:146
Method__call__
(self, sample)
llava/model/depth/metric_depth/dataset/transform.py:164
Method__call__
(self, sample)
llava/model/depth/metric_depth/dataset/transform.py:215
Method__call__
(self, sample)
llava/model/depth/metric_depth/dataset/transform.py:228
Method__call__
(self, sample)
llava/model/depth/metric_depth/dataset/transform.py:257
Method__call__
(self, sample)
llava/model/depth/metric_depth/depth_anything_v2/util/transform.py:109
Method__call__
(self, sample)
llava/model/depth/metric_depth/depth_anything_v2/util/transform.py:133
Method__call__
(self, sample)
llava/model/depth/metric_depth/depth_anything_v2/util/transform.py:146
Method__call__
(self, item)
llava/eval/m4c_evaluator.py:213
Method__call__
(self, instances: Sequence[Dict])
llava/train/train.py:832
Method__getattr__
(self, attr)
llava/utils.py:70
Method__getitem__
(self, item)
llava/model/depth/metric_depth/dataset/kitti.py:35
Method__getitem__
(self, item)
llava/model/depth/metric_depth/dataset/vkitti2.py:33
Method__getitem__
(self, item)
llava/model/depth/metric_depth/dataset/hypersim.py:50
Method__getitem__
(self, index)
llava/eval/model_vqa_loader.py:39
Method__getitem__
(self, i)
llava/train/train.py:718
Method__init__
(self, logger, log_level=logging.INFO)
llava/utils.py:64
Method__init__
(self, keywords, tokenizer, input_ids)
llava/mm_utils.py:216
Method__init__
(self, controller_addr, worker_addr, worker_id, no_register, model_path, mod
llava/serve/model_worker.py:45
Method__init__
(self, controller_addr, worker_addr, sgl_endpoint, worker_id, no_register, model_name)
llava/serve/sglang_worker.py:55
Method__init__
(self, dispatch_method: str)
llava/serve/controller.py:58
Method__init__
(self, config)
llava/model/llava_arch.py:35
Method__init__
(self, d_model: int, d_ff: int, dropout=0.1, activation="gelu")
llava/model/language_model/llava_llama.py:34
Method__init__
(self, config: LlamaConfig)
llava/model/language_model/llava_llama.py:100
Method__init__
(self, config)
llava/model/language_model/llava_llama.py:107
← previousnext →201–300 of 509, ranked by callers