ComfyUI > Nodes > Model and Checkpoint Loaders for NF4 and FP4

ComfyUI Extension: Model and Checkpoint Loaders for NF4 and FP4

Repo Name

ComfyUI_bnb_nf4_fp4_Loaders

Author
silveroxides (Account age: 1849 days)
Nodes
View all nodes(2)
Latest Updated
2025-04-28
Github Stars
0.04K

How to Install Model and Checkpoint Loaders for NF4 and FP4

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

Model and Checkpoint Loaders for NF4 and FP4 Description

Model and Checkpoint Loaders for NF4 and FP4 are nodes designed to load Checkpoints and UNET/Diffusion models quantized to bitsandbytes NF4 or FP4 format. They are still under development and may have limitations, such as compatibility with LoRA.

ComfyUI_bnb_nf4_fp4_Loaders Introduction

The ComfyUI_bnb_nf4_fp4_Loaders extension is designed to enhance the performance of AI models by optimizing how they are loaded and processed. Specifically, it focuses on loading models in the NF4 format, which can lead to significant speed improvements. This extension is particularly useful for AI artists who work with complex models and need to streamline their workflows. By using this extension, you can experience faster model loading times and improved efficiency, allowing you to focus more on your creative process rather than technical hurdles.

How ComfyUI_bnb_nf4_fp4_Loaders Works

At its core, the ComfyUI_bnb_nf4_fp4_Loaders extension leverages the NF4 format to load models more efficiently. NF4 is a quantization format that reduces the size of model weights, making them easier and faster to load into memory. Think of it like compressing a large image file without losing much quality, allowing it to load faster on your computer. This is particularly beneficial for AI artists who work with large models, as it reduces the time spent waiting for models to load and increases the responsiveness of the software.

ComfyUI_bnb_nf4_fp4_Loaders Features

The extension provides two main nodes that you can use in your workflow:

  • CheckpointLoaderNF4: This node is used to load NF4 Flux Checkpoints. It replaces the standard checkpoint loader in your workflow, allowing you to take advantage of the NF4 format's speed benefits.
  • UNETLoaderNF4: This node is specifically for loading NF4 Flux UNET models. By using this node, you can ensure that your UNET models are loaded quickly and efficiently, improving the overall performance of your AI art generation process. These nodes are designed to be easily integrated into your existing workflows, requiring minimal changes to start seeing benefits.

ComfyUI_bnb_nf4_fp4_Loaders Models

The extension supports various models that are available in the NF4 format. Here are some examples:

  • NF4 Flux UNET: Available on Hugging Face, this model is optimized for the NF4 format, providing faster loading times and efficient processing.
  • NF4 Flux Dev Checkpoint: This checkpoint can be found here and is designed for developers looking to experiment with the latest features.
  • NF4 Flux Schnell Checkpoint: Available here, this checkpoint offers a balance between speed and performance, ideal for artists who need quick results.

Troubleshooting ComfyUI_bnb_nf4_fp4_Loaders

If you encounter issues while using the ComfyUI_bnb_nf4_fp4_Loaders extension, here are some common solutions:

  • Ensure ComfyUI is Updated: Make sure you are using the latest version of ComfyUI, as updates often include important bug fixes and improvements.
  • Install Required Dependencies: The extension requires the bitsandbytes library. Ensure it is installed correctly by running pip install bitsandbytes.
  • Check Node Integration: If the nodes are not functioning as expected, double-check that they are correctly integrated into your workflow. Replace the standard loaders with the NF4 nodes as described.

Learn More about ComfyUI_bnb_nf4_fp4_Loaders

For further learning and community support, consider exploring the following resources:

  • CivitAI Search: Use this link to find more models and resources related to NF4. - Stable Diffusion WebUI Forge: This platform offers a wealth of information and discussions on optimizing AI models, including tutorials on using NF4 and other formats. Visit the Forge Discussions for more insights. By leveraging these resources, you can enhance your understanding of the ComfyUI_bnb_nf4_fp4_Loaders extension and maximize its benefits in your AI art projects.

Model and Checkpoint Loaders for NF4 and FP4 Related Nodes

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 Playground, enabling artists to harness the latest AI tools to create incredible art.