MCPcopy Create free account

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

Functions509 in github.com/cpystan/SD-VLM

Methodf
(*args, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:130
Methodf
(*args, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:130
Methodffn_residual_func
(x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:216
Methodffn_residual_func
(x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:86
Methodffn_residual_func
(x: Tensor, attn_bias=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:216
Functionflag_last_response
(state, model_selector, request: gr.Request)
llava/serve/gradio_web_server.py:106
Methodflops
(self)
llava/model/depth/depth_anything_v2/dinov2_layers/patch_embed.py:84
Methodflops
(self)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/patch_embed.py:84
Functionforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
llava/train/llama_flash_attn_monkey_patch.py:16
Methodforward
(self, x: torch.Tensor)
llava/model/language_model/llava_llama.py:42
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_llama.py:155
Methodforward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
llava/model/language_model/llava_mpt.py:60
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mistral.py:57
Methodforward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/builder.py:10
Methodforward
(self, x)
llava/model/multimodal_projector/builder.py:28
Methodforward
(self, images,depths=None)
llava/model/multimodal_encoder/clip_encoder.py:46
Methodforward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:137
Methodforward
(self, x)
llava/model/depth/depth_anything_v2/dpt.py:34
Methodforward
(self, out_features, patch_h, patch_w)
llava/model/depth/depth_anything_v2/dpt.py:117
Methodforward
(self, x)
llava/model/depth/depth_anything_v2/dinov2.py:38
Methodforward
(self, *args, is_training=False, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:323
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
llava/model/depth/depth_anything_v2/util/blocks.py:57
Methodforward
Forward pass. Returns: tensor: output
llava/model/depth/depth_anything_v2/util/blocks.py:123
Methodforward
(self, x)
llava/model/depth/depth_anything_v2/dinov2_layers/drop_path.py:34
Methodforward
(self, x_or_x_list)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:245
Methodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/layer_scale.py:27
Methodforward
(self, x: Tensor, attn_bias=None)
llava/model/depth/depth_anything_v2/dinov2_layers/attention.py:66
Methodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/mlp.py:35
Methodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:29
Methodforward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/patch_embed.py:69
Methodforward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:34
Methodforward
(self, out_features, patch_h, patch_w)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:116
Methodforward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:38
Methodforward
(self, *args, is_training=False, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:323
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:57
Methodforward
Forward pass. Returns: tensor: output
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:123
Methodforward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/drop_path.py:34
Methodforward
(self, x_or_x_list)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:245
Methodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/layer_scale.py:27
Methodforward
(self, x: Tensor, attn_bias=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/attention.py:66
Methodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/mlp.py:35
Methodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:29
Methodforward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/patch_embed.py:69
Methodforward
(self, pred, target, valid_mask)
llava/model/depth/metric_depth/util/loss.py:10
Methodforward_feature
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:131
Methodgenerate
( self, inputs: Optional[torch.Tensor] = None, images: Optional[torch.Tensor] = None,
llava/model/language_model/llava_mistral.py:105
Functiongenerate_stream
(request: Request)
llava/serve/model_worker.py:232
Functiongenerate_stream
(request: Request)
llava/serve/sglang_worker.py:202
Functionget_answer
(question_id: int, question: str, max_tokens: int)
llava/eval/qa_baseline_gpt35.py:16
Methodget_depth
(self)
llava/model/llava_arch.py:141
Methodget_depth
(self)
llava/model/language_model/llava_llama.py:150
Functionget_eval
(content: str, max_tokens: int)
llava/eval/eval_gpt_review.py:13
Methodget_model
(self)
llava/model/language_model/llava_mpt.py:53
Functionget_status
(request: Request)
llava/serve/model_worker.py:248
Functionget_status
(request: Request)
llava/serve/sglang_worker.py:218
Methodget_value
(self)
evaluation/llm_generate.py:69
Methodget_value
(self)
evaluation/evaluate_final.py:134
Methodget_w
(weights, keyword)
llava/model/llava_arch.py:98
Functionget_worker_address
(request: Request)
llava/serve/controller.py:262
Functionheart_beat_controller
(controller)
llava/serve/controller.py:51
Functionheart_beat_worker
(controller)
llava/serve/model_worker.py:37
Functionheart_beat_worker
(controller)
llava/serve/sglang_worker.py:38
Methodhidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:82
Methodhidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:149
Functionhttp_bot
(state, model_selector, temperature, top_p, max_new_tokens, request: gr.Request)
llava/serve/gradio_web_server.py:154
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
llava/model/depth/depth_anything_v2/dinov2.py:331
Functioninit_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:331
Methodlengths
(self)
llava/train/train.py:689
Functionlist_models
()
llava/serve/controller.py:256
Functionload_demo
(url_params, request: gr.Request)
llava/serve/gradio_web_server.py:58
Functionload_demo_refresh_model_list
(request: gr.Request)
llava/serve/gradio_web_server.py:71
Methodload_model
(self, device_map=None)
llava/model/multimodal_encoder/clip_encoder.py:116
Functionmain
(task, **kwargs)
scripts/convert_sqa_to_llava.py:83
Functionmake_inputs_require_grad
(module, input, output)
llava/train/train.py:956
Methodmodality_lengths
(self)
llava/train/train.py:708
Methodnum_patches
(self)
llava/model/multimodal_encoder/clip_encoder.py:90
Methodnum_patches_per_side
(self)
llava/model/multimodal_encoder/clip_encoder.py:86
Functionon_submit
(image)
llava/model/depth/app.py:60
Functionpipeline
(s, prompt, max_tokens)
llava/serve/sglang_worker.py:45
FunctionpopulateModels
(models)
llava/eval/webpage/script.js:70
FunctionpopulateQuestions
(questions)
llava/eval/webpage/script.js:81
Methodpredict
Run a single prediction on the model
predict.py:87
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_llama.py:247
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mpt.py:87
Methodprepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mistral.py:144
Functionreceive_heart_beat
(request: Request)
llava/serve/controller.py:269
Functionrefresh_all_workers
()
llava/serve/controller.py:251
Functionregenerate
(state, image_process_mode, request: gr.Request)
llava/serve/gradio_web_server.py:112
Functionregister_worker
(request: Request)
llava/serve/controller.py:243
Functionrelease_model_semaphore
(fn=None)
llava/serve/model_worker.py:225
Functionrelease_model_semaphore
(fn=None)
llava/serve/sglang_worker.py:195
Functionreplace_llama_attn_with_flash_attn
()
llava/train/llama_flash_attn_monkey_patch.py:105
Methodrotate_half
Rotates half the hidden dims of the input.
llava/model/llava_arch.py:144
Methodsetup
Load the model into memory to make running multiple predictions efficient
predict.py:79
Functiontrim_hanging_lines
(s: str, n: int)
llava/eval/generate_webpage_data_from_table.py:23
Methodupdate
(self, new_dict)
evaluation/evaluate_final.py:122
Functionupvote_last_response
(state, model_selector, request: gr.Request)
llava/serve/gradio_web_server.py:94
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:353
Functionvit_base
(patch_size=16, num_register_tokens=0, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:353
← previousnext →401–500 of 509, ranked by callers