torch torchvision pillow numpy gradio pytorch-lightning transformers diffusers ftfy accelerate scipy