Sampler
Latents at time t
×state · kept between calls
The latents the sampler carries from call to call. Before the first call they are Gaussian noise.
- shape
- z_t [B batch, T positions, 768 d]
It is replaced whole at every call; its size does not depend on the number of calls.
Sources
Contextual evidence from Gaussian prior
The prior is a standard Gaussian.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Gaussian prior
Sampling starts from the prior with a zero self-conditioning estimate, uses the averaged denoiser, takes the adaptive grid when it is requested and the sampler has been updated and a uniform grid otherwise, steps N times carrying the state and the clean estimate, and returns the last step’s mean.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Denoiser
The denoiser owns the time embedding’s two affine layers, one rotary table for all blocks, an affine projection of the concatenated input, and the stack.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Denoiser
The time embedding passes its MLP and a SiLU; the noised latents are concatenated with the previous clean estimate, zeros when there is none, and projected; the stack runs in bfloat16.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Denoiser
The denoiser’s stack applies the blocks in order and then the output layer, each with the time condition.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Denoiser
Diffusion: self-conditioning on, `t_min` 0.05 and `eps` 10⁻⁵; the adaptive time sampler has 100 bins, a minimum weight of 0.0001, an EMA of 0.9 and updates every 5,000 steps; the denoiser’s EMA decay is 0.9999; scheduler `tanh` with d = 3, solver `euler`, `ode_sampling` false, N = 128 by default; the denoiser has 12 blocks of width 768 with 12 heads, time conditioning `adaln`, a standard MLP, softcap 50 and self-conditioning by concatenation; the timestep embedding’s `max_period` is 10.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Noise estimate
The denoiser’s clean prediction is converted into the noise estimate and the score with the marginal’s mean and standard deviation.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Noise estimate
The tangent schedule: α = 1/√(1 + d² tan²(πt/2)), σ = √(1 − α²); β(t) is evaluated with t clipped at 0.95.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Reverse drift
The reverse SDE: drift −β x/2 − β · score and diffusion √β; the ODE halves the score term and has no diffusion.
The implementation, pinned at revision e18c42acdfb7, not yet public
Contextual evidence from Euler step
One Euler–Maruyama step: the mean is x + drift · dt, and the next state adds diffusion · √(−dt) · noise; the clean estimate is returned with them.
The implementation, pinned at revision e18c42acdfb7, not yet public