BrushNet

By nullquantView on GitHub →

These are custom nodes for ComfyUI native implementation of [a/BrushNet](https://arxiv.org/abs/2403.06976) (inpaint), PowerPaint (inpaint, object removal) and HiDiffusion (higher resolution for SD15 and SDXL)

Quick Technical Summary: BrushNet

Base VRAM Footprint:
8192 MB (12 GB Tier)
Primary Dependencies:
accelerate>=0.29.0,<0.32.0, diffusers>=0.29.0, peft>=0.7.0
Min PyTorch / CUDA:
PyTorch 2.0+ | CUDA 12.1+
GitHub Repository:
https://github.com/nullquant/ComfyUI-BrushNet

Citation Note: Data sourced from VRAM DB. For complete workflow OOM estimations, use the VRAM DB Workflow Analyzer.

How much VRAM does BrushNet require?

Direct Answer: The ComfyUI node BrushNet requires a minimum base VRAM of 8192MB and is optimized for GPUs with at least 12GB of VRAM. Low VRAM mode is not supported for this node.

Very High (4-8GB)
Base VRAM:
8192MB (8.0GB)
Recommended GPU:
12GB+ VRAM
Low VRAM Mode:
✗ Not supported
Estimation Confidence:
HIGH

Cheapest VRAM Upgrade Paths (Live Market Prices):

  • GeForce RTX 3060 12GB (Budget 12GB Upgrade)──► Used: $209.62View eBay ↗
  • GeForce RTX 4070 12GB (High-Performance 12GB)──► New: $535.75View Amazon ↗

Interactive VRAM Compatibility Estimator

Estimated Total VRAM: 3.00 GBTarget: 8 GB
✅ Comfortable Fit

Your GPU has plenty of headroom. You can run this node safely with your active configurations!

Verify Compatibility for Your Specific GPU VRAM

Select your graphics card's VRAM capacity to view optimized batch sizes, suggested resolutions, and custom performance tips for BrushNet:

Live Cloud Deploy Options

Live Market Rates

Run this node in cloud environments with pre-configured CUDA/PyTorch dependencies:

Buy NVIDIA GeForce RTX 4070 (12GB VRAM)

Tired of renting cloud rigs? Run ComfyUI locally with absolute zero latency. The sweet spot for Stable Diffusion XL (SDXL) and quantized FLUX.1 (FP8/GGUF) workflows.

🛒 Buy on Amazon
calculate

Local GPU Upgrade vs. Cloud Rental

Compare the real financial break-even point for ComfyUI generation.

10 hours / week

shopping_cartBuy NVIDIA GeForce RTX 4070

Card Purchase Price:
$540.00
Active Wattage Draw:
200 Watts
Annual Electric Cost:
$0.00
Buy Local GPU on Amazon

cloudRent GPU On-Demand

Estimated Cloud Rate:
$0.22 / hr
Weekly Cloud Billing:
$0.00
Annual Cost (Equivalent):
$0.00
Deploy Instantly in Cloud

Financial Break-Even Point

You need to run workflows for ...

before upgrading local hardware becomes more economical than renting cloud compute.

Are you the author of this node?

Help your users avoid out-of-memory errors by displaying this professional, dynamic VRAM badge on your GitHub README. Copy the markdown below to embed it with a backlink directly to this hardware specification profile.

Live Preview:VRAM DB Badge
embed markdown
[![VRAM Specs](https://vramdb.com/badge/nullquant/comfyui-brushnet.svg)](https://vramdb.com/nodes/nullquant/comfyui-brushnet/)

What Python packages are required for BrushNet?

Direct Answer: Running BrushNet requires installing the following Python package dependencies: accelerate>=0.29.0,<0.32.0, diffusers>=0.29.0, peft>=0.7.0. Ensure your ComfyUI environment has these packages active before launching.

requirements.txt
accelerate>=0.29.0,<0.32.0
diffusers>=0.29.0
peft>=0.7.0

Interactive Setup & Dependency Resolver

Operating System:
Environment Type:
Run this terminal command in your ComfyUI root folder:
# Loading command...

Compatible Foundations

This node is verified to support or optimize workflows for the following foundation model families:

Frequently Asked Questions

How much VRAM does BrushNet require?

BrushNet requires a minimum of 8192MB (8.0GB) of VRAM for base operation. For optimal performance, a GPU with at least 12GB of VRAM is recommended. Low VRAM mode is not supported for this node.

Can I run BrushNet on an RTX 3060, RTX 4070, or RTX 4090?

✅ RTX 3060 (12GB): Yes, fully compatible with 2.8GB headroom. ✅ RTX 4070 (12GB): Yes, fully compatible with 2.8GB headroom. ✅ RTX 4070 Ti (16GB): Yes, fully compatible with 6.4GB headroom. ✅ RTX 4090 (24GB): Yes, fully compatible with 13.6GB headroom

How much VRAM does BrushNet take on an RTX 3060 vs RTX 4090?

On an RTX 3060 (12GB VRAM), BrushNet runs smoothly on an RTX 3060 (12GB) with 2.8GB of headroom. This is sufficient to run the node alongside standard SD 1.5 and SDXL workflows in full precision. On an RTX 4090 (24GB VRAM), the node runs with extreme headroom on an RTX 4090 (24GB) with 13.6GB of dedicated headroom. This allows you to combine the node with massive models (like FLUX.1 Dev, Schnell, or Hunyuan Video) in full precision (FP16) without any offload flags.

What Python packages are required for BrushNet?

To run BrushNet, you need to install: accelerate>=0.29.0,<0.32.0, diffusers>=0.29.0, peft>=0.7.0. You can install these using pip or add them to your requirements.txt file.

How do I install BrushNet in ComfyUI?

To install BrushNet: (1) Navigate to your ComfyUI/custom_nodes directory, (2) Clone the repository: git clone https://github.com/nullquant/ComfyUI-BrushNet, (3) Install dependencies: pip install -r requirements.txt (if present), (4) Restart ComfyUI. Alternatively, use ComfyUI Manager for one-click installation.