KJNodes/model_loadersgenerated

GGUF Loader KJ(GGUFLoaderKJ)

Its core functionality is to load a main GGUF model, and optionally load and fuse a second additional model, such as a VACE module.

GGUF Loader KJ

MODEL
model_name
COMBO
extra_model_name
none
dequant_dtype
default
patch_dtype
default
patch_on_device
enable_fp16_accumulation
attention_override
none
KJNodes

The GGUF Loader KJ node. Its core function is to load a primary GGUF model and optionally load and fuse a second additional model, such as a VACE module.

The GGUF Loader KJ node is used to load model files in GGUF format, providing flexible configuration options for advanced model applications.

Node Functionality

Its core function is to load a primary GGUF model and optionally load and fuse a second additional model, such as a VACE module. By adjusting parameters like dequantization, data type, and device, users can optimize the model's runtime efficiency and memory usage. Additionally, it can override the default attention mechanism implementation to adapt to different hardware or performance requirements.

Usage Scenarios

The GGUF Loader KJ is very useful when you need to use community-released models in GGUF format and wish to perform performance tuning or memory optimization on them. For example, this node can be used when attempting to fuse model components with different functionalities (such as a primary model and a VACE module) to generate content of a specific style. For users pursuing higher inference speeds or wishing to run models at different precisions (e.g., FP16, BF16), this node provides the necessary control options.

Notes

Before using this node, you must ensure that the ComfyUI-GGUF extension is installed. Enabling the "fp16 accumulation" feature requires PyTorch version 2.7.1 or higher. When selecting the "attention_override" option, please confirm that the corresponding libraries (such as xformers or flash attention) are installed in your environment.

The GGUF Loader KJ node is from the ComfyUI-KJNodes node package.

Comments

Sign in with GitHub to join the discussion.

Loading comments…