ComfyUI > Nodes > ComfyUI-DSD > DSD Model Selector

ComfyUI Node: DSD Model Selector

Class Name

DSDModelSelector

Category
DSD
Author
irreveloper (Account age: 4039days)
Extension
ComfyUI-DSD
Latest Updated
2025-03-15
Github Stars
0.04K

How to Install ComfyUI-DSD

Install this extension via the ComfyUI Manager by searching for ComfyUI-DSD
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-DSD 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

DSD Model Selector Description

Facilitates selection of DSD models, streamlines model access for AI art generation, automates model path retrieval, enhances workflow efficiency.

DSD Model Selector:

The DSDModelSelector is a specialized node designed to facilitate the selection of Diffusion Self-Distillation (DSD) models from a designated models directory. Its primary function is to streamline the process of identifying and accessing the necessary model files required for AI art generation tasks. By automating the model selection process, this node helps ensure that the correct model paths are retrieved, reducing the potential for errors and enhancing workflow efficiency. The DSDModelSelector is particularly beneficial for users who need to verify the existence of model files before proceeding with further operations, as it provides a straightforward mechanism to check for the presence of essential model components. This node is an integral part of the DSD suite, offering a user-friendly interface to manage model resources effectively.

DSD Model Selector Input Parameters:

check_model_exists

The check_model_exists parameter is a boolean input that determines whether the node should verify the existence of the specified model files in the directory. When set to True, the node will check if the model and LoRA files are present at their respective paths. This check helps prevent errors that may occur if the files are missing, allowing you to take corrective action, such as downloading the necessary files using the DSDModelDownloader. The default value for this parameter is True, ensuring that the existence check is performed unless explicitly disabled.

DSD Model Selector Output Parameters:

model_path

The model_path output provides the file path to the main DSD model, specifically the transformer model file named diffusion_pytorch_model.safetensors. This path is crucial for loading the model into your AI art generation pipeline, as it specifies the location of the core model file required for processing.

lora_path

The lora_path output gives the file path to the LoRA (Low-Rank Adaptation) weights file, named pytorch_lora_weights.safetensors. This file path is essential for incorporating LoRA weights into the model, which can enhance the model's performance by adapting it to specific tasks or datasets.

DSD Model Selector Usage Tips:

  • Always set check_model_exists to True to ensure that the necessary model files are present before proceeding with further operations. This can save time and prevent errors during model loading.
  • Use the DSDModelDownloader in conjunction with this node if the model files are not found, as it can automatically download and prepare the required files for you.

DSD Model Selector Common Errors and Solutions:

Warning: Model file not found at <model_path>

  • Explanation: This warning indicates that the specified model file does not exist at the given path, which may prevent the model from being loaded correctly.
  • Solution: Use the DSDModelDownloader to download the missing model file, ensuring that it is placed in the correct directory.

Warning: LoRA file not found at <lora_path>

  • Explanation: This warning suggests that the LoRA weights file is missing from the specified path, which could affect the model's performance if LoRA adaptation is required.
  • Solution: Download the LoRA weights file using the DSDModelDownloader and verify that it is located in the appropriate directory.

DSD Model Selector Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-DSD
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 Playground, enabling artists to harness the latest AI tools to create incredible art.