VideoX-Fun

By bubbliiiingView on GitHub →

VideoX-Fun is a video generation pipeline that can be used to generate AI images and videos, as well as to train baseline and Lora models for Diffusion Transformer. We support direct prediction from pre-trained baseline models to generate videos with different resolutions, durations, and FPS. Additionally, we also support users in training their own baseline and Lora models to perform specific style transformations.

VRAM Requirements

Direct Answer: The ComfyUI node VideoX-Fun 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.

Very High (4-8GB)
Base VRAM:
4096MB (4.0GB)
Recommended GPU:
8GB+ VRAM
Low VRAM Mode:
✗ Not 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

Python Dependencies

Direct Answer: Running VideoX-Fun requires installing the following Python package dependencies: accelerate>=0.25.0, albumentations, beautifulsoup4, datasets, decord, diffusers>=0.30.1, einops, ftfy, func_timeout, gradio>=3.41.2, imageio, imageio, librosa, numpy, omegaconf, onnxruntime, opencv-python, pillow, safetensors, scikit-image, sentencepiece, tensorboard, timm, tomesd, torch>=2.1.2, torchdiffeq, torchsde, transformers>=4.46.2. This node specifically requires PyTorch version 2.1.2 or newer.

requirements.txt
accelerate>=0.25.0
albumentations
beautifulsoup4
datasets
decord
diffusers>=0.30.1
einops
ftfy
func_timeout
gradio>=3.41.2
imageio
imageio
librosa
numpy
omegaconf
onnxruntime
opencv-python
pillow
safetensors
scikit-image
sentencepiece
tensorboard
timm
tomesd
torch>=2.1.2
torchdiffeq
torchsde
transformers>=4.46.2

🛠️ Interactive Setup & Dependency Resolver

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

⚠️ Special Environment Requirements:

Requires PyTorch version 2.1.2+.

To update PyTorch for your selected setup, run:
# Loading PyTorch command...