ComfyUI-TBG-SAM3
A ComfyUI custom node extension integrating Meta's Segment Anything Model 3 (SAM 3) for advanced image and video segmentation with text-prompt, point-based, and mask-driven capabilities. Provides production-ready nodes compatible with ComfyUI's Impact Pack SEGS format, depth map generation, and support for Python 3.13+ with CUDA and CPU support.
How much VRAM does ComfyUI-TBG-SAM3 require?
Direct Answer: The ComfyUI node ComfyUI-TBG-SAM3 requires a minimum base VRAM of 4096MB and is optimized for GPUs with at least 8GB of VRAM. Low VRAM mode is not supported for this node.
- Base VRAM:
- 4096MB (4.0GB)
- Recommended GPU:
- 8GB+ VRAM
- Low VRAM Mode:
- ✗ Not supported
- Estimation Confidence:
- MEDIUM
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 ComfyUI-TBG-SAM3?
Direct Answer: Running ComfyUI-TBG-SAM3 requires installing the following Python package dependencies: av>=9.0.0, decord>=0.6.0, einops>=0.6.0, ftfy>=6.1.1, huggingface_hub>=0.34.0,<1.0, hydra-core>=1.3.0, iopath>=0.1.10, numpy>=1.26,<1.28, omegaconf>=2.3.0, opencv-python>=4.8.0, pycocotools>=2.0.6, regex, shapely>=1.8.0, timm>=1.0.17, tqdm>=4.65.0, transformers>=4.40.0,<5.0.0, typing_extensions. Ensure your ComfyUI environment has these packages active before launching.
av>=9.0.0
decord>=0.6.0
einops>=0.6.0
ftfy>=6.1.1
huggingface_hub>=0.34.0,<1.0
hydra-core>=1.3.0
iopath>=0.1.10
numpy>=1.26,<1.28
omegaconf>=2.3.0
opencv-python>=4.8.0
pycocotools>=2.0.6
regex
shapely>=1.8.0
timm>=1.0.17
tqdm>=4.65.0
transformers>=4.40.0,<5.0.0
typing_extensionsInteractive Setup & Dependency Resolver
# Loading command...Frequently Asked Questions
How much VRAM does ComfyUI-TBG-SAM3 require?
ComfyUI-TBG-SAM3 requires a minimum of 4096MB (4.0GB) of VRAM for base operation. For optimal performance, a GPU with at least 8GB of VRAM is recommended. Low VRAM mode is not supported for this node.
Can I run ComfyUI-TBG-SAM3 on an RTX 3060, RTX 4070, or RTX 4090?
✅ RTX 3060 (12GB): Yes, fully compatible with 6.8GB headroom. ✅ RTX 4070 (12GB): Yes, fully compatible with 6.8GB headroom. ✅ RTX 4070 Ti (16GB): Yes, fully compatible with 10.4GB headroom. ✅ RTX 4090 (24GB): Yes, fully compatible with 17.6GB headroom
What Python packages are required for ComfyUI-TBG-SAM3?
To run ComfyUI-TBG-SAM3, you need to install: av>=9.0.0, decord>=0.6.0, einops>=0.6.0, ftfy>=6.1.1, huggingface_hub>=0.34.0,<1.0, hydra-core>=1.3.0, iopath>=0.1.10, numpy>=1.26,<1.28, omegaconf>=2.3.0, opencv-python>=4.8.0, pycocotools>=2.0.6, regex, shapely>=1.8.0, timm>=1.0.17, tqdm>=4.65.0, transformers>=4.40.0,<5.0.0, typing_extensions. You can install these using pip or add them to your requirements.txt file.
How do I install ComfyUI-TBG-SAM3 in ComfyUI?
To install ComfyUI-TBG-SAM3: (1) Navigate to your ComfyUI/custom_nodes directory, (2) Clone the repository: git clone https://github.com/Ltamann/ComfyUI-TBG-SAM3, (3) Install dependencies: pip install -r requirements.txt (if present), (4) Restart ComfyUI. Alternatively, use ComfyUI Manager for one-click installation.