Refocus - Generative Refocusing
ComfyUI nodes for Genfocus generative refocusing. Features DeblurNet (restore all-in-focus images), BokehNet (create realistic depth-of-field/bokeh effects), DepthPro depth estimation, and defocus map utilities. Uses FLUX.1-dev with specialized LoRA adapters.
How much VRAM does Refocus - Generative Refocusing require?
Direct Answer: The ComfyUI node Refocus - Generative Refocusing requires a minimum base VRAM of 12288MB and is optimized for GPUs with at least 24GB of VRAM. Low VRAM mode is not supported for this node.
- Base VRAM:
- 12288MB (12.0GB)
- Recommended GPU:
- 24GB+ VRAM
- Low VRAM Mode:
- ✗ Not supported
- Estimation Confidence:
- HIGH
Interactive VRAM Compatibility Estimator
Your GPU has plenty of headroom. You can run this node safely with your active configurations!
Deploy on High-Performance GPUs
Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance GPUs on Vast.ai instantly.
Deploy on Cloud GPUs
Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance cloud GPUs on RunPod instantly.
What Python packages are required for Refocus - Generative Refocusing?
Direct Answer: Running Refocus - Generative Refocusing requires installing the following Python package dependencies: matplotlib>=3.5.0, numpy>=1.24.0, pillow>=9.0.0, safetensors>=0.4.0, torch>=2.0.0. This node specifically requires PyTorch version 2.0.0 or newer.
matplotlib>=3.5.0
numpy>=1.24.0
pillow>=9.0.0
safetensors>=0.4.0
torch>=2.0.0Interactive Setup & Dependency Resolver
# Loading command...Special Environment Requirements:
Requires PyTorch version 2.0.0+.
# Loading PyTorch 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 Refocus - Generative Refocusing require?
Refocus - Generative Refocusing requires a minimum of 12288MB (12.0GB) of VRAM for base operation. For optimal performance, a GPU with at least 24GB of VRAM is recommended. Low VRAM mode is not supported for this node.
Can I run Refocus - Generative Refocusing on an RTX 3060, RTX 4070, or RTX 4090?
❌ RTX 3060 (12GB): Insufficient VRAM (needs 12.0GB minimum). ❌ RTX 4070 (12GB): Insufficient VRAM (needs 12.0GB minimum). ⚠️ RTX 4070 Ti (16GB): Can run, but may experience performance issues or require low VRAM mode. ✅ RTX 4090 (24GB): Yes, fully compatible with 9.6GB headroom
What PyTorch version does Refocus - Generative Refocusing need?
Refocus - Generative Refocusing requires the following PyTorch-related packages: torch>=2.0.0. Ensure your ComfyUI environment has these installed. Ensure your PyTorch installation matches your CUDA version (use torch.version.cuda to check).
What Python packages are required for Refocus - Generative Refocusing?
To run Refocus - Generative Refocusing, you need to install: matplotlib>=3.5.0, numpy>=1.24.0, pillow>=9.0.0, safetensors>=0.4.0, torch>=2.0.0. You can install these using pip or add them to your requirements.txt file.
How do I install Refocus - Generative Refocusing in ComfyUI?
To install Refocus - Generative Refocusing: (1) Navigate to your ComfyUI/custom_nodes directory, (2) Clone the repository: git clone https://github.com/EricRollei/comfyui-refocus, (3) Install dependencies: pip install -r requirements.txt (if present), (4) Restart ComfyUI. Alternatively, use ComfyUI Manager for one-click installation.