torch torchvision diffusers transformers accelerate gradio Pillow numpy