master
RTX 4090 performance optimization nodes for ComfyUI. Nodes: - BatchImageProcessor: Efficient multi-image processing - BatchLatentProcessor: Batch latent operations - RTX4090Optimizer: TF32, cuDNN, AMP settings - MemoryManager: VRAM management and cleanup - GPUMonitor: Real-time GPU metrics - TensorRTAutoConverter: Model conversion Optimized for RTX 4090 + Threadripper PRO. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ComfyUI RTX 4090 Nodes
High-performance optimization nodes specifically tuned for NVIDIA RTX 4090 GPUs.
Installation
cd ComfyUI/custom_nodes
git clone https://github.com/joe002/comfyui-rtx4090-nodes.git
6 Nodes
| Node | Purpose |
|---|---|
BatchImageProcessor |
Process multiple images efficiently |
BatchLatentProcessor |
Batch latent space operations |
RTX4090Optimizer |
Apply GPU-specific optimizations |
MemoryManager |
VRAM management and cleanup |
GPUMonitor |
Real-time GPU metrics |
TensorRTAutoConverter |
Model conversion for speed |
RTX 4090 Optimizer
Enables hardware-specific optimizations:
- TF32: 2x speedup on matrix operations
- cuDNN Benchmark: Auto-selects optimal kernels
- AMP: Mixed precision for memory efficiency
- Thread Tuning: Optimized for high-core-count CPUs
Default settings for RTX 4090 + Threadripper:
├─ TF32: Enabled
├─ cuDNN Benchmark: Enabled
├─ Memory Fraction: 95%
└─ CPU Threads: 48
Memory Manager
Actions:
clear_cache: Standard VRAM cleanupoptimize: Conditional cleanup based on thresholdreport: Detailed memory breakdownemergency_clear: Aggressive cleanup for OOM recovery
GPU Monitor
Real-time metrics via nvidia-smi:
- GPU Utilization (%)
- VRAM Usage (%)
- Temperature (°C)
- Power Draw (W)
TensorRT Converter
Convert models for faster inference:
- fp16: 40-60% speedup
- int8: 60-80% speedup (requires calibration)
- fp32: 20-30% speedup
Requirements
- ComfyUI
- torch >= 2.0.0
- NVIDIA RTX 4090 (or compatible GPU)
- nvidia-smi (for GPUMonitor)
License
MIT License
Author
Joseph Ibrahim - VFX Lighting TD
Languages
Python
100%