fastapi uvicorn sentence-transformers torch accelerate numpy nest_asyncio