Visit ComfyUI Online for ready-to-use ComfyUI environment
Specialized node for AI model training with HunyuanDiT, ideal for text-to-image tasks in ComfyUI, streamlining training process with advanced features.
MZ_HYDiTTrain is a specialized node designed to facilitate the training of AI models using the HunyuanDiT framework. This node is particularly useful for AI artists who want to fine-tune or train models for text-to-image generation tasks. It integrates seamlessly with the ComfyUI environment, ensuring that the necessary tools and dependencies are automatically managed and configured. The primary goal of MZ_HYDiTTrain is to provide a streamlined and efficient training process, allowing you to focus on the creative aspects of model development without worrying about the underlying technical complexities. By leveraging advanced features such as distributed training, automatic model downloading, and comprehensive configuration options, MZ_HYDiTTrain ensures that you can achieve high-quality results with minimal effort.
This parameter specifies the model architecture to be used for training. It determines the structure and capabilities of the neural network. The default value is "DiT-g/2".
This parameter indicates the specific task or objective for the training process. It helps in customizing the training pipeline according to the desired outcome.
This boolean parameter determines whether to resume training from a previous split. The default value is True.
This boolean parameter specifies whether to apply Exponential Moving Average (EMA) to the module. The default value is True.
This boolean parameter indicates whether to use DeepSpeed for optimizing the training process. The default value is False.
This parameter defines the type of prediction to be used during training. The default value is "v_prediction".
This parameter specifies the parts of the model to be trained. The default value is "lora".
This parameter sets the number of samples per batch during training. The default value is 1.
This parameter defines the number of gradient accumulation steps. The default value is 1.
This parameter sets the global seed for random number generation, ensuring reproducibility. The default value is 0.
This boolean parameter indicates whether to use Flash Attention for faster training. The default value is False.
This boolean parameter specifies whether to use 16-bit floating-point precision for training. The default value is True.
This boolean parameter determines whether to apply QK normalization. The default value is True.
This parameter sets the data type for EMA. The default value is "fp32".
This boolean parameter indicates whether to use asynchronous EMA. The default value is False.
This parameter specifies the frequency of saving the latest checkpoint. The default value is 0x7fffffff.
This boolean parameter indicates whether to use multiple resolutions during training. The default value is True.
This parameter sets the number of training epochs. The default value is 50.
This parameter defines the target aspect ratios for the generated images. The default values are ['1:1', '3:4', '4:3', '16:9', '9:16'].
This parameter specifies the base resolution for the RoPE (Rotary Position Embedding) image. The default value is "base1024".
This parameter sets the size of the images to be generated. The default value is 1024.
This boolean parameter indicates whether to use real RoPE. The default value is True.
This parameter specifies the path to the index file used during training. The default value is None.
This parameter sets the learning rate for the training process. The default value is 1e-5.
This boolean parameter indicates whether the training process is currently running. It helps in monitoring the status of the training.
This parameter provides the generated samples during the training process. It allows you to visualize the progress and quality of the model.
is_running
output parameter to ensure that everything is proceeding as expected.samples
output parameter to periodically check the quality of the generated images and make adjustments to the training parameters if necessary.{log}
e: {e}
© Copyright 2024 RunComfy. All Rights Reserved.