# ComfyUI-QwenVL-Utils Requirements

# Core dependencies
torch>=1.13.0  # 2.0+ recommended for torch.compile and SDPA, but 1.13+ works
numpy>=1.20.0
Pillow>=8.0.0
psutil>=5.0.0

# HuggingFace dependencies
transformers>=4.37.0  # 4.45+ recommended for Qwen2-VL, 4.37+ minimum
accelerate>=0.20.0
huggingface_hub>=0.14.0

# Vision processing (for video path input)
opencv-python>=4.5.0

# Optional: For 4-bit and 8-bit quantization (HuggingFace models)
# bitsandbytes>=0.41.0

# Optional: For GGUF model support
# llama-cpp-python>=0.2.90

# Optional: For SageAttention (improved attention efficiency)
# sageattention>=1.0.0

# Optional: For Flash Attention 2 (requires CUDA)
# flash-attn>=2.5.0
