Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-HyMotion > HY-Motion DiT Loader

ComfyUI Node: HY-Motion DiT Loader

Class Name

HYMotionDiTLoader

Category
HY-Motion/modular
Author
Aero-Ex (Account age: 1460days)
Extension
ComfyUI-HyMotion
Latest Updated
2026-05-27
Github Stars
0.03K

How to Install ComfyUI-HyMotion

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

HY-Motion DiT Loader Description

Facilitates loading DiT model in HY-Motion, configures for CPU/GPU, integrates seamlessly for motion data processing.

HY-Motion DiT Loader:

The HYMotionDiTLoader node is designed to facilitate the loading of a Diffusion Transformer (DiT) model within the HY-Motion framework. This node plays a crucial role in preparing the model for execution by ensuring it is correctly configured and moved to the appropriate computational device, whether it's a CPU or a GPU. The primary benefit of using this node is its ability to seamlessly integrate the DiT model into your workflow, allowing for efficient processing of motion data. By handling the complexities of model loading and device allocation, the HYMotionDiTLoader simplifies the setup process, enabling you to focus on generating and manipulating motion data without worrying about the underlying technical details.

HY-Motion DiT Loader Input Parameters:

network

The network parameter represents the neural network model that you wish to load and execute. It is crucial for defining the architecture and weights of the Diffusion Transformer. This parameter does not have a specific range of values, as it depends on the model you are working with. The network is moved to the target device for execution, ensuring optimal performance.

config

The config parameter contains the configuration settings for the model. It dictates how the model should be initialized and executed, including hyperparameters and other settings. This parameter is essential for ensuring that the model operates correctly and efficiently.

device

The device parameter specifies the computational device on which the model will be executed. It can be set to either "cpu" or "cuda" (if a GPU is available). This parameter is crucial for optimizing the model's performance by leveraging the appropriate hardware resources.

checkpoint_mean

The checkpoint_mean parameter is used to normalize the input data by providing the mean values from the model's checkpoint. This helps in maintaining consistency in the data processing pipeline. If not provided, it defaults to None.

checkpoint_std

Similar to checkpoint_mean, the checkpoint_std parameter provides the standard deviation values from the model's checkpoint for data normalization. It ensures that the input data is scaled appropriately, contributing to the model's stability and accuracy. If not provided, it defaults to None.

null_vtxt_feat

The null_vtxt_feat parameter represents a feature vector used for handling null or missing vertex data in the model. It is crucial for ensuring that the model can process incomplete data without errors. This parameter is moved to the target device for execution.

null_ctxt_input

The null_ctxt_input parameter is used to handle null or missing context input data. It ensures that the model can operate smoothly even when some context information is unavailable. This parameter is also moved to the target device.

special_game_vtxt_feat

The special_game_vtxt_feat parameter is a feature vector specifically designed for processing special game-related vertex data. It enhances the model's ability to handle unique scenarios in motion data. This parameter is moved to the target device for execution.

special_game_ctxt_feat

The special_game_ctxt_feat parameter is used for processing special game-related context data. It ensures that the model can accurately interpret and generate motion data in game-specific contexts. This parameter is moved to the target device.

train_frames

The train_frames parameter specifies the number of frames used during the training of the model. It is important for defining the temporal scope of the model's learning process, impacting its ability to generate motion sequences.

HY-Motion DiT Loader Output Parameters:

dit_wrapper

The dit_wrapper is the primary output of the HYMotionDiTLoader node. It encapsulates the loaded Diffusion Transformer model, configured and ready for execution. This output is crucial for subsequent nodes in the workflow, as it provides the necessary model instance for generating and manipulating motion data. The dit_wrapper ensures that the model is correctly set up and optimized for the target device, facilitating efficient processing and high-quality results.

HY-Motion DiT Loader Usage Tips:

  • Ensure that your computational device is correctly specified in the device parameter to leverage GPU acceleration if available, which can significantly enhance performance.
  • Double-check the config parameter to ensure that all necessary settings and hyperparameters are correctly defined, as this will impact the model's execution and results.
  • Utilize the checkpoint_mean and checkpoint_std parameters for data normalization to maintain consistency and accuracy in your motion data processing.

HY-Motion DiT Loader Common Errors and Solutions:

"Model directory not found"

  • Explanation: This error occurs when the specified model directory does not exist or is incorrectly specified.
  • Solution: Verify the path to the model directory and ensure it is correctly specified in your configuration.

"CUDA device not available"

  • Explanation: This error indicates that the specified CUDA device is not available, possibly due to a lack of GPU support or incorrect device specification.
  • Solution: Check your system's GPU availability and ensure that the device parameter is set to "cpu" if no GPU is present.

"Missing checkpoint mean or std"

  • Explanation: This error arises when the checkpoint_mean or checkpoint_std parameters are not provided, leading to issues with data normalization.
  • Solution: Ensure that these parameters are correctly specified or set to None if not applicable, to avoid normalization errors.

HY-Motion DiT Loader Related Nodes

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