MCPcopy Create free account

hub / github.com/OpenBMB/VisRAG / functions

Functions5,024 in github.com/OpenBMB/VisRAG

↓ 1 callersMethod__init__
(self, fn)
timm_modified/timm/models/convmixer.py:17
↓ 1 callersMethod__init__
( self, inplanes, planes, stride=1, downsample=Non
timm_modified/timm/models/sknet.py:25
↓ 1 callersMethod__init__
( self, cfg: List[Any], num_classes: int = 1000, in_chans: int
timm_modified/timm/models/vgg.py:68
↓ 1 callersMethod__init__
( self, block_args, num_classes=1000, num_features=1280,
timm_modified/timm/models/efficientnet.py:75
↓ 1 callersMethod__init__
(self)
timm_modified/timm/loss/cross_entropy.py:31
↓ 1 callersMethod__init__
(self, gamma_neg=4, gamma_pos=1, clip=0.05, eps=1e-8, disable_torch_grad_focal_loss=False)
timm_modified/timm/loss/asymmetric_loss.py:6
↓ 1 callersMethod__init__
(self, margin: float = 1.0)
src/openmatch/loss.py:56
↓ 1 callersMethod__init__
( self, vocab_size=32000, hidden_size=4096, intermediate_size=11008, n
src/openmatch/modeling/weighted_selection/MiniCPMV20/configuration_minicpm.py:109
↓ 1 callersMethod__init__
(self, config)
src/openmatch/modeling/weighted_selection/MiniCPMV20/modeling_minicpmv.py:25
↓ 1 callersMethod__init__
( self, grid_size, embed_dim, num_heads, kv_dim=No
src/openmatch/modeling/weighted_selection/MiniCPMV20/resampler.py:116
↓ 1 callersMethod__init__
( self, vocab_size=32000, hidden_size=4096, intermediate_size=11008, n
src/openmatch/modeling/modeling_minicpmv/configuration_minicpm.py:109
↓ 1 callersMethod__init__
(self, config)
src/openmatch/modeling/modeling_minicpmv/modeling_minicpmv.py:33
↓ 1 callersMethod__iter__
(self)
timm_modified/timm/data/loader.py:118
↓ 1 callersMethod__repr__
(self)
timm_modified/timm/data/auto_augment.py:398
↓ 1 callersMethod_apply_basic
(self, img, mixing_weights, m)
timm_modified/timm/data/auto_augment.py:914
↓ 1 callersMethod_apply_blended
(self, img, mixing_weights, m)
timm_modified/timm/data/auto_augment.py:898
↓ 1 callersMethod_apply_noise
(self, epoch)
timm_modified/timm/scheduler/plateau_lr.py:96
↓ 1 callersMethod_approx_sq_grad
(self, exp_avg_sq_row, exp_avg_sq_col)
timm_modified/timm/optim/adafactor.py:74
↓ 1 callersFunction_at_least_x_are_equal
At least `x` of `a` and `b` `Tensors` are equal.
timm_modified/timm/data/tf_preprocessing.py:85
↓ 1 callersMethod_attn
(self, x)
timm_modified/timm/models/swin_transformer.py:286
↓ 1 callersMethod_attn
(self, x: torch.Tensor)
timm_modified/timm/models/swin_transformer_v2.py:293
↓ 1 callersMethod_balance_batch
Reorder the data on single controller such that each dp rank gets similar total tokens
src/rsgrpo/verl/trainer/ray_trainer.py:450
↓ 1 callersMethod_bind_worker_method
Bind the worker method to the WorkerGroup
src/rsgrpo/verl/single_controller/base/worker_group.py:134
↓ 1 callersFunction_bind_workers_method_to_parent
Binds the methods of each worker to the WorkerDict. Note that we only bind public methods that are decorated by register
src/rsgrpo/verl/single_controller/ray/base.py:414
↓ 1 callersFunction_block_cfg
( width_mult=1.0, depth_mult=1.0, initial_chs=16, final_chs=180, se_ra
timm_modified/timm/models/rexnet.py:95
↓ 1 callersMethod_block_until_all_workers_alive
(self)
src/rsgrpo/verl/single_controller/base/worker_group.py:113
↓ 1 callersFunction_build_blocks
( block_cfg, prev_chs, width_mult, ch_div=1, output_stride=32,
timm_modified/timm/models/rexnet.py:122
↓ 1 callersMethod_build_rollout
(self)
src/rsgrpo/verl/workers/fsdp_workers.py:331
↓ 1 callersMethod_build_tf_graph
(self)
timm_modified/timm/data/tf_preprocessing.py:215
↓ 1 callersMethod_calc_blended_weights
(self, ws, m)
timm_modified/timm/data/auto_augment.py:888
↓ 1 callersMethod_calc_window_shift
(self, target_window_size, target_shift_size)
timm_modified/timm/models/swin_transformer.py:279
↓ 1 callersMethod_calc_window_shift
(self, target_window_size: _int_or_tuple_2_t, target_shi
timm_modified/timm/models/swin_transformer_v2.py:284
↓ 1 callersFunction_check_and_sort_partitions
(partitions)
src/rsgrpo/verl/utils/seqlen_balancing.py:172
↓ 1 callersMethod_check_branches
(self, num_branches, block_types, num_blocks, num_in_chs, num_channels)
timm_modified/timm/models/hrnet.py:393
↓ 1 callersFunction_check_dispatch_mode
(dispatch_mode: Union[Dispatch, Dict[Literal["dispatch_fn", "collect_fn"], FunctionType]])
src/rsgrpo/verl/single_controller/base/decorator.py:168
↓ 1 callersFunction_check_execute_mode
(execute_mode: Execute)
src/rsgrpo/verl/single_controller/base/decorator.py:178
↓ 1 callersMethod_check_resource_available
Check if the resource pool can be satisfied in this ray cluster.
src/rsgrpo/verl/trainer/ray_trainer.py:102
↓ 1 callersMethod_cleanup_checkpoints
(self, trim=0)
timm_modified/timm/utils/checkpoint_saver.py:118
↓ 1 callersFunction_compute_num_patches
(img_size, patches)
timm_modified/timm/models/crossvit.py:271
↓ 1 callersFunction_concat_data_proto_or_future
(outputs: List[DataProto])
src/rsgrpo/verl/single_controller/base/decorator.py:76
↓ 1 callersMethod_configure_before_init
(self, register_center_name: str, rank: int)
src/rsgrpo/verl/single_controller/base/worker.py:113
↓ 1 callersMethod_configure_with_meta
This function should only be called inside by WorkerGroup
src/rsgrpo/verl/single_controller/base/worker.py:158
↓ 1 callersFunction_convert_dinov2
( state_dict: Dict[str, torch.Tensor], model: VisionTransformer, )
timm_modified/timm/models/vision_transformer.py:975
↓ 1 callersMethod_convert_to_tensors
( self, tokenizer, input_str, max_inp_length: Optional[int] = None )
src/openmatch/modeling/weighted_selection/MiniCPMV20/modeling_minicpmv.py:168
↓ 1 callersMethod_convert_to_tensors
( self, tokenizer, input_str, max_inp_length: Optional[int] = None)
src/openmatch/modeling/modeling_minicpmv/modeling_minicpmv.py:173
↓ 1 callersMethod_create_hook
(self, hook_fn)
timm_modified/timm/utils/model.py:74
↓ 1 callersFunction_create_inception_resnet_v2
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/inception_resnet_v2.py:309
↓ 1 callersFunction_create_inception_v3
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/inception_v3.py:390
↓ 1 callersFunction_create_inception_v4
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/inception_v4.py:302
↓ 1 callersFunction_create_nasnet
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/nasnet.py:568
↓ 1 callersFunction_create_pnasnet
(variant, pretrained=False, **kwargs)
timm_modified/timm/models/pnasnet.py:345
↓ 1 callersFunction_create_pool
( num_features: int, num_classes: int, pool_type: str = 'avg', use_conv: bool
timm_modified/timm/layers/classifier.py:18
↓ 1 callersFunction_create_random_mask
Create a random mask given input_ids. Support left padding and right padding. Process: - Sample valid token length - Sample left_padding
src/rsgrpo/tests/test_dynamic_batch.py:22
↓ 1 callersFunction_custom_flash_attention_forward
Patches flash attention forward to handle 3D position ids in mrope. (3, batch_size, seq_length)
src/rsgrpo/verl/models/transformers/flash_attention_utils.py:61
↓ 1 callersMethod_decode
(self, inputs_embeds, tokenizer, **kwargs)
src/openmatch/modeling/weighted_selection/MiniCPMV20/modeling_minicpmv.py:212
↓ 1 callersMethod_decode
(self, model_inputs, tokenizer, **kwargs)
src/openmatch/modeling/modeling_minicpmv/modeling_minicpmv.py:218
↓ 1 callersFunction_decode_and_random_crop
Make a random crop of image_size.
timm_modified/timm/data/tf_preprocessing.py:92
↓ 1 callersFunction_decode_block_str
Decode block definition string Gets a list of block arg (dicts) through a string notation of arguments. E.g. ir_r2_k3_s2_e1_i32_o16_se0.25_n
timm_modified/timm/models/_efficientnet_builder.py:79
↓ 1 callersMethod_decode_text
(self, result_ids, tokenizer)
src/openmatch/modeling/weighted_selection/MiniCPMV20/modeling_minicpmv.py:225
↓ 1 callersMethod_decode_text
(self, result_ids, tokenizer)
src/openmatch/modeling/modeling_minicpmv/modeling_minicpmv.py:228
↓ 1 callersFunction_deprecated_model_shim
(deprecated_name: str, current_fn: Callable = None, current_tag: str = '')
timm_modified/timm/models/_registry.py:139
↓ 1 callersFunction_extract_tarinfo
(tf: tarfile.TarFile, parent_info: Dict, extensions: Set[str])
timm_modified/timm/data/readers/reader_image_in_tar.py:42
↓ 1 callersFunction_filter_kwargs
(kwargs, names)
timm_modified/timm/models/_builder.py:257
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
src/openmatch/modeling/weighted_selection/MiniCPMV20/modeling_minicpm.py:693
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
src/openmatch/modeling/modeling_minicpmv/modeling_minicpm.py:693
↓ 1 callersMethod_flash_attention_forward
Calls the forward method of Flash Attention - if the input hidden states contain at least one padding token first unpad the input, th
src/openmatch/modeling/modeling_siglip/modeling_siglip.py:549
↓ 1 callersFunction_flip
Random horizontal image flip.
timm_modified/timm/data/tf_preprocessing.py:135
↓ 1 callersMethod_forward
(self, x)
timm_modified/timm/models/inception_v3.py:38
↓ 1 callersMethod_forward
(self, x)
timm_modified/timm/models/inception_v3.py:70
↓ 1 callersMethod_forward
(self, x)
timm_modified/timm/models/inception_v3.py:107
↓ 1 callersMethod_forward
(self, x)
timm_modified/timm/models/inception_v3.py:144
↓ 1 callersMethod_forward
(self, x)
timm_modified/timm/models/inception_v3.py:180
↓ 1 callersMethod_forward
(self, x: torch.Tensor)
timm_modified/timm/models/vision_transformer.py:378
↓ 1 callersMethod_forward_cross_attn
(self, x: torch.Tensor, x_prev: Optional[torch.Tensor] = None)
timm_modified/timm/models/mobilevit.py:342
↓ 1 callersMethod_forward_jit
(self, x: torch.Tensor)
timm_modified/timm/models/vision_transformer.py:372
↓ 1 callersMethod_forward_self_attn
(self, x: torch.Tensor)
timm_modified/timm/models/mobilevit.py:317
↓ 1 callersFunction_fuse
(m)
timm_modified/timm/utils/model.py:229
↓ 1 callersFunction_gen_fbnetc
FBNet-C Paper: https://arxiv.org/abs/1812.03443 Ref Impl: https://github.com/facebookresearch/maskrcnn-benchmark/blob/master/maskrcn
timm_modified/timm/models/efficientnet.py:427
↓ 1 callersFunction_gen_mnasnet_small
Creates a mnasnet-b1 model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet Paper: https://arxiv.org/pdf/1807
timm_modified/timm/models/efficientnet.py:368
↓ 1 callersFunction_gen_mobilenet_v3_rw
Creates a MobileNet-V3 model. Ref impl: ? Paper: https://arxiv.org/abs/1905.02244 Args: channel_multiplier: multiplier to number o
timm_modified/timm/models/mobilenetv3.py:312
↓ 1 callersFunction_gen_spnasnet
Creates the Single-Path NAS model from search targeted for Pixel1 phone. Paper: https://arxiv.org/abs/1904.02877 Args: channel_multipl
timm_modified/timm/models/efficientnet.py:457
↓ 1 callersMethod_gen_target
(self, batch_size)
timm_modified/benchmark.py:402
↓ 1 callersFunction_get_attn_fn
(stage_args)
timm_modified/timm/models/cspnet.py:553
↓ 1 callersFunction_get_block_fn
(stage_args)
timm_modified/timm/models/cspnet.py:542
↓ 1 callersMethod_get_free_port
(self)
src/rsgrpo/verl/single_controller/base/worker.py:54
↓ 1 callersFunction_get_grouping
(name)
timm_modified/timm/models/_manipulate.py:96
↓ 1 callersMethod_get_kernel_bias
Method to obtain re-parameterized kernel and bias. Reference: https://github.com/DingXiaoH/RepVGG/blob/main/repvgg.py#L83 Returns:
timm_modified/timm/models/fastvit.py:194
↓ 1 callersMethod_get_kernel_bias
Method to obtain re-parameterized kernel and bias. Reference: https://github.com/DingXiaoH/RepVGG/blob/main/repvgg.py#L83
timm_modified/timm/models/byobnet.py:576
↓ 1 callersMethod_get_kernel_bias
Method to obtain re-parameterized kernel and bias. Reference: https://github.com/DingXiaoH/RepVGG/blob/main/repvgg.py#L83
timm_modified/timm/models/byobnet.py:760
↓ 1 callersFunction_get_logit_bias
(processor: Optional[ProcessorMixin])
src/rsgrpo/verl/workers/rollout/vllm_rollout_spmd.py:42
↓ 1 callersMethod_get_lr
(self, t)
timm_modified/timm/scheduler/tanh_lr.py:78
↓ 1 callersMethod_get_lr
(self, t: int)
timm_modified/timm/scheduler/scheduler.py:68
↓ 1 callersMethod_get_lr
(param_group, param_state)
timm_modified/timm/optim/adafactor.py:54
↓ 1 callersFunction_get_model_size
Compute the model size.
src/rsgrpo/verl/utils/model_utils.py:38
↓ 1 callersMethod_get_node_ip
(self)
src/rsgrpo/verl/single_controller/base/worker.py:45
↓ 1 callersMethod_get_options
(param_group, param_shape)
timm_modified/timm/optim/adafactor.py:65
↓ 1 callersFunction_get_pixels
(per_pixel, rand_color, patch_size, dtype=torch.float32, device='cuda')
timm_modified/timm/data/random_erasing.py:14
↓ 1 callersFunction_get_safe_alternatives
Returns potential safetensors alternatives for a given filename. Use case: When downloading a model from the Huggingface Hub, we first lo
timm_modified/timm/models/_hub.py:390
↓ 1 callersMethod_get_stage_args
(self, cfg: RegNetCfg, default_stride=2, output_stride=32, drop_path_rate=0.)
timm_modified/timm/models/regnet.py:460
↓ 1 callersFunction_get_stage_fn
(stage_args)
timm_modified/timm/models/cspnet.py:527
← previousnext →801–900 of 5,024, ranked by callers