torchvision transformers diffusers opencv-python-headless safetensors pillow accelerate geffnet glob2