ComfyUI > Nodes > ComfyUI-LoaderUtils > Load Checkpoint With Config (Any)

ComfyUI Node: Load Checkpoint With Config (Any)

Class Name

CheckpointLoader_Any

Category
advanced/loaders
Author
lrzjason (Account age: 4298days)
Extension
ComfyUI-LoaderUtils
Latest Updated
2026-03-20
Github Stars
0.08K

How to Install ComfyUI-LoaderUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LoaderUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LoaderUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load Checkpoint With Config (Any) Description

Loads diffusion model checkpoints with configurable settings for advanced AI art generation.

Load Checkpoint With Config (Any):

The CheckpointLoader_Any node is designed to facilitate the loading of diffusion model checkpoints, which are essential for denoising latents in AI art generation. This node allows you to specify both a configuration file and a checkpoint file, providing flexibility in model loading. It is particularly useful for advanced users who need to load models with specific configurations, enabling the integration of various components such as the model itself, the CLIP model for text encoding, and the VAE model for image encoding and decoding. Despite its deprecated status, it remains a powerful tool for those who require precise control over model loading processes.

Load Checkpoint With Config (Any) Input Parameters:

config_name

The config_name parameter specifies the name of the configuration file to be used when loading the checkpoint. This file contains settings and parameters that define how the model should be initialized and operated. Selecting the correct configuration is crucial as it directly impacts the model's performance and behavior. The available options for this parameter are derived from the list of configuration files present in the designated configs directory.

ckpt_name

The ckpt_name parameter refers to the name of the checkpoint file that contains the pre-trained model weights. This file is essential for restoring the model to a specific state, allowing it to perform tasks such as image generation or transformation. The checkpoint file must be selected from the available files in the checkpoints directory, ensuring compatibility with the chosen configuration.

any

The any parameter is optional and can accept any additional data or settings that might be required for specific use cases. This flexibility allows for the inclusion of custom parameters or experimental features that are not covered by the standard configuration and checkpoint files.

Load Checkpoint With Config (Any) Output Parameters:

MODEL

The MODEL output represents the loaded diffusion model, which is responsible for the core task of denoising latents. This model is crucial for generating high-quality images from latent representations, making it a central component of the AI art generation process.

CLIP

The CLIP output provides the loaded CLIP model, which is used for encoding text prompts into a format that can be understood by the diffusion model. This enables the generation of images based on textual descriptions, enhancing the creative possibilities for AI artists.

VAE

The VAE output delivers the loaded Variational Autoencoder model, which is used for encoding images into latent space and decoding them back into image space. This component is vital for ensuring that the generated images maintain high fidelity and coherence with the input data.

Load Checkpoint With Config (Any) Usage Tips:

  • Ensure that the config_name and ckpt_name parameters are correctly matched to avoid compatibility issues between the configuration and checkpoint files.
  • Utilize the any parameter to experiment with custom settings or to integrate additional features that may enhance the model's performance for specific tasks.

Load Checkpoint With Config (Any) Common Errors and Solutions:

FileNotFoundError: Config file not found

  • Explanation: This error occurs when the specified configuration file cannot be located in the configs directory.
  • Solution: Verify that the config_name parameter is correct and that the file exists in the specified directory.

FileNotFoundError: Checkpoint file not found

  • Explanation: This error indicates that the specified checkpoint file is missing from the checkpoints directory.
  • Solution: Check the ckpt_name parameter for accuracy and ensure the file is present in the correct directory.

ValueError: Incompatible configuration and checkpoint

  • Explanation: This error arises when the selected configuration and checkpoint files are not compatible with each other.
  • Solution: Ensure that the configuration file is appropriate for the chosen checkpoint, possibly by consulting documentation or support resources for guidance.

Load Checkpoint With Config (Any) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LoaderUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Load Checkpoint With Config (Any)