tiangolo / fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production
https://fastapi.tiangolo.com/
MIT License
73.34k stars 6.18k forks source link

fast api support for calling libraries that use MPI? #11544

Closed NiKeYiGuN closed 2 months ago

NiKeYiGuN commented 2 months ago

Privileged issue

Issue Content

I have a project that uses Fast api and another that requires parallel computation using MPI, is it feasible to start the program via CMD ["mpirun -np 4 python", "main.py"]?