MCPcopy Create free account

hub / github.com/ali-vilab/TeaCache / functions

Functions1,040 in github.com/ali-vilab/TeaCache

↓ 1 callersMethod_add_extra_encoder
(self, hidden_states, text_seq_length, attn)
videosys/models/transformers/cogvideox_transformer_3d.py:64
↓ 1 callersFunction_all_to_all_func
(input_, world_size, group, scatter_dim, gather_dim)
videosys/core/comm.py:208
↓ 1 callersMethod_basic_clean
(text)
videosys/pipelines/open_sora/pipeline_open_sora.py:299
↓ 1 callersMethod_create_pipeline
(self, pipeline_cls, rank=0, local_rank=0, distributed_init_method=None)
videosys/core/engine.py:68
↓ 1 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
videosys/schedulers/scheduling_rflow_open_sora.py:17
↓ 1 callersMethod_get_cached_emb
( self, device: torch.device, dtype: torch.dtype, h: int, w: int,
videosys/models/modules/embeddings.py:247
↓ 1 callersMethod_init_compress
(self)
videosys/models/transformers/open_sora_plan_v110_transformer_3d.py:1101
↓ 1 callersMethod_init_compress
(self)
videosys/models/transformers/open_sora_plan_transformer_3d.py:1114
↓ 1 callersMethod_init_embeddings
(self, z)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:1306
↓ 1 callersMethod_init_embeddings
(self, z)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:1303
↓ 1 callersFunction_init_logging
(rank)
TeaCache4Wan2.1/teacache_generate.py:753
↓ 1 callersMethod_init_patched_inputs
(self, norm_type)
videosys/models/transformers/open_sora_plan_v120_transformer_3d.py:1589
↓ 1 callersMethod_init_rope
(self, interpolation_scale_thw)
videosys/models/transformers/open_sora_plan_v120_transformer_3d.py:851
↓ 1 callersMethod_init_rope
(self)
videosys/models/transformers/open_sora_plan_v110_transformer_3d.py:1142
↓ 1 callersMethod_init_rope
(self)
videosys/models/transformers/open_sora_plan_transformer_3d.py:1155
↓ 1 callersMethod_init_weights
(self, init_method)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:1134
↓ 1 callersMethod_init_weights
(self, init_method)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:58
↓ 1 callersMethod_init_weights
(self, init_method)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:1131
↓ 1 callersMethod_init_worker
(self, pipeline_cls)
videosys/core/engine.py:23
↓ 1 callersMethod_is_t_in_skip_config
(all_timesteps, timestep, config)
videosys/core/pab_mgr.py:94
↓ 1 callersMethod_operate_on_patched_inputs
( self, hidden_states, encoder_hidden_states, timestep, added_cond_kwargs, batch_size, frame, use_imag
videosys/models/transformers/open_sora_plan_v120_transformer_3d.py:2018
↓ 1 callersFunction_parse_args
()
TeaCache4Wan2.1/teacache_generate.py:615
↓ 1 callersMethod_prepare_rotary_positional_embeddings
( self, height: int, width: int, num_frames: int, device: torch.device
videosys/pipelines/cogvideox/pipeline_cogvideox.py:450
↓ 1 callersMethod_remove_extra_encoder
(self, hidden_states, text_seq_length, attn)
videosys/models/transformers/cogvideox_transformer_3d.py:45
↓ 1 callersMethod_run_workers
Runs the given method on all workers.
videosys/core/engine.py:74
↓ 1 callersMethod_set_parallel
( self, dp_size: Optional[int] = None, sp_size: Optional[int] = None, enable_cp: Optional[bool] = Fals
videosys/pipelines/latte/pipeline_latte.py:261
↓ 1 callersMethod_set_parallel
( self, dp_size: Optional[int] = None, sp_size: Optional[int] = None, enable_cp: Optional[bool] = Fals
videosys/pipelines/cogvideox/pipeline_cogvideox.py:196
↓ 1 callersMethod_set_parallel
( self, dp_size: Optional[int] = None, sp_size: Optional[int] = None, enable_cp: Optional[bool] = Fals
videosys/pipelines/open_sora/pipeline_open_sora.py:253
↓ 1 callersMethod_set_parallel
( self, dp_size: Optional[int] = None, sp_size: Optional[int] = None, enable_cp: Optional[bool] = Fals
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:349
↓ 1 callersMethod_set_parallel
( self, dp_size: Optional[int] = None, sp_size: Optional[int] = None, enable_cp: Optional[bool] = Fals
videosys/pipelines/vchitect/pipeline_vchitect.py:266
↓ 1 callersMethod_set_seed
(self, seed)
videosys/pipelines/latte/pipeline_latte.py:255
↓ 1 callersMethod_set_seed
(self, seed)
videosys/pipelines/cogvideox/pipeline_cogvideox.py:190
↓ 1 callersMethod_set_seed
(self, seed)
videosys/pipelines/open_sora/pipeline_open_sora.py:247
↓ 1 callersMethod_set_seed
(self, seed)
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:343
↓ 1 callersMethod_set_seed
(self, seed)
videosys/pipelines/vchitect/pipeline_vchitect.py:388
↓ 1 callersMethod_training_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:515
↓ 1 callersMethod_training_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:515
↓ 1 callersMethod_training_step_gan
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:535
↓ 1 callersMethod_training_step_gan
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:535
↓ 1 callersFunction_validate_args
(args)
TeaCache4Wan2.1/teacache_generate.py:584
↓ 1 callersMethod_wait_for_tasks_completion
Wait for futures returned from _run_workers() with async_run_remote_workers_only to complete.
videosys/core/engine.py:113
↓ 1 callersFunctionappend_generated
(vae, generated_video, refs_x, mask_strategy, loop_i, condition_frame_length, condition_frame_edit)
videosys/pipelines/open_sora/pipeline_open_sora.py:857
↓ 1 callersFunctionappend_score_to_prompts
(prompts, aes=None, flow=None, camera_motion=None)
videosys/pipelines/open_sora/pipeline_open_sora.py:705
↓ 1 callersFunctionapply_mask_strategy
(z, refs_x, mask_strategys, loop_i, align=None)
videosys/pipelines/open_sora/pipeline_open_sora.py:825
↓ 1 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
videosys/models/transformers/open_sora_plan_v110_transformer_3d.py:223
↓ 1 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
videosys/models/transformers/open_sora_plan_transformer_3d.py:236
↓ 1 callersMethodapply_rotary_emb
( self, xq: torch.Tensor, xk: torch.Tensor, freqs_cis: torch.Tensor, )
videosys/models/modules/attentions.py:550
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
videosys/schedulers/scheduling_dpm_cogvideox.py:44
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
videosys/schedulers/scheduling_ddim_cogvideox.py:43
↓ 1 callersMethodblend_h
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
videosys/models/autoencoders/autoencoder_kl_cogvideox.py:1154
↓ 1 callersMethodblend_v
(self, a: torch.Tensor, b: torch.Tensor, blend_extent: int)
videosys/models/autoencoders/autoencoder_kl_cogvideox.py:1146
↓ 1 callersFunctionbroadcast
(tensors, dim=-1)
videosys/models/modules/embeddings.py:333
↓ 1 callersFunctioncalculate_ssim_function
(img1, img2)
eval/teacache/common_metrics/calculate_ssim.py:25
↓ 1 callersFunctioncast_tuple
(t, length=1)
videosys/models/autoencoders/autoencoder_kl_open_sora.py:67
↓ 1 callersFunctioncenter_crop
(clip, crop_size)
videosys/pipelines/open_sora/data_process.py:579
↓ 1 callersFunctioncenter_crop_arr
Center cropping implementation from ADM. https://github.com/openai/guided-diffusion/blob/8fb3ad9197f16bbc40620447b2742e13458d2831/guided_diff
videosys/pipelines/open_sora/data_process.py:725
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, negative_prompt, callback_steps
videosys/pipelines/latte/pipeline_latte.py:465
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, negative_prompt, callback_on_st
videosys/pipelines/cogvideox/pipeline_cogvideox.py:386
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, negative_prompt, callback_steps
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:693
↓ 1 callersMethodcheck_inputs
( self, prompt, prompt_2, prompt_3, height, width, neg
videosys/pipelines/vchitect/pipeline_vchitect.py:564
↓ 1 callersFunctioncollect_references_batch
(reference_paths, vae, image_size)
videosys/pipelines/open_sora/pipeline_open_sora.py:736
↓ 1 callersFunctioncrop
Args: clip (torch.tensor): Video clip to be cropped. Size is (T, C, H, W)
videosys/pipelines/open_sora/data_process.py:569
↓ 1 callersMethodcross_attention
( self, attn, hidden_states, encoder_hidden_states_query_proj, encoder
videosys/models/modules/attentions.py:662
↓ 1 callersMethoddecode
(self, encoding: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:99
↓ 1 callersMethoddecode
(self, x)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:812
↓ 1 callersMethoddecode
(self, encoding: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:163
↓ 1 callersMethoddecode
(self, z)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:872
↓ 1 callersMethoddecode
(self, x)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:1129
↓ 1 callersMethoddecode
Decode a batch of images. Args: z (`torch.Tensor`): Input batch of latent vectors. return_dict (`bool`, *opt
videosys/models/autoencoders/autoencoder_kl_cogvideox.py:1122
↓ 1 callersMethoddecode
(self, encoding: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:99
↓ 1 callersMethoddecode_latents
(self, latents)
videosys/pipelines/latte/pipeline_latte.py:916
↓ 1 callersMethoddecode_latents
(self, latents: torch.Tensor)
videosys/pipelines/cogvideox/pipeline_cogvideox.py:360
↓ 1 callersMethoddecode_latents
(self, latents)
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:1184
↓ 1 callersMethoddecode_latents_image
(self, latents)
videosys/pipelines/latte/pipeline_latte.py:904
↓ 1 callersMethoddecode_latents_with_temporal_decoder
(self, latents)
videosys/pipelines/latte/pipeline_latte.py:929
↓ 1 callersFunctiondemo
Run video-to-world generation demo. This function handles the main video-to-world generation pipeline, including: - Setting up the random see
TeaCache4Cosmos/teacache_sample_video_i2v.py:345
↓ 1 callersFunctiondemo
Run text-to-world generation demo. This function handles the main text-to-world generation pipeline, including: - Setting up the random seed
TeaCache4Cosmos/teacache_sample_video_t2v.py:295
↓ 1 callersFunctiondframe_to_frame
(num)
videosys/pipelines/open_sora/pipeline_open_sora.py:874
↓ 1 callersFunctiondivisible_by
(num, den)
videosys/models/autoencoders/autoencoder_kl_open_sora.py:71
↓ 1 callersFunctiondownload_url
(input_path)
videosys/pipelines/open_sora/data_process.py:531
↓ 1 callersMethodenable_slicing
r""" Enable sliced VAE decoding. When this option is enabled, the VAE will split the input tensor in slices to compute decoding in sev
videosys/models/autoencoders/autoencoder_kl_cogvideox.py:1057
↓ 1 callersMethodenable_tiling
(self, use_tiling: bool = True)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:773
↓ 1 callersMethodenable_tiling
(self, use_tiling: bool = True)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:1045
↓ 1 callersMethodencode
(self, x: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:96
↓ 1 callersMethodencode
(self, x: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:160
↓ 1 callersMethodencode
(self, x)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:859
↓ 1 callersMethodencode
Encode a batch of images into latents. Args: x (`torch.Tensor`): Input batch of images. return_dict (`bool`,
videosys/models/autoencoders/autoencoder_kl_cogvideox.py:1072
↓ 1 callersMethodencode
(self, x: torch.Tensor, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:96
↓ 1 callersMethodencode
(self, x)
videosys/models/autoencoders/autoencoder_kl_open_sora.py:653
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
videosys/pipelines/cogvideox/pipeline_cogvideox.py:254
↓ 1 callersMethodencode_prompt
(self, text)
videosys/pipelines/open_sora/pipeline_open_sora.py:289
↓ 1 callersMethodencode_prompt
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:375
↓ 1 callersMethodencode_prompt
r""" Args: prompt (`str` or `List[str]`, *optional*): prompt to be encoded prompt_2 (`str` or `List[s
videosys/pipelines/vchitect/pipeline_vchitect.py:395
↓ 1 callersMethodencode_prompt_v120
r""" Encodes the prompt into text encoder hidden states. Args: prompt (`str` or `List[str]`, *optional*):
videosys/pipelines/open_sora_plan/pipeline_open_sora_plan.py:538
↓ 1 callersFunctioneval_base
(prompt_list)
eval/teacache/experiments/latte.py:524
↓ 1 callersFunctioneval_base
(prompt_list)
eval/teacache/experiments/cogvideox.py:219
↓ 1 callersFunctioneval_base
(prompt_list)
eval/teacache/experiments/opensora_plan.py:583
↓ 1 callersFunctioneval_base
(prompt_list)
eval/teacache/experiments/opensora.py:206
↓ 1 callersFunctioneval_teacache_fast
(prompt_list)
eval/teacache/experiments/latte.py:511
↓ 1 callersFunctioneval_teacache_fast
(prompt_list)
eval/teacache/experiments/cogvideox.py:206
← previousnext →201–300 of 1,040, ranked by callers