MCPcopy Create free account

hub / github.com/bilibili/Index-anisora / functions

Functions18,851 in github.com/bilibili/Index-anisora

↓ 19 callersFunctionget_model_parallel_rank
Return my rank for the model parallel group.
anisoraV1_infer/sat/mpu/initialize.py:141
↓ 19 callersFunctionget_sequence_parallel_group
()
anisoraV1_infer/fastercache/dsp/parallel_mgr.py:35
↓ 19 callersMethodlog
Log a group of timers.
anisoraV1_infer/sat/sat/training/utils.py:122
↓ 19 callersFunctionresolve_str_to_obj
(str_val, append=True)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:86
↓ 19 callersFunctionresolve_str_to_obj
(str_val, append=True)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:505
↓ 19 callersMethodsplit_from_second_dim
(self, x, batch_size)
anisoraV1_infer/fastercache/models/latte/latte_t2v.py:1389
↓ 18 callersMethodattention
(self, h_: torch.Tensor)
anisora_rl/sat/sgm/modules/diffusionmodules/model.py:155
↓ 18 callersMethodconvert_tokens_to_ids
(self, tokens)
anisoraV1_infer/sat/tokenization/cogview/sp_tokenizer.py:98
↓ 18 callersMethodexists
(model_path)
anisora_rl/SwissArmyTransformer-main/sat/tokenization/glm/sp_tokenizer.py:69
↓ 18 callersMethodget_mixin
(self, name)
anisoraV1_infer/sat/model/base_model.py:129
↓ 18 callersMethodload
(self, verbose=True)
anisora_rl/SwissArmyTransformer-main/sat/ops/ops_builder/builder.py:434
↓ 18 callersFunctionmain_print
(content)
anisoraV2_gpu/fastvideo/distill.py:53
↓ 18 callersFunctionmain_print
(content)
anisoraV2_npu/fastvideo/distill.py:53
↓ 18 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/mpu/utils.py:34
↓ 17 callersMethod__init__
( self, hidden_size: int, intermediate_size: int, output_size: int, hi
reward/mantis/models/idefics2/modeling_idefics2.py:507
↓ 17 callersMethod__init__
( self, hidden_size: int, intermediate_size: int, output_size: int, hi
reward/mantis/models/idefics2_delta/modeling_idefics2.py:389
↓ 17 callersFunctionbroadcast
(input_: torch.Tensor)
anisoraV2_npu/fastvideo/utils/communications.py:15
↓ 17 callersMethoddecode
(self, z, num_frames=None)
anisoraV1_infer/fastercache/models/opensora/vae.py:456
↓ 17 callersFunctionget_sequence_parallel_group
()
anisoraV1_train_npu/sat/transformer_sp/util.py:6
↓ 17 callersFunctionget_tokenizer
If you're using outer_tokenizer, call `get_tokenizer(args, outer_tokenizer)` before `training_main`.
anisoraV1_infer/sat/tokenization/__init__.py:19
↓ 17 callersFunctionlinear
Create a linear module.
anisora_rl/sat/sgm/modules/diffusionmodules/util.py:261
↓ 17 callersFunctionlinear
Create a linear module.
anisoraV1_train_npu/sgm/modules/diffusionmodules/util.py:292
↓ 17 callersFunctionlinear
Create a linear module.
anisoraV1_train_npu/sat/sgm/modules/diffusionmodules/util.py:261
↓ 17 callersFunctionlinear
Create a linear module.
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/diffusionmodules/util.py:261
↓ 17 callersFunctionlinear
Create a linear module.
anisoraV1_train_gpu/sgm/modules/diffusionmodules/util.py:292
↓ 17 callersFunctionlinear
Create a linear module.
anisoraV1_train_gpu/sat/sgm/modules/diffusionmodules/util.py:261
↓ 17 callersMethodload
(self, verbose=True)
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/ops/ops_builder/builder.py:434
↓ 17 callersMethodload
(self, path, strict = True)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:1502
↓ 17 callersMethodload
(self, verbose=True)
anisoraV1_infer/sat/sat/ops/ops_builder/builder.py:434
↓ 17 callersMethodload
(self, verbose=True)
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/ops/ops_builder/builder.py:434
↓ 17 callersMethodload
(self, path, strict = True)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:1502
↓ 17 callersMethodload_state_dict
(self, *args, **kwargs)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1356
↓ 17 callersMethodprepare_attention_mask
r""" Prepare the attention mask for the attention computation. Args: attention_mask (`torch.Tensor`): The
anisoraV1_infer/fastercache/models/vchitect/attention.py:698
↓ 17 callersMethodstrip_empty_entries
Drop any empty strings from the list of compile and link flags
anisora_rl/SwissArmyTransformer-main/sat/ops/ops_builder/builder.py:312
↓ 17 callersMethodstrip_empty_entries
Drop any empty strings from the list of compile and link flags
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/ops/ops_builder/builder.py:312
↓ 17 callersMethodstrip_empty_entries
Drop any empty strings from the list of compile and link flags
anisoraV1_infer/sat/ops/ops_builder/builder.py:312
↓ 17 callersMethodstrip_empty_entries
Drop any empty strings from the list of compile and link flags
anisoraV1_infer/sat/sat/ops/ops_builder/builder.py:312
↓ 17 callersMethodstrip_empty_entries
Drop any empty strings from the list of compile and link flags
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/ops/ops_builder/builder.py:312
↓ 17 callersFunctiontrunc_normal_
r"""Fills the input Tensor with values drawn from a truncated normal distribution. The values are effectively drawn from the normal distributi
anisoraV1_infer/sat/examples/yolos/models/layers/weight_init.py:42
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisora_rl/sat/sgm/modules/diffusionmodules/util.py:248
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisoraV1_train_npu/sgm/modules/diffusionmodules/util.py:279
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisoraV1_train_npu/sat/sgm/modules/diffusionmodules/util.py:248
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/diffusionmodules/util.py:248
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisoraV1_train_gpu/sgm/modules/diffusionmodules/util.py:279
↓ 16 callersFunctionconv_nd
Create a 1D, 2D, or 3D convolution module.
anisoraV1_train_gpu/sat/sgm/modules/diffusionmodules/util.py:248
↓ 16 callersMethoddevice
(self)
reward/character/samurai/sam2/sam2/modeling/sam2_base.py:236
↓ 16 callersMethodfrom_pretrained
(cls, name, args=None, base_cls=None, *, home_path=None, url=None, prefix='', **kwargs)
anisoraV1_infer/sat/examples/chatglm2/chat_model.py:42
↓ 16 callersMethodget
(self)
anisoraV1_infer/videosys/core/mp_utils.py:71
↓ 16 callersMethodget_command
get command token corresponding to `name`
anisoraV1_infer/sat/tokenization/hf_tokenizer.py:38
↓ 16 callersFunctionget_logger
()
anisoraV1_infer/fastercache/utils/utils.py:61
↓ 16 callersFunctioninitialize_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size: number of GPUs used to parallelize model. Let's say we h
anisoraV1_infer/sat/mpu/initialize.py:35
↓ 16 callersMethodnorm_encoder_hidden_states
r""" Normalize the encoder hidden states. Requires `self.norm_cross` to be specified when constructing the `Attention` class.
anisoraV1_infer/fastercache/models/vchitect/attention.py:745
↓ 16 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
anisoraV1_infer/sat/mpu/utils.py:34
↓ 16 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
anisoraV1_infer/sat/sat/mpu/utils.py:34
↓ 15 callersMethod__init__
(self, *args, **kwargs)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:36
↓ 15 callersMethod__init__
(self, config, has_relative_attention_bias=False)
anisoraV1_infer/fastercache/models/vchitect/modeling_t5.py:645
↓ 15 callersMethod__next__
Sample a dataloader to sample from based on mixing probabilities. If one of the dataloaders is exhausted, we continue sampling from the other
reward/character/samurai/sam2/training/dataset/sam2_datasets.py:44
↓ 15 callersMethodencode_first_stage
(self, x, batch)
anisoraV1_infer/fastercache/models/cogvideox/diffusion_video.py:175
↓ 15 callersMethodfrom_pretrained
Instantiate a PreTrainedBertModel from a pre-trained model file. Download and cache the pre-trained model file if needed.
anisoraV1_infer/sat/tokenization/glm/tokenization_gpt2.py:97
↓ 15 callersFunctionget_context_parallel_group
()
anisoraV1_infer/fastercache/models/cogvideox/vae_modules/utils.py:40
↓ 15 callersFunctionget_image_size
(resolution, ar_ratio)
anisoraV1_infer/fastercache/models/opensora/datasets.py:475
↓ 15 callersFunctioninit_weights
(modules)
data_pipeline/net/basenet/vgg16_bn.py:9
↓ 15 callersMethodload_state_dict
(args, model, pretrained_model_path)
anisoraV2_gpu/fastvideo/models/hunyuan/inference.py:182
↓ 15 callersMethodload_state_dict
(args, model, pretrained_model_path)
anisoraV2_npu/fastvideo/models/hunyuan/inference.py:182
↓ 15 callersMethodpause
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/VideoWorkerBridge.ts:270
↓ 15 callersFunctionsplit_tensor_along_last_dim
Split a tensor along its last dimension. Arguments: tensor: input tensor. num_partitions: number of partitions to split the tensor
anisora_rl/SwissArmyTransformer-main/sat/mpu/utils.py:34
↓ 14 callersMethodbatch_decode
This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.batch_decode`]. Please refer to the docstring o
reward/mantis/mllm_tools/model_utils/otter/models/fuyu/processing_fuyu.py:751
↓ 14 callersMethodclose
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/VideoWorkerContext.ts:476
↓ 14 callersFunctiondefault
(val, d)
anisora_rl/sat/vae_modules/utils.py:225
↓ 14 callersFunctionget_context_parallel_group_rank
()
anisora_rl/sat/vae_modules/utils.py:63
↓ 14 callersFunctionget_context_parallel_rank
()
anisoraV1_infer/fastercache/models/cogvideox/vae_modules/utils.py:50
↓ 14 callersFunctionget_context_parallel_world_size
()
anisoraV1_infer/fastercache/models/cogvideox/vae_modules/utils.py:45
↓ 14 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
anisora_rl/SwissArmyTransformer-main/sat/mpu/initialize.py:109
↓ 14 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/mpu/initialize.py:110
↓ 14 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
anisoraV1_infer/sat/mpu/initialize.py:110
↓ 14 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
anisoraV1_infer/sat/sat/mpu/initialize.py:110
↓ 14 callersFunctionget_model_parallel_group
Get the model parallel group the caller rank belongs to.
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/mpu/initialize.py:110
↓ 14 callersFunctionget_sequence_parallel_state
()
anisoraV2_npu/fastvideo/utils/parallel_states.py:36
↓ 14 callersFunctionmaster_print
(*args, **kwargs)
reward/mantis/mllm_tools/model_utils/otter/models/otter/modeling_otter.py:28
↓ 14 callersFunctionnormalization
Make a standard normalization layer. :param channels: number of input channels. :return: an nn.Module for normalization.
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/diffusionmodules/util.py:228
↓ 14 callersFunctionprint_all
(msg, level=logging.INFO, flush=True)
anisora_rl/SwissArmyTransformer-main/sat/helpers.py:133
↓ 14 callersFunctionsave_checkpoint
Save a model checkpoint.
anisoraV1_infer/sat/training/model_io.py:165
↓ 14 callersMethodstep
(self, closure=None)
anisoraV1_infer/sat/ops/npu_adamw.py:75
↓ 14 callersFunctionunscaled_init_method
Init method based on N(0, sigma).
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/mpu/utils.py:84
↓ 13 callersMethod__init__
(self, config, layer_num)
reward/character/BLIP/blip_models/med.py:321
↓ 13 callersMethod__init__
(self, config, layer_num)
reward/models/med.py:321
↓ 13 callersMethodadd_model_specific_args
(cls, parser)
anisoraV1_infer/sat/examples/clip/clip_finetune_model.py:30
↓ 13 callersMethodattention
(self, h_: torch.Tensor)
anisoraV1_train_npu/sgm/modules/diffusionmodules/model.py:177
↓ 13 callersMethodattention
(self, h_: torch.Tensor)
anisoraV1_train_gpu/sgm/modules/diffusionmodules/model.py:177
↓ 13 callersMethoddecode
(self, z, num_frames=None)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora.py:453
↓ 13 callersFunctionexport_to_video
(frames, path, fps)
anisoraV2_gpu/fastvideo/sample/sample_t2v_diffusers_hunyuan.py:22
↓ 13 callersMethodget_prompt
(self)
reward/mantis/models/conversation.py:34
↓ 13 callersFunctionget_sequence_parallel_state
()
anisoraV2_gpu/fastvideo/utils/parallel_states.py:36
↓ 13 callersFunctioninitialize_model_parallel
Initialize model data parallel groups. Arguments: model_parallel_size: number of GPUs used to parallelize model. Let's say we h
anisora_rl/SwissArmyTransformer-main/sat/mpu/initialize.py:34
↓ 13 callersFunctionload_hf_dataset
(path, process_fn, columns=None, cache_dir='~/.cache/huggingface/datasets', offline=False, transformer_name =
anisoraV1_infer/sat/data_utils/hf_dataset.py:21
↓ 13 callersFunctionprint
(*args, **kwargs)
anisoraV1_infer/sat/examples/yolos/util/misc.py:369
↓ 13 callersFunctionto_2tuple
(x)
anisoraV1_infer/videosys/models/transformers/open_sora_plan_v120_transformer_3d.py:1458
↓ 12 callersMethod__init__
(self, config, layer_num)
reward/models/nlvr_encoder.py:357
↓ 12 callersMethod__setattr__
(self, __name, __value)
anisora_rl/SwissArmyTransformer-main/sat/model/registry.py:37
↓ 12 callersFunctionall_to_all_4D
( input_: torch.Tensor, scatter_dim: int = 2, gather_dim: int = 1, )
anisoraV2_npu/fastvideo/utils/communications.py:135
← previousnext →201–300 of 18,851, ranked by callers