Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chuanyangjin/fast-DiT
/ types & classes
Types & classes
22 in github.com/chuanyangjin/fast-DiT
⨍
Functions
171
◇
Types & classes
22
↓ 12 callers
Class
DiT
Diffusion model with a Transformer backbone.
models.py:145
↓ 12 callers
Class
DiT
Diffusion model with a Transformer backbone.
train_options/models_original.py:145
↓ 1 callers
Class
CustomDataset
train.py:97
↓ 1 callers
Class
CustomDataset
train_options/train_features.py:106
↓ 1 callers
Class
DiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
models.py:101
↓ 1 callers
Class
DiTBlock
A DiT block with adaptive layer norm zero (adaLN-Zero) conditioning.
train_options/models_original.py:101
↓ 1 callers
Class
FinalLayer
The final layer of DiT.
models.py:125
↓ 1 callers
Class
FinalLayer
The final layer of DiT.
train_options/models_original.py:125
↓ 1 callers
Class
GaussianDiffusion
Utilities for training and sampling diffusion models. Original ported from this codebase: https://github.com/hojonathanho/diffusion/blob/
diffusion/gaussian_diffusion.py:144
↓ 1 callers
Class
LabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
models.py:67
↓ 1 callers
Class
LabelEmbedder
Embeds class labels into vector representations. Also handles label dropout for classifier-free guidance.
train_options/models_original.py:67
↓ 1 callers
Class
LossSecondMomentResampler
diffusion/timestep_sampler.py:120
↓ 1 callers
Class
SpacedDiffusion
A diffusion process which can skip steps in a base diffusion process. :param use_timesteps: a collection (sequence or set) of timesteps from
diffusion/respace.py:65
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
models.py:27
↓ 1 callers
Class
TimestepEmbedder
Embeds scalar timesteps into vector representations.
train_options/models_original.py:27
↓ 1 callers
Class
UniformSampler
diffusion/timestep_sampler.py:62
↓ 1 callers
Class
_WrappedModel
diffusion/respace.py:117
Class
LossAwareSampler
diffusion/timestep_sampler.py:71
Class
LossType
diffusion/gaussian_diffusion.py:46
Class
ModelMeanType
Which type of output the model predicts.
diffusion/gaussian_diffusion.py:23
Class
ModelVarType
What is used as the model's output variance. The LEARNED_RANGE option has been added to allow the model to predict values between FIXED_S
diffusion/gaussian_diffusion.py:33
Class
ScheduleSampler
A distribution over timesteps in the diffusion process, intended to reduce variance of the objective. By default, samplers perform unbias
diffusion/timestep_sampler.py:27