Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert control server from Flask to FastAPI #358

Merged
merged 13 commits into from
Jun 13, 2023
Merged

Conversation

bolasim
Copy link
Collaborator

@bolasim bolasim commented Jun 10, 2023

FastAPI offers many performance improvements and allows us to have a consistent approach to various parts of the codebase (serialization middleware, etc).

Integration tests are passing: https://github.com/basetenlabs/truss/actions/runs/5247629590

@bolasim bolasim marked this pull request as ready for review June 12, 2023 19:49
squidarth and others added 2 commits June 12, 2023 22:54
* Logging setup from control module.

* Try new version.
@bolasim bolasim merged commit 4395d99 into main Jun 13, 2023
3 checks passed
@bolasim bolasim deleted the bola/control-fastapi branch June 13, 2023 05:49
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 25, 2023
bolasim added a commit that referenced this pull request Jun 26, 2023
* Revert "Move inference server from thread to startup of control server (#379)"

This reverts commit 9c4f037.

* Revert "Fix async issues with control server and use the same Uvicorn setup as inference (#373)"

This reverts commit dc0d27f.

* Revert "Convert control server from Flask to FastAPI (#358)"

This reverts commit 4395d99.

* Fix bad dep configuration for builder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants