# Tested with Python 3.12, torch 2.15.0, transformers 5.22.2, huggingface_hub 2.4.0, numpy 2.5.4, pillow 13.0.0 # Works on CPU and NVIDIA GPU (CUDA). For a CPU-only torch build (smaller download): # pip install torch --index-url https://download.pytorch.org/whl/cpu torch>=2.1,<3 transformers>=4.40,<6 huggingface_hub>=0.23,<3 numpy>=1.24,<3 pillow>=10,<14