MCPcopy Create free account

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

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

Methodset_use_memory_efficient_attention_xformers
r""" Set whether to use memory efficient attention from `xformers` or not. Args: use_memory_efficient_attention_xformers
videosys/models/transformers/open_sora_plan_transformer_3d.py:633
Methodstep
Predict the sample from the previous timestep by reversing the SDE. This function propagates the diffusion process from the learned m
videosys/schedulers/scheduling_ddim_cogvideox.py:299
Methodstop_remote_worker_execution_loop
(self)
videosys/core/engine.py:103
Functionstr_to_dtype
(x: str)
videosys/utils/utils.py:37
Methodsymbolic
(graph, input_)
videosys/core/comm.py:306
Methodsymbolic
(graph, input_)
videosys/core/comm.py:338
Functiont2v_generate
r""" Generates video frames from text prompt using diffusion process. Args: input_prompt (`str`): Text pr
TeaCache4Wan2.1/teacache_generate.py:52
Functionteacache_forward
( self, hidden_states: torch.Tensor, timesteps: torch.LongTensor = None, encod
TeaCache4HiDream-I1/teacache_hidream_i1.py:15
Functionteacache_forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: torch.Tensor, timestep: Union[int,
TeaCache4ConsisID/teacache_sample_video.py:18
Functionteacache_forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: torch.Tensor, time
TeaCache4LTX-Video/teacache_ltx.py:10
Functionteacache_forward
The [`FluxTransformer2DModel`] forward method. Args: hidden_states (`torch.FloatTensor` of shape `(batch size, channel,
TeaCache4TangoFlux/teacache_tango_flux.py:15
Functionteacache_forward
The [`Transformer2DModel`] forward method. Args: hidden_states (`torch.LongTensor` of shape `(batch size, num latent pix
eval/teacache/experiments/latte.py:13
Functionteacache_forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: torch.Tensor, time
eval/teacache/experiments/cogvideox.py:14
Functionteacache_forward
The [`Transformer2DModel`] forward method. Args: hidden_states (`torch.LongTensor` of shape `(batch size, num latent pix
eval/teacache/experiments/opensora_plan.py:13
Functionteacache_forward
( self, x, timestep, all_timesteps, y, mask=None, x_mask=None, fps=None, height=None, width=None, **kw
eval/teacache/experiments/opensora.py:11
Functionteacache_forward
( self, x: torch.Tensor, t: torch.Tensor, # Should be in range(0, 1000). text
TeaCache4HunyuanVideo/teacache_sample_video.py:22
Functionteacache_forward
The [`FluxTransformer2DModel`] forward method. Args: hidden_states (`torch.FloatTensor` of shape `(batch size, channel,
TeaCache4FLUX/teacache_flux.py:13
Functionteacache_forward
r""" Forward pass through the diffusion model Args: x (List[Tensor]): List of input video tensors, each with shape [C_in,
TeaCache4Wan2.1/teacache_generate.py:438
Functionteacache_forward
Forward pass of LuminaNextDiT. Parameters: hidden_states (torch.Tensor): Input tensor of shape (N, C, H, W).
TeaCache4Lumina-T2X/teacache_lumina_next.py:10
Functionteacache_forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: torch.Tensor, time
TeaCache4Mochi/teacache_mochi.py:12
Functionteacache_forward
( self, hidden_states: torch.Tensor, encoder_hidden_states: torch.Tensor, time
TeaCache4CogVideoX1.5/teacache_sample_video.py:18
Functionteacache_forward
Args: x: (B, C, T, H, W) tensor of spatial-temp inputs timesteps: (B, ) tensor of timesteps crossattn_emb: (B, N, D) tens
TeaCache4Cosmos/teacache_sample_video_t2v.py:31
Functionteacache_forward_working
( self, hidden_states: torch.Tensor, timestep: torch.Tensor, encoder_hidden_states: torch.Tens
TeaCache4Lumina2/teacache_lumina2.py:12
Functionteacache_v2v_forward
Forward pass of the video-conditioned DIT model. Args: x: Input tensor of shape (B, C, T, H, W) timesteps: Timestep tensor of sha
TeaCache4Cosmos/teacache_sample_video_i2v.py:236
Methodtraining_losses
Compute training losses for a single timestep. Arguments format copied from opensora/schedulers/iddpm/gaussian_diffusion.py/training_
videosys/schedulers/scheduling_rflow_open_sora.py:103
Methodtraining_losses
(self, model, x_start, model_kwargs=None, noise=None, mask=None, weights=None, t=None)
videosys/schedulers/scheduling_rflow_open_sora.py:258
Methodtraining_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:509
Methodtraining_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:509
Methodunfuse_qkv_projections
r"""Disable QKV projection fusion if enabled.
videosys/pipelines/cogvideox/pipeline_cogvideox.py:442
Methodunfuse_qkv_projections
Disables the fused QKV projection if enabled. <Tip warning={true}> This API is 🧪 experimental. </Tip>
videosys/models/transformers/vchitect_transformer_3d.py:466
Methodvalidation_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:792
Methodvalidation_step
(self, batch, batch_idx)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:792
Functionvideo_to_image
(func)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:856
Functionvideo_to_image
(func)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:104
Functionvideo_to_image
(func)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:853
Functionwrapper
(*args, **kwargs)
videosys/utils/test.py:8
Functionwrapper
(self, x, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v110.py:857
Functionwrapper
(self, x, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan_v120.py:105
Functionwrapper
(self, x, *args, **kwargs)
videosys/models/autoencoders/autoencoder_kl_open_sora_plan.py:854
Functionwrite_with_prefix
(s: str)
videosys/core/mp_utils.py:160
← previous1,001–1,040 of 1,040, ranked by callers