fastapi uvicorn[standard] torch torchvision diffusers transformers accelerate pillow huggingface_hub safetensors