Diffusion & generation

Timestep embedding

Tells the network how noisy the input currently is, so one network can handle every denoising stage.

First page of Denoising Diffusion Probabilistic ModelsPopularized inJun 2020Denoising Diffusion Probabilistic ModelsHo et al. · arXiv 2006.11239 ↗
Timestep embedding: telling the net how noisyt samples a stack of sinusoids · the pattern becomes a conditioning vectortinjected into every block

The same network weights must denoise both nearly-pure noise and nearly-finished images. The current timestep is therefore encoded (usually sinusoidally, then through a small MLP) and injected into every block, letting the network condition its behavior on how far along the denoising process is.

Adoption over time

Share of new models that have included timestep embeddings over time.

6%202220232024202520266%20222023202420252026

See it in real models

Open any of these on hfviewer to find this block in the interactive architecture graph.

Comfy-Org/MiniMax-H3 architecture graphComfy-Org/MiniMax-H3↓ 11.8M · ♡ 1kOpen in visualizer ResembleAI/chatterbox architecture graphResembleAI/chatterboxtext-to-speech · ↓ 2.1M · ♡ 2kOpen in visualizer MiniMaxAI/MiniMax-H3 architecture graphMiniMaxAI/MiniMax-H3image-text-to-video · ↓ 2.0M · ♡ 4kOpen in visualizer google/diffusiongemma-26B-A4B-it architecture graphgoogle/diffusiongemma-26B-A4B-itimage-text-to-text · ↓ 2.0M · ♡ 1kOpen in visualizer nvidia/diffusiongemma-26B-A4B-it-NVFP4 architecture graphnvidia/diffusiongemma-26B-A4B-it-NVFP4text-generation · ↓ 1.2M · ♡ 117Open in visualizer Tongyi-MAI/Z-Image-Turbo architecture graphTongyi-MAI/Z-Image-Turbotext-to-image · ↓ 934k · ♡ 5kOpen in visualizer microsoft/VibeVoice-ASR architecture graphmicrosoft/VibeVoice-ASRautomatic-speech-recognition · ↓ 682k · ♡ 1kOpen in visualizer microsoft/VibeVoice-Realtime-0.5B architecture graphmicrosoft/VibeVoice-Realtime-0.5Btext-to-speech · ↓ 660k · ♡ 1kOpen in visualizer openbmb/VoxCPM2 architecture graphopenbmb/VoxCPM2text-to-speech · ↓ 540k · ♡ 2kOpen in visualizer h94/IP-Adapter-FaceID architecture graphh94/IP-Adapter-FaceIDtext-to-image · ↓ 212k · ♡ 2kOpen in visualizer microsoft/VibeVoice-1.5B architecture graphmicrosoft/VibeVoice-1.5Btext-to-speech · ↓ 108k · ♡ 2kOpen in visualizer xinsir/controlnet-union-sdxl-1.0 architecture graphxinsir/controlnet-union-sdxl-1.0text-to-image · ↓ 107k · ♡ 2kOpen in visualizer

Browse all 126 models with this in the catalog →

Related concepts

hfviewer renders the full architecture of 3,500+ Hugging Face models as interactive graphs. Hover any block to see what it does, with this model’s real numbers.

Browse all model graphs →