MCPcopy Index your code

hub / github.com/NVlabs/Sana / types & classes

Types & classes463 in github.com/NVlabs/Sana

↓ 24 callersClass_PhaseCfg
diffusion/model/ops/fused_gdn_chunkwise.py:85
↓ 22 callersClassConvLayer
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:64
↓ 11 callersClassCausalConv3d
Causal 3d convolusion.
diffusion/model/wan2_2/vae.py:20
↓ 11 callersClassCausalConv3d
Causal 3d convolusion.
diffusion/model/wan/vae.py:22
↓ 11 callersClassFlowEuler
diffusion/scheduler/flow_euler_sampler.py:29
↓ 11 callersClassRMSNorm
diffusion/model/norms.py:182
↓ 9 callersClassDistributedRangedSampler
A sampler that samples in chunks and then shuffles the samples within each chunk. This preserves locality of reference while still shuffling the
diffusion/data/wids/wids.py:969
↓ 9 callersClassGLUMBConv
diffusion/model/nets/basic_modules.py:109
↓ 9 callersClassLTX2VideoCausalConv3d
Causal 3D convolution for video processing. Like LTXCausalConv3d, but whether causal inference is performed can be specified at runtime via t
diffusion/model/ltx2/causal_vae.py:250
↓ 9 callersClassMlp
MLP as used in Vision Transformer, MLP-Mixer and related networks
diffusion/model/nets/basic_modules.py:532
↓ 8 callersClassConvLayer3d
diffusion/model/dc_ae/efficientvit/models/nn/ops_3d.py:73
↓ 8 callersClassFlashAttention
Multi-head Flash Attention block with qk norm.
diffusion/model/nets/sana_blocks.py:768
↓ 8 callersClassResidualBlock
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:922
↓ 8 callersClassSanaMS
Diffusion model with a Transformer backbone.
diffusion/model/nets/sana_multi_scale.py:164
↓ 8 callersClassSanaMSVideo
Diffusion model with a Transformer backbone.
diffusion/model/nets/sana_multi_scale_video.py:340
↓ 8 callersClass_ChunkwiseCfg
diffusion/model/ops/fused_gdn_chunkwise.py:93
↓ 7 callersClassCaptionEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
diffusion/model/nets/sana_blocks.py:1083
↓ 7 callersClassMultiHeadCrossAttention
diffusion/model/nets/sana_blocks.py:48
↓ 7 callersClassT2IFinalLayer
The final layer of Sana.
diffusion/model/nets/sana_blocks.py:893
↓ 7 callersClassT5LayerNorm
diffusion/model/wan/t5.py:50
↓ 6 callersClassAverageMeter
Computes and stores the average and current value.
diffusion/model/dc_ae/efficientvit/apps/utils/metric.py:26
↓ 6 callersClassConvLayer
diffusion/model/nets/basic_modules.py:30
↓ 6 callersClassConvLayer
diffusion/model/nets/fastlinear/modules/nn/conv.py:25
↓ 6 callersClassIdentityLayer
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:365
↓ 6 callersClassLiteLA
r"""Lightweight linear attention
diffusion/model/nets/sana_blocks.py:211
↓ 6 callersClassResidualBlock
diffusion/model/wan2_2/vae.py:178
↓ 6 callersClassResidualBlock
diffusion/model/wan/vae.py:165
↓ 6 callersClassRopePosEmbed
diffusion/model/nets/sana_blocks.py:1307
↓ 6 callersClassSCMScheduler
`SCMScheduler` extends the denoising procedure introduced in denoising diffusion probabilistic models (DDPMs) with non-Markovian guidance.
diffusion/scheduler/scm_scheduler.py:47
↓ 6 callersClassTritonLiteMLA
diffusion/model/nets/fastlinear/modules/triton_lite_mla.py:104
↓ 5 callersClassAttention
diffusion/model/nets/sana_blocks.py:854
↓ 5 callersClassDWMlp
MLP as used in Vision Transformer, MLP-Mixer and related networks
diffusion/model/nets/basic_modules.py:474
↓ 5 callersClassDoubleConvBlock
tools/controlnet/annotator/hed/__init__.py:18
↓ 5 callersClassLayerNorm
diffusion/model/wan/clip.py:52
↓ 5 callersClassRMS_norm
diffusion/model/wan2_2/vae.py:48
↓ 5 callersClassRMS_norm
diffusion/model/wan/vae.py:43
↓ 5 callersClassSASolverSampler
diffusion/scheduler/sa_sampler.py:26
↓ 5 callersClassSanaMSAdaLN
Diffusion model with a Transformer backbone.
diffusion/model/nets/sana_multi_scale_adaln.py:146
↓ 5 callersClassSanaU
Diffusion model with a Transformer backbone.
diffusion/model/nets/sana_U_shape.py:158
↓ 5 callersClassSanaUMS
Diffusion model with a Transformer backbone.
diffusion/model/nets/sana_U_shape_multi_scale.py:152
↓ 4 callersClassAspectRatioBatchSampler
A sampler wrapper for grouping images with similar aspect ratio into a same batch. Args: sampler (Sampler): Base sampler. dataset
diffusion/utils/data_sampler.py:14
↓ 4 callersClassAttentionBlock
Causal self-attention with a single head.
diffusion/model/wan/vae.py:202
↓ 4 callersClassDebugUnderflowOverflow
This debug class helps detect and understand where the model starts getting very large or very small, and more importantly `nan` or `inf` wei
diffusion/utils/misc.py:165
↓ 4 callersClassFIDInceptionC
InceptionC block patched for FID computation
tools/metrics/pytorch-fid/src/pytorch_fid/inception.py:243
↓ 4 callersClassFP32NormProxy
diffusion/model/nets/sana_multi_scale_video_camctrl.py:94
↓ 4 callersClassInceptionV3
Pretrained InceptionV3 network returning feature maps
tools/metrics/pytorch-fid/src/pytorch_fid/inception.py:16
↓ 4 callersClassLTX2VideoResnetBlock3d
A 3D ResNet block used in the LTX 2.0 audiovisual model. Args: in_channels: Number of input channels. out_channels: Number of out
diffusion/model/ltx2/causal_vae.py:431
↓ 4 callersClassLogBuffer
diffusion/utils/logger.py:161
↓ 4 callersClassLoraConfig
Configuration for LoRA (Low-Rank Adaptation) fine-tuning
diffusion/utils/config_wan.py:84
↓ 4 callersClassModelGrowthInitializer
Model growth initializer
diffusion/model/model_growth_utils.py:36
↓ 4 callersClassOpSequential
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:992
↓ 4 callersClassPAGCFGIdentitySelfAttnProcessorLiteLA
r"""Self Attention with Perturbed Attention & CFG Guidance
diffusion/model/nets/sana_blocks.py:575
↓ 4 callersClassPAGIdentitySelfAttnProcessorLiteLA
r"""Self Attention with Perturbed Attention Guidance
diffusion/model/nets/sana_blocks.py:627
↓ 4 callersClassPatchEmbedMS3D
3D Image to Patch Embedding
diffusion/model/nets/sana_blocks.py:1271
↓ 4 callersClassPerChannelRMSNorm
Per-pixel (per-location) RMS normalization layer. For each element along the chosen dimension, this layer normalizes the tensor by the root-mean-
diffusion/model/ltx2/causal_vae.py:219
↓ 4 callersClassPerPromptStatTracker
diffusion/post_training/stat_tracking.py:5
↓ 4 callersClassResidualBlock3d
diffusion/model/dc_ae/efficientvit/models/nn/ops_3d.py:522
↓ 4 callersClassSanaModelWrapper
diffusion/longsana/utils/model_wrapper.py:16
↓ 4 callersClassSanaPipeline
app/sana_pipeline.py:80
↓ 4 callersClassSelfAttnProcessorLiteLA
r"""Self Attention with Lite Linear Attention
diffusion/model/nets/sana_blocks.py:678
↓ 4 callersClassT5RelativeEmbedding
diffusion/model/wan/t5.py:187
↓ 4 callersClassWanLayerNorm
diffusion/model/wan/model.py:184
↓ 3 callersClassAspectRatioBatchSamplerVideo
A sampler wrapper for grouping images with similar aspect ratio into a same batch. Args: sampler (Sampler): Base sampler. dataset
diffusion/utils/data_sampler.py:164
↓ 3 callersClassBlockHook
diffusion/model/wan/model.py:40
↓ 3 callersClassDeltaActionEmbedder
diffusion/model/nets/sana_multi_scale_video_camctrl.py:76
↓ 3 callersClassDistributedTimeLogger
train_scripts/sol_rl/train_utils.py:89
↓ 3 callersClassEMAModuleWrapper
diffusion/post_training/ema.py:6
↓ 3 callersClassEMA_FSDP
diffusion/longsana/utils/distributed.py:100
↓ 3 callersClassFIDInceptionA
InceptionA block patched for FID computation
tools/metrics/pytorch-fid/src/pytorch_fid/inception.py:218
↓ 3 callersClassGLUMBConvTemp
diffusion/model/nets/basic_modules.py:200
↓ 3 callersClassGenerationParams
Per-call generation knobs.
inference_video_scripts/wm/inference_sana_wm.py:491
↓ 3 callersClassHuggingfaceTokenizer
diffusion/model/wan/tokenizers.py:38
↓ 3 callersClassLTXFlowEuler
diffusion/scheduler/flow_euler_sampler.py:86
↓ 3 callersClassLTXVideoDownsampler3d
3D downsampling layer for spatiotemporal reduction. Uses pixel unshuffle pattern for downsampling with causal temporal handling.
diffusion/model/ltx2/causal_vae.py:556
↓ 3 callersClassMBConvPreGLU
diffusion/model/nets/basic_modules.py:386
↓ 3 callersClassOpSequential3d
diffusion/model/dc_ae/efficientvit/models/nn/ops_3d.py:559
↓ 3 callersClassPatchEmbedMS
2D Image to Patch Embedding
diffusion/model/nets/sana_blocks.py:1235
↓ 3 callersClassResizeCrop
diffusion/data/transforms.py:179
↓ 3 callersClassSTConv
diffusion/model/wan/model.py:364
↓ 3 callersClassSanaMSCM
diffusion/model/nets/sana_multi_scale.py:456
↓ 3 callersClassSanaSprintPipeline
app/sana_sprint_pipeline.py:70
↓ 3 callersClassSanaTextEncoder
diffusion/longsana/utils/model_wrapper.py:167
↓ 3 callersClassSpectralConv1d
diffusion/model/nets/ladd_blocks.py:34
↓ 3 callersClassT5Attention
diffusion/model/wan/t5.py:64
↓ 3 callersClassTextDataset
diffusion/longsana/utils/dataset.py:15
↓ 3 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
diffusion/model/nets/sana_blocks.py:967
↓ 3 callersClassToTensorVideo
Convert tensor data type from uint8 to float, divide value by 255.0 and permute the dimensions of clip tensor
diffusion/data/transforms.py:109
↓ 3 callersClassWanRMSNorm
diffusion/model/wan/model.py:166
↓ 2 callersClassAttentionBlock
Causal self-attention with a single head.
diffusion/model/wan2_2/vae.py:219
↓ 2 callersClassCausalWanRotaryPosEmbed
diffusion/model/nets/sana_blocks.py:1413
↓ 2 callersClassChannelDuplicatingPixelUnshuffleUpSampleLayer
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:294
↓ 2 callersClassClipVisionProjection
diffusion/model/nets/sana_blocks.py:1178
↓ 2 callersClassConvPixelShuffleUpSampleLayer3d
diffusion/model/dc_ae/efficientvit/models/nn/ops_3d.py:449
↓ 2 callersClassConvPixelUnshuffleDownSampleLayer3d
diffusion/model/dc_ae/efficientvit/models/nn/ops_3d.py:375
↓ 2 callersClassDecoderCacheState
State container for decoder streaming cache. Attributes: feat_map: Per-layer feature cache for causal convolution is_first_chunk:
diffusion/model/ltx2/causal_vae.py:67
↓ 2 callersClassDiscHeadModel
diffusion/model/nets/sana_ladd.py:83
↓ 2 callersClassEfficientViTBlock
diffusion/model/dc_ae/efficientvit/models/nn/ops.py:852
↓ 2 callersClassFP32LayerNorm
diffusion/model/nets/sana_multi_scale_video_camctrl.py:89
↓ 2 callersClassForwardWithSTG
diffusion/model/dpm_solver.py:661
↓ 2 callersClassGLUMBConvLinear
GLUMBConv with 1x1 Conv replaced by Linear layers. Original GLUMBConv structure: - inverted_conv: Conv2d(in_features, hidden_features*2,
diffusion/model/nets/basic_modules_linear.py:133
next →1–100 of 463, ranked by callers