ComfyUI > Nodes > Comfyui-bitdance > BitDance Loader

ComfyUI Node: BitDance Loader

Class Name

BitDanceLoader

Category
loaders/bitdance
Author
aistudynow (Account age: 0days)
Extension
Comfyui-bitdance
Latest Updated
2026-03-12
Github Stars
0.03K

How to Install Comfyui-bitdance

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

BitDance Loader Description

BitDanceLoader optimizes model loading in BitDance, reducing CPU RAM spikes via streaming.

BitDance Loader:

The BitDanceLoader is a crucial component designed to streamline the loading of various models and encoders within the BitDance framework. Its primary purpose is to efficiently manage the loading process of the main model, text encoder, and VAE (Variational Autoencoder) components, ensuring that each is loaded with the appropriate precision and attention mode settings. This node is particularly beneficial for reducing CPU RAM spikes by utilizing a streaming load method for text encoder files, which is essential for handling large datasets or complex models. By automating the loading process and optimizing resource usage, the BitDanceLoader enhances the overall performance and reliability of the BitDance framework, making it an indispensable tool for AI artists who require seamless integration and execution of their creative projects.

BitDance Loader Input Parameters:

model_name

The model_name parameter specifies the name of the main model to be loaded. It is crucial for identifying which model configuration and weights should be retrieved and utilized during the loading process. This parameter directly impacts the type of model architecture and capabilities that will be available for use in your project.

text_encoder_name

The text_encoder_name parameter determines the specific text encoder to be loaded. This is essential for processing and encoding textual data, which is a critical step in many AI-driven creative applications. The choice of text encoder can affect the quality and efficiency of text processing tasks.

vae_name

The vae_name parameter identifies the VAE model to be loaded. VAEs are used for generating and reconstructing data, and selecting the appropriate VAE model is vital for achieving the desired output quality and performance in generative tasks.

precision

The precision parameter defines the numerical precision used during model loading, such as fp16 or fp32. This setting can influence the balance between computational efficiency and model accuracy, with lower precision offering faster performance at the potential cost of reduced precision.

attention_mode

The attention_mode parameter specifies the attention mechanism to be used within the models. Attention mechanisms are crucial for focusing on specific parts of the input data, and this parameter can significantly impact the model's ability to capture relevant information.

quantization

The quantization parameter controls whether quantization is applied to the models during loading. Quantization can reduce the model size and improve inference speed, but it may also affect the model's accuracy. The default setting is "disabled," but it can be set to "auto" for automatic determination.

load_device

The load_device parameter indicates the device on which the main model should be loaded, such as a CPU or GPU. This parameter is important for optimizing resource allocation and ensuring that the model is loaded on the most suitable hardware for your task.

text_encoder_load_device

The text_encoder_load_device parameter specifies the device for loading the text encoder. Similar to load_device, this setting helps optimize performance by selecting the appropriate hardware for text processing tasks.

vae_load_device

The vae_load_device parameter determines the device for loading the VAE model. Choosing the right device can enhance the efficiency of generative tasks by leveraging the capabilities of the selected hardware.

BitDance Loader Output Parameters:

bitdance_model

The bitdance_model output represents the loaded main model, ready for use in various AI tasks. This model serves as the core component for executing complex operations and generating outputs based on the input data.

bitdance_text_encoder

The bitdance_text_encoder output is the loaded text encoder, which is essential for processing and encoding textual information. This component plays a critical role in transforming text data into a format that can be effectively utilized by the main model.

bitdance_vae

The bitdance_vae output is the loaded VAE model, which is used for data generation and reconstruction tasks. This component is vital for creating new data samples or reconstructing existing ones, making it a key element in generative AI applications.

BitDance Loader Usage Tips:

  • Ensure that the model_name, text_encoder_name, and vae_name parameters are correctly specified to match the desired models and encoders for your project.
  • Consider the precision setting carefully, as it can significantly impact both performance and accuracy. Use fp16 for faster performance when precision is less critical.
  • Utilize the quantization parameter to optimize model size and speed, especially when working with large models or limited hardware resources.
  • Select the appropriate devices for loading each component (load_device, text_encoder_load_device, vae_load_device) to maximize performance based on your available hardware.

BitDance Loader Common Errors and Solutions:

FileNotFoundError: Missing VAE weights in BitDance model folder.

  • Explanation: This error occurs when the specified VAE model weights are not found in the expected directory.
  • Solution: Verify that the vae_name parameter is correct and that the corresponding VAE weights are present in the designated folder.

ValueError: Unsupported precision type.

  • Explanation: This error indicates that the specified precision type is not supported by the BitDanceLoader.
  • Solution: Ensure that the precision parameter is set to a valid option, such as fp16 or fp32.

RuntimeError: Device not available for loading.

  • Explanation: This error arises when the specified device for loading a component is not available or incorrectly configured.
  • Solution: Check the load_device, text_encoder_load_device, and vae_load_device parameters to ensure they are set to available and correctly configured devices.

BitDance Loader Related Nodes

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

BitDance Loader