torch torchvision diffusers transformers accelerate gradio numpy pillow