How to run PyTorch in an Upsun application? - Building a Sentiment Analysis API
This tutorial shows how to build a PyTorch/FastAPI sentiment analysis API and deploy it on Upsun. Configure a Python project with Upsun settings, use the CPU PyTorch version for efficiency, and define API endpoints. Deploy using Git and upsun push, then test via cURL or the Swagger UI.