ComfyUI > Nodes > ComfyUI-FL-AceStep-Training > FL AceStep Preprocess Dataset

ComfyUI Node: FL AceStep Preprocess Dataset

Class Name

FL_AceStep_PreprocessDataset

Category
FL AceStep/Dataset
Author
filliptm (Account age: 0days)
Extension
ComfyUI-FL-AceStep-Training
Latest Updated
2026-03-19
Github Stars
0.1K

How to Install ComfyUI-FL-AceStep-Training

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

Converts labeled audio samples into preprocessed tensors for efficient ACE-Step model training.

FL AceStep Preprocess Dataset:

The FL_AceStep_PreprocessDataset node is designed to convert labeled audio samples into preprocessed tensor files, which are essential for training models within the ACE-Step framework. This node is optimized for performance, ensuring efficient processing by loading models once and keeping them on the GPU throughout the entire loop. It leverages torch.inference_mode() to wrap the processing loop, which enhances speed and reduces memory usage. The node also employs caching strategies for audio tensors and resampler objects, and uses non-blocking GPU transfers to further optimize performance. Periodic cache clearing is implemented to maintain efficiency. This node is particularly beneficial for users looking to prepare large datasets for training audio models, as it streamlines the preprocessing phase, making it faster and more resource-efficient.

FL AceStep Preprocess Dataset Input Parameters:

dataset

The dataset parameter specifies the ACE-Step dataset that contains the labeled audio samples to be processed. This parameter is crucial as it defines the source of the data that will be converted into tensor files for training.

model

The model parameter refers to the specific model type used within the ACE-Step framework. It is essential for ensuring compatibility and proper processing of the dataset according to the model's requirements.

vae

The vae parameter stands for Variational Autoencoder, which is used in the preprocessing of audio samples. It plays a role in encoding the audio data into a format suitable for model training.

clip

The clip parameter is used to specify the CLIP model, which may be involved in the preprocessing pipeline. This parameter helps in managing how the audio data is clipped or segmented during processing.

output_dir

The output_dir parameter defines the directory path where the preprocessed tensor files will be saved. By default, it is set to ./output/acestep/datasets, but it can be customized to any desired path. This parameter is important for organizing and accessing the output files.

max_duration

The max_duration parameter sets the maximum duration for each audio sample to be processed, with a default value of 240.0 seconds. It can range from 10.0 to 600.0 seconds, allowing users to control the length of audio samples included in the preprocessing.

genre_ratio

The genre_ratio parameter is an integer that specifies the ratio of different genres within the dataset. It ranges from 0 to 100, with a default value of 0. This parameter allows users to balance the genre distribution in the preprocessed dataset.

FL AceStep Preprocess Dataset Output Parameters:

output_path

The output_path parameter provides the directory path where the preprocessed tensor files are stored. This output is crucial for users to locate and utilize the processed data for further training or analysis.

sample_count

The sample_count parameter indicates the number of audio samples that have been successfully processed and converted into tensor files. This output helps users verify the extent of the preprocessing operation.

status

The status parameter conveys the completion status of the preprocessing task. It provides feedback on whether the operation was successful or if any issues were encountered, aiding users in troubleshooting and ensuring the process was executed correctly.

FL AceStep Preprocess Dataset Usage Tips:

  • Ensure that the dataset parameter is correctly set to an ACE-Step compatible dataset to avoid compatibility issues during preprocessing.
  • Adjust the max_duration parameter according to the specific needs of your training model to optimize the quality and relevance of the preprocessed data.
  • Utilize the output_dir parameter to organize your preprocessed datasets effectively, making it easier to manage and access them for training purposes.

FL AceStep Preprocess Dataset Common Errors and Solutions:

"Model not loaded on GPU"

  • Explanation: This error occurs when the model is not properly loaded onto the GPU, which is necessary for efficient processing.
  • Solution: Ensure that your system has a compatible GPU and that the model is correctly configured to utilize GPU resources.

"Invalid dataset format"

  • Explanation: This error indicates that the dataset provided is not in the expected ACE-Step format.
  • Solution: Verify that the dataset is correctly formatted and compatible with the ACE-Step framework before attempting preprocessing.

"Output directory not writable"

  • Explanation: This error arises when the specified output directory does not have the necessary write permissions.
  • Solution: Check the permissions of the output directory and ensure that it is writable, or choose a different directory with appropriate permissions.

FL AceStep Preprocess Dataset Related Nodes

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