Checkpoint – explained simply
A checkpoint is a saved version of a model; in image AI, this usually means the complete model file.
Also: Checkpoints, ckpt, Model checkpoint
Originally, checkpoint refers to an intermediate state during training, similar to a save point in a game. The Open Source AI Definition names such intermediate checkpoints, for example, as part of the model parameters.
In image generation, the term has become standard for the complete model file, as opposed to small add-on files like LoRAs. In ComfyUI, such files belong in the models/checkpoints folder. Some checkpoints contain everything in one file (diffusion model, text encoder, and VAE), while in newer models the parts are often stored separately.
Old checkpoints use the .ckpt extension and are based on Pickle, which can execute code when loading. Today, .safetensors is standard.
What does that mean for you? Prefer loading checkpoints as .safetensors and check whether the text encoder and VAE are already included or need to be loaded separately.
Related terms
Errors where that matters
- A1111/Forge: A tensor with NaNs was produced (black image)
- clip missing: ['text_projection.weight'] (usually a harmless warning)
- ControlNet: Error(s) in loading state_dict … size mismatch (ControlNet does not match the base model)
- Error while deserializing header (corrupted model file)
- ERROR: clip input is invalid: None (Checkpoint contains no text encoder)
- ERROR: Could not detect model type of: … (Model is in the wrong folder or the wrong loader)
- expected input … to have 4 channels, but got 16 channels instead (latent or VAE does not match the model)
- Forge: You do not have CLIP / T5 / Qwen3 state dict!
- Hugging Face download stops or hangs (.incomplete)
- Hugging Face: Cannot access gated repo (401)
- IPAdapter model not found / ClipVision model not found (IPAdapter files are missing or named incorrectly)
- lora key not loaded (LoRA does not match the model or the loader)
- mat1 and mat2 shapes cannot be multiplied (models don’t match)
- No checkpoints found (No model found in the model folder)
- Prompt outputs failed validation / Value not in list (Model missing)
- Prompt outputs failed validation: Required input is missing (Required input not connected)
- SafetensorError: incomplete metadata / MetadataIncompleteBuffer
- Stable diffusion model failed to load (model can’t be loaded — the real cause is above)
- SwarmUI: All available backends failed to load the model (the real error is in the log)