Flask diffusers torch accelerate transformers uvicorn