Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/AnimeGamer
/ types & classes
Types & classes
263 in github.com/TencentARC/AnimeGamer
⨍
Functions
1,003
◇
Types & classes
263
↳
Endpoints
4
↓ 35 callers
Class
Residual
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:186
↓ 18 callers
Class
CausalConv3d
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:51
↓ 16 callers
Class
FeedForward
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:452
↓ 11 callers
Class
ResBlock
A residual block that can optionally change the number of channels. :param channels: the number of input channels. :param emb_channels: t
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:207
↓ 10 callers
Class
ContextParallelCausalConv3d
VDM_Decoder/vae_modules/cp_enc_dec.py:360
↓ 10 callers
Class
TimestepEmbedSequential
A sequential module that passes timestep embeddings to the children that support it as an extra input.
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:78
↓ 8 callers
Class
LinearSpaceAttention
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:409
↓ 8 callers
Class
TokenShift
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:257
↓ 7 callers
Class
ResnetBlock
VDM_Decoder/sgm/modules/diffusionmodules/model.py:85
↓ 6 callers
Class
ContextParallelResnetBlock3D
VDM_Decoder/vae_modules/cp_enc_dec.py:614
↓ 6 callers
Class
ResnetBlock
VDM_Decoder/sgm/modules/autoencoding/vqvae/vqvae_blocks.py:70
↓ 6 callers
Class
ResnetBlock3D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:100
↓ 5 callers
Class
AttentionBlock
An attention block that allows spatial positions to attend to each other. Originally ported from here, but adapted to the N-d case. https
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:347
↓ 5 callers
Class
NetLinLayer
A single linear layer which does a 1x1 conv
VDM_Decoder/sgm/modules/autoencoding/lpips/loss/lpips.py:68
↓ 4 callers
Class
AttnBlock
VDM_Decoder/sgm/modules/autoencoding/vqvae/vqvae_blocks.py:114
↓ 4 callers
Class
DownSample3D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:144
↓ 4 callers
Class
Downsample
A downsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determini
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:166
↓ 4 callers
Class
FeedForward
VDM_Decoder/sgm/modules/attention.py:101
↓ 4 callers
Class
LPIPS
VDM_Decoder/sgm/modules/autoencoding/lpips/loss/lpips.py:12
↓ 4 callers
Class
SpaceAttention
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:422
↓ 4 callers
Class
TimeAttention
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:435
↓ 4 callers
Class
Upsample3D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:108
↓ 3 callers
Class
Blur
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:479
↓ 3 callers
Class
Blur
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:80
↓ 3 callers
Class
CausalConv3d
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:808
↓ 3 callers
Class
DiscriminatorBlock
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:113
↓ 3 callers
Class
MistralRMSNorm
MLLM/src/models/mistral/modeling_mistral.py:81
↓ 3 callers
Class
ResnetBlock
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_modules.py:110
↓ 3 callers
Class
ResnetBlock3D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:183
↓ 3 callers
Class
SpatialTransformer
Transformer block for image-like data. First, project the input (aka embedding) and reshape to b, t, d. Then apply standard transform
VDM_Decoder/sgm/modules/attention.py:739
↓ 3 callers
Class
Upsample
An upsampling layer with an optional convolution. :param channels: channels in the inputs and outputs. :param use_conv: a bool determinin
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:117
↓ 3 callers
Class
VideoTransformerBlock
VDM_Decoder/sgm/modules/video_attention.py:15
↓ 2 callers
Class
AdaptiveRMSNorm
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:288
↓ 2 callers
Class
AttentionMaskConverter
A utility attention mask class that allows one to: - Create a causal 4d mask - Create a causal 4d mask with slided window
MLLM/src/models/mistral/modeling_attn_mask_utils.py:21
↓ 2 callers
Class
AttnBlock
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_modules.py:164
↓ 2 callers
Class
AttnBlock2D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:155
↓ 2 callers
Class
AutoVideoTokenGenerationProcessor
MLLM/src/models_clm/generation.py:14
↓ 2 callers
Class
ConfiguredResampledShards
VDM_Decoder/sgm/webds.py:55
↓ 2 callers
Class
ContextParallelGroupNorm
VDM_Decoder/vae_modules/cp_enc_dec.py:433
↓ 2 callers
Class
DownSample3D
VDM_Decoder/vae_modules/cp_enc_dec.py:571
↓ 2 callers
Class
Downsample
VDM_Decoder/sgm/modules/diffusionmodules/model.py:67
↓ 2 callers
Class
QKVAttention
A module which performs QKV attention and splits in a different order.
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:449
↓ 2 callers
Class
RMSNorm
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:273
↓ 2 callers
Class
ResidualUnitMod
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:856
↓ 2 callers
Class
Timestep
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:483
↓ 2 callers
Class
ToTimeSequence
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:199
↓ 2 callers
Class
Upsample
VDM_Decoder/sgm/modules/diffusionmodules/model.py:53
↓ 2 callers
Class
Upsample3D
VDM_Decoder/vae_modules/cp_enc_dec.py:531
↓ 1 callers
Class
AlphaBlender
VDM_Decoder/sgm/modules/diffusionmodules/util.py:228
↓ 1 callers
Class
AnimeGamer
app.py:113
↓ 1 callers
Class
Attention
MLLM/src/models/vit.py:47
↓ 1 callers
Class
AttentionPool2d
Adapted from CLIP: https://github.com/openai/CLIP/blob/main/clip/model.py
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:36
↓ 1 callers
Class
AttnBlock
VDM_Decoder/sgm/modules/diffusionmodules/model.py:144
↓ 1 callers
Class
AttnBlock2D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_enc_3d.py:245
↓ 1 callers
Class
BaseTransformer
VDM_Decoder/sgm/models/sat_ours/transformer.py:441
↓ 1 callers
Class
BaseTransformerLayer
VDM_Decoder/sgm/models/sat_ours/transformer.py:319
↓ 1 callers
Class
BasicTransformerBlock
VDM_Decoder/sgm/modules/attention.py:603
↓ 1 callers
Class
Block
MLLM/src/models/vit.py:123
↓ 1 callers
Class
Conv3DMod
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:628
↓ 1 callers
Class
CrossAttention
Parallel cross-attention layer for Transformer
VDM_Decoder/sgm/models/sat_ours/transformer.py:125
↓ 1 callers
Class
DiagonalGaussianDistribution
VDM_Decoder/sgm/modules/distributions/distributions.py:24
↓ 1 callers
Class
DiagonalGaussianDistribution
VDM_Decoder/vae_modules/regularizers.py:10
↓ 1 callers
Class
Discriminator
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:549
↓ 1 callers
Class
Discriminator
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:150
↓ 1 callers
Class
DiscriminatorBlock
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:512
↓ 1 callers
Class
DiscriminatorBlock3D
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:225
↓ 1 callers
Class
DiscriminatorBlock3DWithfirstframe
VDM_Decoder/sgm/modules/autoencoding/losses/video_loss.py:264
↓ 1 callers
Class
Downsample
VDM_Decoder/sgm/modules/autoencoding/vqvae/vqvae_blocks.py:52
↓ 1 callers
Class
EmbeddingEMA
VDM_Decoder/sgm/modules/autoencoding/regularizers/quantize.py:297
↓ 1 callers
Class
FSQ
VDM_Decoder/sgm/modules/autoencoding/regularizers/finite_scalar_quantization.py:50
↓ 1 callers
Class
GEGLU
VDM_Decoder/sgm/modules/attention.py:91
↓ 1 callers
Class
GEGLU
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:446
↓ 1 callers
Class
GroupNorm32
VDM_Decoder/sgm/modules/diffusionmodules/util.py:190
↓ 1 callers
Class
LFQ
VDM_Decoder/sgm/modules/autoencoding/regularizers/lookup_free_quantization.py:62
↓ 1 callers
Class
LinAttnBlock
to match AttnBlock usage
VDM_Decoder/sgm/modules/diffusionmodules/model.py:137
↓ 1 callers
Class
LitEma
VDM_Decoder/sgm/modules/ema.py:5
↓ 1 callers
Class
LoRACompatibleConv
A convolutional layer that can be used with LoRA.
VDM_Decoder/sgm/modules/diffusionmodules/lora.py:83
↓ 1 callers
Class
LoRACompatibleLinear
A Linear layer that can be used with LoRA.
VDM_Decoder/sgm/modules/diffusionmodules/lora.py:153
↓ 1 callers
Class
LoRAConv2dLayer
VDM_Decoder/sgm/modules/diffusionmodules/lora.py:51
↓ 1 callers
Class
LoRALinearLayer
VDM_Decoder/sgm/modules/diffusionmodules/lora.py:22
↓ 1 callers
Class
MLP
VDM_Decoder/sgm/models/sat_ours/transformer.py:206
↓ 1 callers
Class
MemoryEfficientAttnBlock
Uses xformers efficient implementation, see https://github.com/MatthieuTPHR/diffusers/blob/d80b531ff8060ec1ea982b65a1b8df70f73aa67c/src/diffu
VDM_Decoder/sgm/modules/diffusionmodules/model.py:175
↓ 1 callers
Class
MemoryEfficientCrossAttentionWrapper
VDM_Decoder/sgm/modules/diffusionmodules/model.py:224
↓ 1 callers
Class
MistralDecoderLayer
MLLM/src/models/mistral/modeling_mistral.py:685
↓ 1 callers
Class
MistralMLP
MLLM/src/models/mistral/modeling_mistral.py:174
↓ 1 callers
Class
MistralModel
Transformer decoder consisting of *config.num_hidden_layers* layers. Each layer is a [`MistralDecoderLayer`] Args: config: MistralCo
MLLM/src/models/mistral/modeling_mistral.py:855
↓ 1 callers
Class
MistralRotaryEmbedding
MLLM/src/models/mistral/modeling_mistral.py:100
↓ 1 callers
Class
Mlp
MLP as used in Vision Transformer, MLP-Mixer and related networks
MLLM/src/models/vit.py:9
↓ 1 callers
Class
PerceiverAttention
VDM_Decoder/sgm/modules/attention.py:421
↓ 1 callers
Class
QKVAttentionLegacy
A module which performs QKV attention. Matches legacy QKVAttention + input/ouput heads shaping
VDM_Decoder/sgm/modules/diffusionmodules/openaimodel.py:419
↓ 1 callers
Class
ScalingLayer
VDM_Decoder/sgm/modules/autoencoding/lpips/loss/lpips.py:58
↓ 1 callers
Class
SelfAttention
VDM_Decoder/sgm/models/sat_ours/transformer.py:34
↓ 1 callers
Class
SpatialDownsample2x
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:694
↓ 1 callers
Class
SpatialNorm
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_modules.py:34
↓ 1 callers
Class
SpatialNorm3D
VDM_Decoder/sgm/modules/autoencoding/vqvae/movq_dec_3d.py:48
↓ 1 callers
Class
SpatialNorm3D
VDM_Decoder/vae_modules/cp_enc_dec.py:451
↓ 1 callers
Class
SpatialUpsample2x
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:739
↓ 1 callers
Class
SqueezeExcite
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:215
↓ 1 callers
Class
SwiGLUMixin
VDM_Decoder/dit_video_concat.py:480
↓ 1 callers
Class
TimeDownsample2x
VDM_Decoder/sgm/modules/autoencoding/magvit2_pytorch.py:714
next →
1–100 of 263, ranked by callers