gradio spaces torch diffusers transformers accelerate pillow numpy peft safetensors sentencepiece