MCPcopy Create free account

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

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

↓ 35 callersFunctioncreate_custom_forward
(module)
reward/mantis/mllm_tools/model_utils/otter/models/mpt/hf_prefixlm_converter.py:324
↓ 35 callersMethoddecode
(self, input_ids, position_ids, attention_mask, encoder_outputs, ids_restore, **kw_args)
anisoraV1_infer/sat/model/official/mae_model.py:153
↓ 35 callersFunctionget_pad
(name)
anisoraV1_infer/videosys/core/comm.py:380
↓ 35 callersMethodinsert
(self, idx, other)
anisoraV1_infer/sat/tokenization/glm/tokenization.py:75
↓ 34 callersMethodextend
(self, other)
anisoraV1_infer/sat/sat/tokenization/glm/tokenization.py:102
↓ 33 callersMethod__init__
(self, num_channels: int, flip_sin_to_cos: bool, downscale_freq_shift: float, scale: int = 1)
anisoraV1_infer/cogvideox/embeddings.py:832
↓ 33 callersMethodfrom_pretrained
Initialize the Inference pipeline. Args: pretrained_model_path (str or pathlib.Path): The model path, including t2v, tex
anisoraV2_gpu/fastvideo/models/hunyuan/inference.py:67
↓ 33 callersMethodfrom_pretrained
(cls, pretrained_model_name_or_path: Optional[Union[str, os.PathLike]], **kwargs)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:184
↓ 33 callersMethodfrom_pretrained
Initialize the Inference pipeline. Args: pretrained_model_path (str or pathlib.Path): The model path, including t2v, tex
anisoraV2_npu/fastvideo/models/hunyuan/inference.py:67
↓ 33 callersFunctionget_context_parallel_rank
()
anisora_rl/sat/vae_modules/utils.py:55
↓ 33 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
anisora_rl/SwissArmyTransformer-main/sat/mpu/initialize.py:130
↓ 33 callersMethodstate_dict
(self, *args, **kwargs)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:1352
↓ 32 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/mpu/initialize.py:131
↓ 32 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/mpu/initialize.py:131
↓ 32 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisora_rl/sat/sgm/util.py:253
↓ 32 callersMethodparameters
(self)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1324
↓ 32 callersMethodparameters
(self)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1324
↓ 31 callersMethodbatch_decode
This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.batch_decode`]. Please refer to the docstring o
reward/mantis/models/mllava/processing_llava.py:255
↓ 31 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_infer/sat/mpu/initialize.py:131
↓ 31 callersMethodinsert
(self, idx, other)
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/tokenization.py:75
↓ 31 callersMethodinsert
(self, idx, other)
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/tokenization.py:75
↓ 31 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_npu/sgm/util.py:250
↓ 31 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_npu/sat/sgm/util.py:254
↓ 31 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisoraV1_infer/fastercache/models/cogvideox/sgm/util.py:254
↓ 31 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_gpu/sgm/util.py:250
↓ 31 callersFunctioninstantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_gpu/sat/sgm/util.py:254
↓ 31 callersMethodresize_token_embeddings
(self, new_num_tokens: Optional[int] = None, pad_to_multiple_of=None)
reward/mantis/models/idefics2/modeling_idefics2.py:1538
↓ 30 callersMethodappend_message
(self, role, message)
reward/mantis/models/conversation.py:170
↓ 30 callersMethodclose
(self)
anisoraV1_infer/videosys/core/mp_utils.py:107
↓ 30 callersMethodencode
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/VideoWorkerBridge.ts:326
↓ 29 callersMethodadd_special_tokens
Add a list of additional tokens to the encoder. The additional tokens are indexed starting from the last index of the current vocabula
anisoraV1_infer/sat/tokenization/icetk_glm_130B/ice_tokenizer.py:187
↓ 29 callersMethodcross_attention
( self, attn, hidden_states, encoder_hidden_states_query_proj, encoder
anisoraV1_infer/videosys/models/modules/attentions.py:662
↓ 29 callersFunctionexists
(v)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callersFunctionexists
(v)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:41
↓ 29 callersFunctionexists
(v)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callersFunctionexists
(v)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callersFunctionexists
(v)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:41
↓ 29 callersFunctionexists
(v)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callersMethodload
(self, path, strict=True)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 28 callersMethod__init__
(self, *args, **kwargs)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:869
↓ 28 callersFunctionget_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_infer/sat/sat/mpu/initialize.py:131
↓ 28 callersFunctionset_seed
(seed, dp_rank=None)
anisoraV1_infer/videosys/utils/utils.py:20
↓ 27 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
anisora_rl/SwissArmyTransformer-main/sat/mpu/utils.py:27
↓ 27 callersFunctiontraining_main
Main training program.
anisoraV1_infer/sat/training/deepspeed_training.py:49
↓ 26 callersFunction_n2p
(w, t=True)
reward/character/BLIP/blip_models/vit.py:207
↓ 26 callersFunction_n2p
(w, t=True)
reward/models/vit.py:207
↓ 26 callersFunctionsave_image
(tensor, save_file, nrow=8, normalize=True, value_range=(-1, 1))
anisoraV3.2/wan/utils/utils.py:57
↓ 24 callersFunction_extract_into_tensor
Extract values from a 1-D numpy array for a batch of indices. :param arr: the 1-D numpy array. :param timesteps: a tensor of indices into
anisoraV1_infer/fastercache/diffusion/gaussian_diffusion.py:817
↓ 24 callersMethoddecode
This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.decode`]. Please refer to the docstring of this
reward/mantis/models/mllava/processing_llava.py:263
↓ 24 callersFunctionenable_sequence_parallel
()
anisoraV1_infer/fastercache/dsp/parallel_mgr.py:47
↓ 24 callersMethodencode
(self, input_ids, position_ids, attention_mask=None, **kw_args)
anisoraV1_infer/sat/model/official/mae_model.py:150
↓ 24 callersMethodinsert
(self, idx, other)
anisora_rl/SwissArmyTransformer-main/sat/tokenization/glm/tokenization.py:75
↓ 24 callersMethodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`)
anisoraV1_infer/videosys/schedulers/scheduling_dpm_cogvideox.py:255
↓ 24 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_npu/swissarmytransformer-npu_t_sp/sat/mpu/utils.py:34
↓ 23 callersMethodexists
(model_path)
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/sp_tokenizer.py:69
↓ 23 callersMethodexists
(model_path)
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/sp_tokenizer.py:69
↓ 23 callersMethodflush
()
reward/character/samurai/sam2/demo/frontend/src/types/mp4box/index.d.ts:270
↓ 23 callersMethodfrom_pretrained
(cls, name="vgg_lpips")
anisoraV1_infer/fastercache/models/opensora_plan/losses.py:84
↓ 22 callersFunctionSequential
(*modules)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callersFunctionSequential
(*modules)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:158
↓ 22 callersFunctionSequential
(*modules)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callersFunctionSequential
(*modules)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callersFunctionSequential
(*modules)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:158
↓ 22 callersFunctionSequential
(*modules)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callersFunctiondefault
(v, d)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callersFunctiondefault
(v, d)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:44
↓ 22 callersFunctiondefault
(v, d)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callersFunctiondefault
(v, d)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callersFunctiondefault
(v, d)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:44
↓ 22 callersFunctiondefault
(v, d)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callersFunctionprint_rank0
(msg, level=logging.INFO, flush=True, log_file=None)
anisoraV1_infer/sat/helpers.py:142
↓ 22 callersFunctiont2i_modulate
(x, shift, scale)
anisoraV1_infer/fastercache/models/opensora/modules.py:46
↓ 22 callersFunctionuseVideo
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/editor/useVideo.ts:19
↓ 21 callersMethod__init__
(self)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callersMethod__init__
(self)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:512
↓ 21 callersMethod__init__
(self)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callersMethod__init__
(self)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callersMethod__init__
(self)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:512
↓ 21 callersMethod__init__
(self)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callersMethoddel_mixin
(self, name)
anisoraV1_infer/sat/model/base_model.py:124
↓ 21 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/mpu/utils.py:27
↓ 21 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_infer/sat/mpu/utils.py:27
↓ 21 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_infer/sat/sat/mpu/utils.py:27
↓ 21 callersFunctiondivide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/mpu/utils.py:27
↓ 21 callersMethodfilter
(self, keep: torch.Tensor)
reward/character/samurai/sam2/sam2/utils/amg.py:46
↓ 21 callersFunctionprint_all
(msg, level=logging.INFO, flush=True, log_file=None)
anisoraV1_infer/sat/sat/helpers.py:159
↓ 21 callersFunctionresize
(clip, target_size, interpolation_mode)
anisoraV1_infer/fastercache/datasets/video_transform.py:56
↓ 21 callersMethodsendRequest
* Convenient function to have typed postMessage. * * @param action Video worker action * @param message Actual payload * @param transfer A
reward/character/samurai/sam2/demo/frontend/src/common/components/video/VideoWorkerBridge.ts:481
↓ 20 callersFunctionall_to_all_4D
( input_: torch.Tensor, scatter_dim: int = 2, gather_dim: int = 1, )
anisoraV2_gpu/fastvideo/utils/communications.py:135
↓ 20 callersMethodattention
(self, h_: torch.Tensor)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/diffusionmodules/model.py:155
↓ 20 callersMethodload
(self, path, strict=True)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 20 callersMethodload
(self, path, strict=True)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 20 callersFunctionnormalization
Make a standard normalization layer. :param channels: number of input channels. :return: an nn.Module for normalization.
anisora_rl/sat/sgm/modules/diffusionmodules/util.py:228
↓ 20 callersFunctionresolve_str_to_obj
(str_val, append=True)
anisoraV1_infer/fastercache/models/opensora_plan/ae.py:82
↓ 20 callersMethodstore
Save the current parameters for restoring later. Args: parameters: Iterable of `torch.nn.Parameter`; the parameters to be
anisora_rl/sat/sgm/modules/ema.py:61
↓ 20 callersMethodzero_grad
(self)
anisoraV1_infer/sat/ops/fused_ema_adam.py:97
↓ 19 callersMethodbegin
()
reward/character/samurai/sam2/demo/frontend/src/debug/stats/Stats.ts:134
↓ 19 callersMethoddevice
(self)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:1439
↓ 19 callersMethoddevice
(self)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:1439
↓ 19 callersMethodgenerate
(self, text_prompt: str, raw_image_data: str)
reward/mantis/mllm_tools/model_utils/otter/otterhd.py:43
← previousnext →101–200 of 18,851, ranked by callers