ComfyUI-DragAnything

DragAnything

How much VRAM does ComfyUI-DragAnything require?

Direct Answer: The ComfyUI node ComfyUI-DragAnything requires a minimum base VRAM of 128MB and is optimized for GPUs with at least 4GB of VRAM. Low VRAM mode is fully supported for resource-constrained setups.

High (2-4GB)
Base VRAM:
128MB (0.1GB)
Recommended GPU:
4GB+ VRAM
Low VRAM Mode:
✓ Supported
Estimation Confidence:
MEDIUM

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!

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 Vast.ai

Deploy on Cloud GPUs

Need more VRAM to run ComfyUI with this node? Rent low-cost, high-performance cloud GPUs on RunPod instantly.

🚀 Deploy on RunPod

What Python packages are required for ComfyUI-DragAnything?

Direct Answer: Running ComfyUI-DragAnything requires installing the following Python package dependencies: accelerate>=0.25.0, certifi>=2023.11.17, charset-normalizer>=3.3.2, cmake>=3.28.1, contourpy>=1.1.1, cycler>=0.12.1, decord>=0.6.0, diffusers==0.19.3, docopt>=0.6.2, einops>=0.7.0, ffmpeg>=1.4, filelock>=3.13.1, fonttools>=4.47.2, fsspec>=2023.12.2, huggingface-hub>=0.20.1, idna>=3.6, imageio>=2.33.1, importlib-metadata>=7.0.1, importlib-resources>=6.1.1, jinja2>=3.1.2, kiwisolver>=1.4.5, lit>=17.0.6, markupsafe>=2.1.3, matplotlib>=3.7.4, mpmath>=1.3.0, mypy-extensions>=1.0.0, networkx>=3.1, numpy>=1.24.4, opencv-python>=4.8.1.78, packaging>=23.2, pillow>=10.1.0, pipreqs>=0.4.13, psutil>=5.9.7, pyparsing>=3.1.1, pyre-extensions>=0.0.29, python-dateutil>=2.8.2, pyyaml>=6.0.1, regex>=2023.12.25, requests>=2.31.0, safetensors>=0.4.1, scipy>=1.10.1, segment-anything>=1.0, six>=1.16.0, sympy>=1.12, tokenizers>=0.15.0, tqdm>=4.66.1, transformers>=4.36.2, typing-inspect>=0.9.0, typing_extensions>=4.9.0, urllib3>=2.1.0, yarg>=0.1.9, zipp>=3.17.0. Ensure your ComfyUI environment has these packages active before launching.

requirements.txt
accelerate>=0.25.0
certifi>=2023.11.17
charset-normalizer>=3.3.2
cmake>=3.28.1
contourpy>=1.1.1
cycler>=0.12.1
decord>=0.6.0
diffusers==0.19.3
docopt>=0.6.2
einops>=0.7.0
ffmpeg>=1.4
filelock>=3.13.1
fonttools>=4.47.2
fsspec>=2023.12.2
huggingface-hub>=0.20.1
idna>=3.6
imageio>=2.33.1
importlib-metadata>=7.0.1
importlib-resources>=6.1.1
jinja2>=3.1.2
kiwisolver>=1.4.5
lit>=17.0.6
markupsafe>=2.1.3
matplotlib>=3.7.4
mpmath>=1.3.0
mypy-extensions>=1.0.0
networkx>=3.1
numpy>=1.24.4
opencv-python>=4.8.1.78
packaging>=23.2
pillow>=10.1.0
pipreqs>=0.4.13
psutil>=5.9.7
pyparsing>=3.1.1
pyre-extensions>=0.0.29
python-dateutil>=2.8.2
pyyaml>=6.0.1
regex>=2023.12.25
requests>=2.31.0
safetensors>=0.4.1
scipy>=1.10.1
segment-anything>=1.0
six>=1.16.0
sympy>=1.12
tokenizers>=0.15.0
tqdm>=4.66.1
transformers>=4.36.2
typing-inspect>=0.9.0
typing_extensions>=4.9.0
urllib3>=2.1.0
yarg>=0.1.9
zipp>=3.17.0

Interactive Setup & Dependency Resolver

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

Frequently Asked Questions

How much VRAM does ComfyUI-DragAnything require?

ComfyUI-DragAnything requires a minimum of 128MB (0.1GB) of VRAM for base operation. For optimal performance, a GPU with at least 4GB of VRAM is recommended. This node supports low VRAM mode for resource-constrained setups.

Can I run ComfyUI-DragAnything on an RTX 3060, RTX 4070, or RTX 4090?

✅ RTX 3060 (12GB): Yes, fully compatible with 10.7GB headroom. ✅ RTX 4070 (12GB): Yes, fully compatible with 10.7GB headroom. ✅ RTX 4070 Ti (16GB): Yes, fully compatible with 14.3GB headroom. ✅ RTX 4090 (24GB): Yes, fully compatible with 21.5GB headroom

What Python packages are required for ComfyUI-DragAnything?

To run ComfyUI-DragAnything, you need to install: accelerate>=0.25.0, certifi>=2023.11.17, charset-normalizer>=3.3.2, cmake>=3.28.1, contourpy>=1.1.1, cycler>=0.12.1, decord>=0.6.0, diffusers==0.19.3, docopt>=0.6.2, einops>=0.7.0, ffmpeg>=1.4, filelock>=3.13.1, fonttools>=4.47.2, fsspec>=2023.12.2, huggingface-hub>=0.20.1, idna>=3.6, imageio>=2.33.1, importlib-metadata>=7.0.1, importlib-resources>=6.1.1, jinja2>=3.1.2, kiwisolver>=1.4.5, lit>=17.0.6, markupsafe>=2.1.3, matplotlib>=3.7.4, mpmath>=1.3.0, mypy-extensions>=1.0.0, networkx>=3.1, numpy>=1.24.4, opencv-python>=4.8.1.78, packaging>=23.2, pillow>=10.1.0, pipreqs>=0.4.13, psutil>=5.9.7, pyparsing>=3.1.1, pyre-extensions>=0.0.29, python-dateutil>=2.8.2, pyyaml>=6.0.1, regex>=2023.12.25, requests>=2.31.0, safetensors>=0.4.1, scipy>=1.10.1, segment-anything>=1.0, six>=1.16.0, sympy>=1.12, tokenizers>=0.15.0, tqdm>=4.66.1, transformers>=4.36.2, typing-inspect>=0.9.0, typing_extensions>=4.9.0, urllib3>=2.1.0, yarg>=0.1.9, zipp>=3.17.0. You can install these using pip or add them to your requirements.txt file.

How can I reduce VRAM usage when running ComfyUI-DragAnything?

ComfyUI-DragAnything supports low VRAM mode. To reduce memory usage: (1) Enable --lowvram or --medvram flags in ComfyUI, (2) Reduce batch size to 1, (3) Use fp16 or fp8 precision if supported, (4) Close other GPU applications.

How do I install ComfyUI-DragAnything in ComfyUI?

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