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-FL-YuE2 > FL YuE2 · Load LoRA

ComfyUI Node: FL YuE2 · Load LoRA

Class Name

FL_YuE2_LoRATrainer

Category
FL YuE2/Training
Author
filliptm (Account age: 2551days)
Extension
ComfyUI-FL-YuE2
Latest Updated
2026-09-17
Github Stars
0.13K

How to Install ComfyUI-FL-YuE2

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

FL YuE2 · Load LoRA Description

Specialized node for training LoRA models in FL YuE2 framework, enhancing AI models with efficient adaptation techniques.

FL YuE2 · Load LoRA:

The FL_YuE2_LoRATrainer is a specialized node designed to facilitate the training of LoRA (Low-Rank Adaptation) models within the FL YuE2 framework. This node is particularly beneficial for users looking to enhance their AI models by fine-tuning them with LoRA techniques, which are known for their efficiency in adapting large models with minimal computational resources. The primary goal of this node is to provide a streamlined and effective method for training LoRA models, allowing you to leverage the power of LoRA to improve model performance without the need for extensive computational power. By using this node, you can achieve significant improvements in model adaptability and performance, making it an essential tool for AI artists and developers who wish to optimize their models for specific tasks or datasets.

FL YuE2 · Load LoRA Input Parameters:

rank

The rank parameter determines the LoRA rank for both AR (Auto-Regressive) and NAR (Non-Auto-Regressive) transformer projections. It controls the dimensionality of the low-rank adaptation, impacting the model's ability to generalize and adapt to new data. The minimum value is 1, the maximum is 128, and the default is 32. A higher rank may improve model performance but at the cost of increased computational requirements.

learning_rate

The learning_rate parameter specifies the rate at which the model learns during training. It influences how quickly or slowly a model adapts to the given data. The minimum value is 1e-7, the maximum is 0.01, and the default is 1e-4. A smaller learning rate can lead to more stable convergence, while a larger one can speed up training but may risk overshooting the optimal solution.

weight_decay

The weight_decay parameter is used to prevent overfitting by adding a penalty to the loss function based on the magnitude of the model weights. The minimum value is 0, the maximum is 0.1, and the default is 1e-4. Proper tuning of this parameter helps maintain a balance between model complexity and performance.

ar_kl_weight

The ar_kl_weight parameter controls the weight of the KL divergence between the base and adapter distributions in the AR model. It helps preserve the base AR distribution while adapting the model. The minimum value is 0, the maximum is 2, and the default is 0.2. Adjusting this weight can influence the trade-off between maintaining the original model characteristics and adapting to new data.

abc_dropout

The abc_dropout parameter defines the probability of training an example in direct mode without its score. It is a regularization technique to prevent overfitting by randomly dropping units during training. The minimum value is 0, the maximum is 1, and the default is 0.5. A higher dropout rate can lead to a more robust model but may also slow down convergence.

ar_lr_multiplier

The ar_lr_multiplier parameter is a multiplier for the learning rate specifically for the AR model. It allows fine-tuning of the learning rate for the AR component independently. The minimum value is 0.01, the maximum is 2, and the default is 1.0. Adjusting this multiplier can help balance the learning dynamics between different model components.

acoustic_window_frames

The acoustic_window_frames parameter specifies the size of the random NAR flow-matching window, with YuE2 using 25 frames per second. It determines the temporal context used during training. The minimum value is 64, the maximum is 3000, and the default is 1500. A larger window may capture more context but requires more computational resources.

nar_start

The nar_start parameter defines the starting point for the NAR model, with options "base" or "community_v4". It influences the initial configuration of the NAR model, affecting its adaptation process. The default option is "base". Choosing "community_v4" may provide a more robust starting point by incorporating community-driven improvements.

sequence_tokens

The sequence_tokens parameter sets the maximum number of tokens in a sequence during training. It impacts the model's ability to handle long sequences. The minimum value is 256, the maximum is 24576, and the default is 24576. A higher token limit allows for processing longer sequences but increases memory usage.

allow_truncation

The allow_truncation parameter is a boolean flag that determines whether sequences can be truncated during training. The default value is False. Enabling truncation can help manage memory usage but may lead to loss of information in longer sequences.

steps

The steps parameter specifies the number of training steps to be performed. It determines the duration of the training process. The minimum value is 1, the maximum is 100000, and the default is 3000. More steps can lead to better model convergence but require more time and computational resources.

FL YuE2 · Load LoRA Output Parameters:

YUE2_AUDIO_ADAPTER

The YUE2_AUDIO_ADAPTER is the output parameter representing the trained audio adapter model. This output is crucial as it encapsulates the learned adaptations and improvements made during the training process. The audio adapter can be used to enhance the performance of existing models by integrating the learned adaptations, making it a valuable asset for tasks requiring refined audio processing capabilities.

FL YuE2 · Load LoRA Usage Tips:

  • Experiment with different rank values to find the optimal balance between model performance and computational efficiency for your specific task.
  • Adjust the learning_rate and ar_lr_multiplier to fine-tune the learning dynamics of your model, ensuring stable and efficient convergence.
  • Use weight_decay and abc_dropout to prevent overfitting, especially when working with smaller datasets or complex models.
  • Consider the acoustic_window_frames and sequence_tokens settings to manage memory usage and ensure your model can handle the desired sequence lengths effectively.

FL YuE2 · Load LoRA Common Errors and Solutions:

Error: "Learning rate too high"

  • Explanation: This error occurs when the learning rate is set too high, causing the model to diverge during training.
  • Solution: Reduce the learning_rate to a smaller value and restart the training process.

Error: "Out of memory"

  • Explanation: This error indicates that the model requires more memory than is available, often due to large sequence lengths or batch sizes.
  • Solution: Reduce the sequence_tokens or acoustic_window_frames, or consider using a machine with more memory.

Error: "Invalid rank value"

  • Explanation: This error occurs when the rank parameter is set outside the allowed range.
  • Solution: Ensure the rank is within the specified range of 1 to 128 and adjust accordingly.

FL YuE2 · Load LoRA Related Nodes

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

FL YuE2 · Load LoRA