MCPcopy Create free account

hub / github.com/Tencent-Hunyuan/HunyuanVideo-I2V / types & classes

Types & classes54 in github.com/Tencent-Hunyuan/HunyuanVideo-I2V

↓ 9 callersClassCausalConv3d
Implements a causal 3D convolution layer where each position only depends on previous timesteps and current spatial locations. This maintai
hyvideo/vae/unet_causal_3d_blocks.py:48
↓ 6 callersClassTextEncoder
hyvideo/text_encoder/__init__.py:119
↓ 4 callersClassDecoderOutput
r""" Output of decoding method. Args: sample (`torch.FloatTensor` of shape `(batch_size, num_channels, height, width)`):
hyvideo/vae/vae.py:20
↓ 4 callersClassResnetBlockCausal3D
r""" A Resnet block.
hyvideo/vae/unet_causal_3d_blocks.py:249
↓ 4 callersClassTextEncoderModelOutput
Base class for model's outputs that also contains a pooling of the last hidden states. Args: hidden_state (`torch.FloatTensor` of sh
hyvideo/text_encoder/__init__.py:96
↓ 3 callersClassDiagonalGaussianDistribution
hyvideo/vae/vae.py:294
↓ 3 callersClassMLP
MLP as used in Vision Transformer, MLP-Mixer and related networks
hyvideo/modules/mlp_layers.py:13
↓ 3 callersClassModulateDiT
Modulation layer for DiT.
hyvideo/modules/modulate_layers.py:7
↓ 3 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
hyvideo/modules/embed_layers.py:120
↓ 2 callersClassDecoderOutput2
hyvideo/vae/autoencoder_kl_causal_3d.py:48
↓ 2 callersClassDownsampleCausal3D
A 3D downsampling layer with an optional convolution.
hyvideo/vae/unet_causal_3d_blocks.py:185
↓ 2 callersClassFlowMatchDiscreteScheduler
Euler scheduler. This model inherits from [`SchedulerMixin`] and [`ConfigMixin`]. Check the superclass documentation for the generic met
hyvideo/diffusion/schedulers/scheduling_flow_match_discrete.py:48
↓ 2 callersClassRMSNorm
hyvideo/modules/norm_layers.py:5
↓ 2 callersClassTextProjection
Projects text embeddings. Also handles dropout for classifier-free guidance. Adapted from https://github.com/PixArt-alpha/PixArt-alpha/blob/
hyvideo/modules/embed_layers.py:62
↓ 2 callersClassTransport
hyvideo/diffusion/flow/transport.py:63
↓ 2 callersClassUNetMidBlockCausal3D
A 3D UNet mid-block [`UNetMidBlockCausal3D`] with multiple residual blocks and optional attention blocks.
hyvideo/vae/unet_causal_3d_blocks.py:526
↓ 2 callersClassUpsampleCausal3D
A 3D upsampling layer with an optional convolution.
hyvideo/vae/unet_causal_3d_blocks.py:77
↓ 2 callersClassVideoDataset
hyvideo/dataset/video_loader.py:13
↓ 2 callersClassode
ODE solver class
hyvideo/diffusion/flow/integrators.py:78
↓ 1 callersClassCycleStates
train_image2video_lora.py:202
↓ 1 callersClassDecoderCausal3D
r""" The `DecoderCausal3D` layer of a variational autoencoder that decodes its latent representation into an output sample.
hyvideo/vae/vae.py:136
↓ 1 callersClassDownEncoderBlockCausal3D
hyvideo/vae/unet_causal_3d_blocks.py:631
↓ 1 callersClassEncoderCausal3D
r""" The `EncoderCausal3D` layer of a variational autoencoder that encodes its input into a latent representation.
hyvideo/vae/vae.py:32
↓ 1 callersClassFinalLayer
The final layer of DiT.
hyvideo/modules/mlp_layers.py:76
↓ 1 callersClassFlowMatchDiscreteSchedulerOutput
Output class for the scheduler's `step` function output. Args: prev_sample (`torch.FloatTensor` of shape `(batch_size, num_channels,
hyvideo/diffusion/schedulers/scheduling_flow_match_discrete.py:35
↓ 1 callersClassHYVideoDiffusionTransformer
HunyuanVideo Transformer backbone Inherited from ModelMixin and ConfigMixin for compatibility with diffusers' sampler StableDiffusionPipelin
hyvideo/modules/models.py:463
↓ 1 callersClassHunyuanVideoPipeline
r""" Pipeline for text-to-video generation using HunyuanVideo. This model inherits from [`DiffusionPipeline`]. Check the superclass documenta
hyvideo/diffusion/pipelines/pipeline_hunyuan_video.py:145
↓ 1 callersClassHunyuanVideoPipelineOutput
hyvideo/diffusion/pipelines/pipeline_hunyuan_video.py:141
↓ 1 callersClassIndividualTokenRefiner
hyvideo/modules/token_refiner.py:103
↓ 1 callersClassIndividualTokenRefinerBlock
hyvideo/modules/token_refiner.py:16
↓ 1 callersClassMLPEmbedder
copied from https://github.com/black-forest-labs/flux/blob/main/src/flux/modules/layers.py
hyvideo/modules/mlp_layers.py:63
↓ 1 callersClassMMDoubleStreamBlock
A multimodal dit block with seperate modulation for text and image/video, see more details (SD3): https://arxiv.org/abs/2403.03206
hyvideo/modules/models.py:23
↓ 1 callersClassMMSingleStreamBlock
A DiT block with parallel linear layers as described in https://arxiv.org/abs/2302.05442 and adapted modulation interface. Also refer to
hyvideo/modules/models.py:298
↓ 1 callersClassMultiBucketDataset
hyvideo/hyvae_extract/dataset.py:30
↓ 1 callersClassPatchEmbed
2D Image to Patch Embedding Image to Patch Embedding using Conv2d A convolution based approach to patchifying a 2D image w/ embedding projec
hyvideo/modules/embed_layers.py:9
↓ 1 callersClassScalarStates
train_image2video_lora.py:174
↓ 1 callersClassSingleTokenRefiner
A single token refiner block for llm text embedding refine.
hyvideo/modules/token_refiner.py:164
↓ 1 callersClassUpDecoderBlockCausal3D
hyvideo/vae/unet_causal_3d_blocks.py:697
↓ 1 callersClassVideoDataset
hyvideo/hyvae_extract/dataset.py:86
↓ 1 callersClasssde
SDE solver class
hyvideo/diffusion/flow/integrators.py:4
↓ 1 callersClassset_worker_seed_builder
hyvideo/utils/train_utils.py:220
ClassAutoencoderKLCausal3D
r""" A VAE model with KL loss for encoding images/videos into latents and decoding latent representations into images/videos. This model i
hyvideo/vae/autoencoder_kl_causal_3d.py:53
ClassEasyDict
hyvideo/diffusion/flow/utils.py:4
ClassEventsMonitor
hyvideo/utils/helpers.py:22
ClassGVPCPlan
hyvideo/diffusion/flow/path.py:188
ClassHunyuanVideoSampler
hyvideo/inference.py:519
ClassICPlan
Linear Coupling Plan
hyvideo/diffusion/flow/path.py:15
ClassInference
hyvideo/inference.py:176
ClassModelType
Which type of output the model predicts.
hyvideo/diffusion/flow/transport.py:16
ClassPathType
Which type of path to use.
hyvideo/diffusion/flow/transport.py:26
ClassSNRType
hyvideo/diffusion/flow/transport.py:46
ClassSampler
Sampler class for the transport model
hyvideo/diffusion/flow/transport.py:291
ClassVPCPlan
class for VP path flow matching
hyvideo/diffusion/flow/path.py:150
ClassWeightType
Which type of weighting to use.
hyvideo/diffusion/flow/transport.py:36