Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bilibili/Index-anisora
/ functions
Functions
18,851 in github.com/bilibili/Index-anisora
⨍
Functions
18,851
◇
Types & classes
4,392
↳
Endpoints
34
↓ 35 callers
Function
create_custom_forward
(module)
reward/mantis/mllm_tools/model_utils/otter/models/mpt/hf_prefixlm_converter.py:324
↓ 35 callers
Method
decode
(self, input_ids, position_ids, attention_mask, encoder_outputs, ids_restore, **kw_args)
anisoraV1_infer/sat/model/official/mae_model.py:153
↓ 35 callers
Function
get_pad
(name)
anisoraV1_infer/videosys/core/comm.py:380
↓ 35 callers
Method
insert
(self, idx, other)
anisoraV1_infer/sat/tokenization/glm/tokenization.py:75
↓ 34 callers
Method
extend
(self, other)
anisoraV1_infer/sat/sat/tokenization/glm/tokenization.py:102
↓ 33 callers
Method
__init__
(self, num_channels: int, flip_sin_to_cos: bool, downscale_freq_shift: float, scale: int = 1)
anisoraV1_infer/cogvideox/embeddings.py:832
↓ 33 callers
Method
from_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 callers
Method
from_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 callers
Method
from_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 callers
Function
get_context_parallel_rank
()
anisora_rl/sat/vae_modules/utils.py:55
↓ 33 callers
Function
get_model_parallel_world_size
Return world size for the model parallel group.
anisora_rl/SwissArmyTransformer-main/sat/mpu/initialize.py:130
↓ 33 callers
Method
state_dict
(self, *args, **kwargs)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:1352
↓ 32 callers
Function
get_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 callers
Function
get_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 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisora_rl/sat/sgm/util.py:253
↓ 32 callers
Method
parameters
(self)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1324
↓ 32 callers
Method
parameters
(self)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1324
↓ 31 callers
Method
batch_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 callers
Function
get_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_infer/sat/mpu/initialize.py:131
↓ 31 callers
Method
insert
(self, idx, other)
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/tokenization.py:75
↓ 31 callers
Method
insert
(self, idx, other)
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/tokenization.py:75
↓ 31 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_npu/sgm/util.py:250
↓ 31 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_npu/sat/sgm/util.py:254
↓ 31 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisoraV1_infer/fastercache/models/cogvideox/sgm/util.py:254
↓ 31 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_gpu/sgm/util.py:250
↓ 31 callers
Function
instantiate_from_config
(config, **extra_kwargs)
anisoraV1_train_gpu/sat/sgm/util.py:254
↓ 31 callers
Method
resize_token_embeddings
(self, new_num_tokens: Optional[int] = None, pad_to_multiple_of=None)
reward/mantis/models/idefics2/modeling_idefics2.py:1538
↓ 30 callers
Method
append_message
(self, role, message)
reward/mantis/models/conversation.py:170
↓ 30 callers
Method
close
(self)
anisoraV1_infer/videosys/core/mp_utils.py:107
↓ 30 callers
Method
encode
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/VideoWorkerBridge.ts:326
↓ 29 callers
Method
add_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 callers
Method
cross_attention
( self, attn, hidden_states, encoder_hidden_states_query_proj, encoder
anisoraV1_infer/videosys/models/modules/attentions.py:662
↓ 29 callers
Function
exists
(v)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callers
Function
exists
(v)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:41
↓ 29 callers
Function
exists
(v)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callers
Function
exists
(v)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callers
Function
exists
(v)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:41
↓ 29 callers
Function
exists
(v)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:42
↓ 29 callers
Method
load
(self, path, strict=True)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 28 callers
Method
__init__
(self, *args, **kwargs)
anisoraV1_infer/videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:869
↓ 28 callers
Function
get_model_parallel_world_size
Return world size for the model parallel group.
anisoraV1_infer/sat/sat/mpu/initialize.py:131
↓ 28 callers
Function
set_seed
(seed, dp_rank=None)
anisoraV1_infer/videosys/utils/utils.py:20
↓ 27 callers
Function
divide
Ensure that numerator is divisible by the denominator and return the division value.
anisora_rl/SwissArmyTransformer-main/sat/mpu/utils.py:27
↓ 27 callers
Function
training_main
Main training program.
anisoraV1_infer/sat/training/deepspeed_training.py:49
↓ 26 callers
Function
_n2p
(w, t=True)
reward/character/BLIP/blip_models/vit.py:207
↓ 26 callers
Function
_n2p
(w, t=True)
reward/models/vit.py:207
↓ 26 callers
Function
save_image
(tensor, save_file, nrow=8, normalize=True, value_range=(-1, 1))
anisoraV3.2/wan/utils/utils.py:57
↓ 24 callers
Function
_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 callers
Method
decode
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 callers
Function
enable_sequence_parallel
()
anisoraV1_infer/fastercache/dsp/parallel_mgr.py:47
↓ 24 callers
Method
encode
(self, input_ids, position_ids, attention_mask=None, **kw_args)
anisoraV1_infer/sat/model/official/mae_model.py:150
↓ 24 callers
Method
insert
(self, idx, other)
anisora_rl/SwissArmyTransformer-main/sat/tokenization/glm/tokenization.py:75
↓ 24 callers
Method
set_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 callers
Function
split_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 callers
Method
exists
(model_path)
anisoraV1_train_npu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/sp_tokenizer.py:69
↓ 23 callers
Method
exists
(model_path)
anisoraV1_train_gpu/swissarmytransformer-npu_t_sp/sat/tokenization/glm/sp_tokenizer.py:69
↓ 23 callers
Method
flush
()
reward/character/samurai/sam2/demo/frontend/src/types/mp4box/index.d.ts:270
↓ 23 callers
Method
from_pretrained
(cls, name="vgg_lpips")
anisoraV1_infer/fastercache/models/opensora_plan/losses.py:84
↓ 22 callers
Function
Sequential
(*modules)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callers
Function
Sequential
(*modules)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:158
↓ 22 callers
Function
Sequential
(*modules)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callers
Function
Sequential
(*modules)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callers
Function
Sequential
(*modules)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:158
↓ 22 callers
Function
Sequential
(*modules)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:177
↓ 22 callers
Function
default
(v, d)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callers
Function
default
(v, d)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:44
↓ 22 callers
Function
default
(v, d)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callers
Function
default
(v, d)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callers
Function
default
(v, d)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:44
↓ 22 callers
Function
default
(v, d)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:46
↓ 22 callers
Function
print_rank0
(msg, level=logging.INFO, flush=True, log_file=None)
anisoraV1_infer/sat/helpers.py:142
↓ 22 callers
Function
t2i_modulate
(x, shift, scale)
anisoraV1_infer/fastercache/models/opensora/modules.py:46
↓ 22 callers
Function
useVideo
()
reward/character/samurai/sam2/demo/frontend/src/common/components/video/editor/useVideo.ts:19
↓ 21 callers
Method
__init__
(self)
anisora_rl/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callers
Method
__init__
(self)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:512
↓ 21 callers
Method
__init__
(self)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callers
Method
__init__
(self)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callers
Method
__init__
(self)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:512
↓ 21 callers
Method
__init__
(self)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:480
↓ 21 callers
Method
del_mixin
(self, name)
anisoraV1_infer/sat/model/base_model.py:124
↓ 21 callers
Function
divide
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 callers
Function
divide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_infer/sat/mpu/utils.py:27
↓ 21 callers
Function
divide
Ensure that numerator is divisible by the denominator and return the division value.
anisoraV1_infer/sat/sat/mpu/utils.py:27
↓ 21 callers
Function
divide
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 callers
Method
filter
(self, keep: torch.Tensor)
reward/character/samurai/sam2/sam2/utils/amg.py:46
↓ 21 callers
Function
print_all
(msg, level=logging.INFO, flush=True, log_file=None)
anisoraV1_infer/sat/sat/helpers.py:159
↓ 21 callers
Function
resize
(clip, target_size, interpolation_mode)
anisoraV1_infer/fastercache/datasets/video_transform.py:56
↓ 21 callers
Method
sendRequest
* 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 callers
Function
all_to_all_4D
( input_: torch.Tensor, scatter_dim: int = 2, gather_dim: int = 1, )
anisoraV2_gpu/fastvideo/utils/communications.py:135
↓ 20 callers
Method
attention
(self, h_: torch.Tensor)
anisoraV1_infer/fastercache/models/cogvideox/sgm/modules/diffusionmodules/model.py:155
↓ 20 callers
Method
load
(self, path, strict=True)
anisoraV1_train_npu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 20 callers
Method
load
(self, path, strict=True)
anisoraV1_train_gpu/sat/sgm/modules/autoencoding/magvit2_pytorch.py:1367
↓ 20 callers
Function
normalization
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 callers
Function
resolve_str_to_obj
(str_val, append=True)
anisoraV1_infer/fastercache/models/opensora_plan/ae.py:82
↓ 20 callers
Method
store
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 callers
Method
zero_grad
(self)
anisoraV1_infer/sat/ops/fused_ema_adam.py:97
↓ 19 callers
Method
begin
()
reward/character/samurai/sam2/demo/frontend/src/debug/stats/Stats.ts:134
↓ 19 callers
Method
device
(self)
anisoraV1_train_npu/sgm/modules/autoencoding/magvit2_pytorch.py:1439
↓ 19 callers
Method
device
(self)
anisoraV1_train_gpu/sgm/modules/autoencoding/magvit2_pytorch.py:1439
↓ 19 callers
Method
generate
(self, text_prompt: str, raw_image_data: str)
reward/mantis/mllm_tools/model_utils/otter/otterhd.py:43
← previous
next →
101–200 of 18,851, ranked by callers