Install the Python dependencies
Install transformers, torch, torchvision, and Pillow in the Python environment you will use. These packages provide the AutoProcessor/AutoModelForCausalLM loading path and image loading used by the model's custom code.