torch diffusers transformers safetensors accelerate sentencepiece peft