Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpystan/SD-VLM
/ functions
Functions
509 in github.com/cpystan/SD-VLM
⨍
Functions
509
◇
Types & classes
95
↳
Endpoints
11
Method
f
(*args, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:130
Method
f
(*args, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:130
Method
ffn_residual_func
(x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:86
Method
ffn_residual_func
(x: Tensor, attn_bias=None)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:216
Method
ffn_residual_func
(x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:86
Method
ffn_residual_func
(x: Tensor, attn_bias=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:216
Function
flag_last_response
(state, model_selector, request: gr.Request)
llava/serve/gradio_web_server.py:106
Method
flops
(self)
llava/model/depth/depth_anything_v2/dinov2_layers/patch_embed.py:84
Method
flops
(self)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/patch_embed.py:84
Function
forward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None, position_i
llava/train/llama_flash_attn_monkey_patch.py:16
Method
forward
(self, x: torch.Tensor)
llava/model/language_model/llava_llama.py:42
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_llama.py:155
Method
forward
( self, input_ids: Optional[torch.LongTensor] = None, past_key_values: Optional[Tuple[
llava/model/language_model/llava_mpt.py:60
Method
forward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
llava/model/language_model/llava_mistral.py:57
Method
forward
(self, x, *args, **kwargs)
llava/model/multimodal_projector/builder.py:10
Method
forward
(self, x)
llava/model/multimodal_projector/builder.py:28
Method
forward
(self, images,depths=None)
llava/model/multimodal_encoder/clip_encoder.py:46
Method
forward
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:137
Method
forward
(self, x)
llava/model/depth/depth_anything_v2/dpt.py:34
Method
forward
(self, out_features, patch_h, patch_w)
llava/model/depth/depth_anything_v2/dpt.py:117
Method
forward
(self, x)
llava/model/depth/depth_anything_v2/dinov2.py:38
Method
forward
(self, *args, is_training=False, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:323
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: output
llava/model/depth/depth_anything_v2/util/blocks.py:57
Method
forward
Forward pass. Returns: tensor: output
llava/model/depth/depth_anything_v2/util/blocks.py:123
Method
forward
(self, x)
llava/model/depth/depth_anything_v2/dinov2_layers/drop_path.py:34
Method
forward
(self, x_or_x_list)
llava/model/depth/depth_anything_v2/dinov2_layers/block.py:245
Method
forward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/layer_scale.py:27
Method
forward
(self, x: Tensor, attn_bias=None)
llava/model/depth/depth_anything_v2/dinov2_layers/attention.py:66
Method
forward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/mlp.py:35
Method
forward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:29
Method
forward
(self, x: Tensor)
llava/model/depth/depth_anything_v2/dinov2_layers/patch_embed.py:69
Method
forward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:34
Method
forward
(self, out_features, patch_h, patch_w)
llava/model/depth/metric_depth/depth_anything_v2/dpt.py:116
Method
forward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:38
Method
forward
(self, *args, is_training=False, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:323
Method
forward
Forward pass. Args: x (tensor): input Returns: tensor: output
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:57
Method
forward
Forward pass. Returns: tensor: output
llava/model/depth/metric_depth/depth_anything_v2/util/blocks.py:123
Method
forward
(self, x)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/drop_path.py:34
Method
forward
(self, x_or_x_list)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/block.py:245
Method
forward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/layer_scale.py:27
Method
forward
(self, x: Tensor, attn_bias=None)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/attention.py:66
Method
forward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/mlp.py:35
Method
forward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/swiglu_ffn.py:29
Method
forward
(self, x: Tensor)
llava/model/depth/metric_depth/depth_anything_v2/dinov2_layers/patch_embed.py:69
Method
forward
(self, pred, target, valid_mask)
llava/model/depth/metric_depth/util/loss.py:10
Method
forward_feature
(self, images)
llava/model/multimodal_encoder/clip_encoder.py:131
Method
generate
( self, inputs: Optional[torch.Tensor] = None, images: Optional[torch.Tensor] = None,
llava/model/language_model/llava_mistral.py:105
Function
generate_stream
(request: Request)
llava/serve/model_worker.py:232
Function
generate_stream
(request: Request)
llava/serve/sglang_worker.py:202
Function
get_answer
(question_id: int, question: str, max_tokens: int)
llava/eval/qa_baseline_gpt35.py:16
Method
get_depth
(self)
llava/model/llava_arch.py:141
Method
get_depth
(self)
llava/model/language_model/llava_llama.py:150
Function
get_eval
(content: str, max_tokens: int)
llava/eval/eval_gpt_review.py:13
Method
get_model
(self)
llava/model/language_model/llava_mpt.py:53
Function
get_status
(request: Request)
llava/serve/model_worker.py:248
Function
get_status
(request: Request)
llava/serve/sglang_worker.py:218
Method
get_value
(self)
evaluation/llm_generate.py:69
Method
get_value
(self)
evaluation/evaluate_final.py:134
Method
get_w
(weights, keyword)
llava/model/llava_arch.py:98
Function
get_worker_address
(request: Request)
llava/serve/controller.py:262
Function
heart_beat_controller
(controller)
llava/serve/controller.py:51
Function
heart_beat_worker
(controller)
llava/serve/model_worker.py:37
Function
heart_beat_worker
(controller)
llava/serve/sglang_worker.py:38
Method
hidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:82
Method
hidden_size
(self)
llava/model/multimodal_encoder/clip_encoder.py:149
Function
http_bot
(state, model_selector, temperature, top_p, max_new_tokens, request: gr.Request)
llava/serve/gradio_web_server.py:154
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
llava/model/depth/depth_anything_v2/dinov2.py:331
Function
init_weights_vit_timm
ViT weight initialization, original timm impl (for reproducibility)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:331
Method
lengths
(self)
llava/train/train.py:689
Function
list_models
()
llava/serve/controller.py:256
Function
load_demo
(url_params, request: gr.Request)
llava/serve/gradio_web_server.py:58
Function
load_demo_refresh_model_list
(request: gr.Request)
llava/serve/gradio_web_server.py:71
Method
load_model
(self, device_map=None)
llava/model/multimodal_encoder/clip_encoder.py:116
Function
main
(task, **kwargs)
scripts/convert_sqa_to_llava.py:83
Function
make_inputs_require_grad
(module, input, output)
llava/train/train.py:956
Method
modality_lengths
(self)
llava/train/train.py:708
Method
num_patches
(self)
llava/model/multimodal_encoder/clip_encoder.py:90
Method
num_patches_per_side
(self)
llava/model/multimodal_encoder/clip_encoder.py:86
Function
on_submit
(image)
llava/model/depth/app.py:60
Function
pipeline
(s, prompt, max_tokens)
llava/serve/sglang_worker.py:45
Function
populateModels
(models)
llava/eval/webpage/script.js:70
Function
populateQuestions
(questions)
llava/eval/webpage/script.js:81
Method
predict
Run a single prediction on the model
predict.py:87
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_llama.py:247
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mpt.py:87
Method
prepare_inputs_for_generation
(self, input_ids, past_key_values=None, inputs_embeds=None, **kwargs)
llava/model/language_model/llava_mistral.py:144
Function
receive_heart_beat
(request: Request)
llava/serve/controller.py:269
Function
refresh_all_workers
()
llava/serve/controller.py:251
Function
regenerate
(state, image_process_mode, request: gr.Request)
llava/serve/gradio_web_server.py:112
Function
register_worker
(request: Request)
llava/serve/controller.py:243
Function
release_model_semaphore
(fn=None)
llava/serve/model_worker.py:225
Function
release_model_semaphore
(fn=None)
llava/serve/sglang_worker.py:195
Function
replace_llama_attn_with_flash_attn
()
llava/train/llama_flash_attn_monkey_patch.py:105
Method
rotate_half
Rotates half the hidden dims of the input.
llava/model/llava_arch.py:144
Method
setup
Load the model into memory to make running multiple predictions efficient
predict.py:79
Function
trim_hanging_lines
(s: str, n: int)
llava/eval/generate_webpage_data_from_table.py:23
Method
update
(self, new_dict)
evaluation/evaluate_final.py:122
Function
upvote_last_response
(state, model_selector, request: gr.Request)
llava/serve/gradio_web_server.py:94
Function
vit_base
(patch_size=16, num_register_tokens=0, **kwargs)
llava/model/depth/depth_anything_v2/dinov2.py:353
Function
vit_base
(patch_size=16, num_register_tokens=0, **kwargs)
llava/model/depth/metric_depth/depth_anything_v2/dinov2.py:353
← previous
next →
401–500 of 509, ranked by callers