MCPcopy Create free account

hub / github.com/SwayStar123/SpeedrunDiT / types & classes

Types & classes35 in github.com/SwayStar123/SpeedrunDiT

↓ 12 callersClassSiT
Diffusion model with a Transformer backbone + SPRINT sparse-dense residual fusion.
models/sit.py:265
↓ 6 callersClassResnetBlock
models/invae.py:59
↓ 4 callersClassAttnBlock
models/invae.py:119
↓ 3 callersClassFIDStatistics
evaluations/evaluator.py:93
↓ 2 callersClassAutoencoderKL
models/invae.py:452
↓ 2 callersClassImageEntry
preprocessing/dataset_tools.py:31
↓ 1 callersClassAttention
models/sit.py:110
↓ 1 callersClassBatchIterator
evaluations/evaluator.py:481
↓ 1 callersClassCollector
r"""Collects the scalars broadcasted by `report()` and `report0()` and computes their long-term averages (mean and standard deviation) over us
preprocessing/torch_utils/training_stats.py:115
↓ 1 callersClassCustomDataset
dataset.py:16
↓ 1 callersClassDecoder
models/invae.py:279
↓ 1 callersClassDiagonalGaussianDistribution
models/invae.py:403
↓ 1 callersClassDistanceBlock
Calculate pairwise distances between vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f25e5ad93
evaluations/evaluator.py:388
↓ 1 callersClassDownsample
models/invae.py:39
↓ 1 callersClassEncoder
models/invae.py:165
↓ 1 callersClassEvaluator
evaluations/evaluator.py:144
↓ 1 callersClassFinalLayer
The final layer of SiT.
models/sit.py:238
↓ 1 callersClassInvaeEncoder
preprocessing/encoders.py:55
↓ 1 callersClassLabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
models/sit.py:76
↓ 1 callersClassManifoldEstimator
A helper for comparing manifolds of feature vectors. Adapted from https://github.com/kynkaat/improved-precision-and-recall-metric/blob/f60f2
evaluations/evaluator.py:231
↓ 1 callersClassSILoss
loss.py:17
↓ 1 callersClassSiTBlock
A SiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
models/sit.py:187
↓ 1 callersClassStreamingNpzArrayReader
evaluations/evaluator.py:493
↓ 1 callersClassTimestepEmbedder
Embeds scalar timesteps into vector representations.
models/sit.py:35
↓ 1 callersClassUpsample
models/invae.py:23
↓ 1 callersClassVisionRotaryEmbeddingFast
Fast EVA-02 2D RoPE with broadcasting, extended to support: • per-token rope_ids (routing / unsorted subsets) • leading CLS tokens (u
models/pos_embed.py:42
ClassCheckpointIO
preprocessing/torch_utils/distributed.py:84
ClassDecorator
preprocessing/torch_utils/persistence.py:106
ClassEasyDict
Convenience class that behaves like a dict but allows access with the attribute syntax.
preprocessing/dnnlib/util.py:37
ClassEncoder
preprocessing/encoders.py:39
ClassInfiniteSampler
preprocessing/torch_utils/misc.py:122
ClassInvalidFIDException
evaluations/evaluator.py:89
ClassLogger
Redirect stderr to stdout, optionally print stdout to a file, and optionally force flushing on both stdout and the file.
preprocessing/dnnlib/util.py:53
ClassMemoryNpzArrayReader
evaluations/evaluator.py:519
ClassNpzArrayReader
evaluations/evaluator.py:459