ComfyUI > Nodes > HiDream_O1-ComfyUI > HiDream O1 Model Loader

ComfyUI Node: HiDream O1 Model Loader

Class Name

HiDreamO1ModelLoader

Category
HiDream O1
Author
Saganaki22 (Account age: 1823days)
Extension
HiDream_O1-ComfyUI
Latest Updated
2026-05-12
Github Stars
0.03K

How to Install HiDream_O1-ComfyUI

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

HiDream O1 Model Loader Description

Specialized node for loading and managing HiDream O1 models in ComfyUI, streamlining model access and utilization for AI artists and developers.

HiDream O1 Model Loader:

The HiDreamO1ModelLoader is a specialized node designed to facilitate the loading and management of HiDream O1 models within the ComfyUI framework. Its primary purpose is to streamline the process of accessing and utilizing these models by handling the complexities of model selection, precision settings, and attention mechanisms. This node is particularly beneficial for AI artists and developers who wish to leverage the HiDream O1 models' capabilities without delving into the technical intricacies of model management. By automating the model loading process, the HiDreamO1ModelLoader ensures that users can focus on creative tasks, such as generating high-quality images, while the node takes care of ensuring the correct model configurations are applied. It also provides options for downloading missing models, making it a versatile tool for both local and cloud-based workflows.

HiDream O1 Model Loader Input Parameters:

model_name

This parameter specifies the name of the HiDream O1 model you wish to load. It is crucial as it determines which model variant will be used for your tasks. The available options are based on canonical model names, which include various precision and variant combinations. Selecting the correct model name ensures that the desired model is loaded, impacting the quality and style of the generated outputs.

precision

The precision parameter dictates the numerical precision used when loading the model weights. Options include "auto," "bf16," "fp16," "fp32," "fp8_e4m3fn," and "fp8_e5m2." The default "auto" setting automatically detects the appropriate precision based on the safetensors dtype. Choosing the right precision can affect the model's performance and compatibility with your hardware, especially on GPUs with specific capabilities.

attention

This parameter defines the attention mechanism backend to be used. Options are "auto," "flash," "sdpa," and "sage." The default "auto" setting uses FlashAttention if available, otherwise defaults to SDPA. The choice of attention backend can influence the efficiency and speed of model inference, with some backends offering optimized performance on certain hardware configurations.

download_if_missing

A boolean parameter that determines whether the node should automatically download the selected model if it is not found locally. The default value is false. Enabling this option ensures that the required model is available for use without manual intervention, which is particularly useful for users who may not have all models pre-installed.

unique_id

This hidden parameter is used internally to manage cached model instances. It helps in identifying and reusing previously loaded models, thereby optimizing resource usage and reducing load times. While not directly configurable by users, it plays a crucial role in the node's efficient operation.

HiDream O1 Model Loader Output Parameters:

model

The output parameter "model" represents the loaded HiDream O1 model handle. This handle is essential for subsequent operations, as it encapsulates the model's state and configuration, allowing for seamless integration with other nodes and processes within the ComfyUI framework. The model handle ensures that the loaded model is ready for inference tasks, such as image generation, with the specified settings.

HiDream O1 Model Loader Usage Tips:

  • Ensure that the model_name parameter is set to a valid and available model to avoid unnecessary downloads and ensure optimal performance.
  • Use the precision parameter wisely based on your hardware capabilities to balance between performance and computational efficiency.
  • Enable download_if_missing if you frequently work with different models and want to automate the process of ensuring all necessary models are available.

HiDream O1 Model Loader Common Errors and Solutions:

FileNotFoundError: <model_name> is not installed. Enable download_if_missing to download it, or place the complete model folder in ComfyUI/models/diffusion_models.

  • Explanation: This error occurs when the specified model is not found locally, and the download_if_missing option is disabled.
  • Solution: Either enable the download_if_missing option to allow the node to automatically download the missing model, or manually place the model folder in the specified directory.

HiDream O1 previous model cleanup hit an error: <error_message>

  • Explanation: This warning indicates that an error occurred while attempting to unload a previously cached model.
  • Solution: Check the error message for specific details and ensure that the model resources are not being used elsewhere. Restarting the application may also help resolve resource conflicts.

HiDream O1 Model Loader Related Nodes

Go back to the extension to check out more related nodes.
HiDream_O1-ComfyUI
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.

HiDream O1 Model Loader