Skip to content

Commit

Permalink
Adds BentoML to docs & examples
Browse files Browse the repository at this point in the history
Chose gitsubmodule because I'm lazy for the example code.
Otherwise added a some documentation references.
  • Loading branch information
skrawcz committed Dec 12, 2024
1 parent 4c7ccbd commit 2bbbcaa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "examples/deployment/bentoml/BentoBurr"]
path = examples/deployment/bentoml/BentoBurr
url = https://github.com/bentoml/BentoBurr
8 changes: 8 additions & 0 deletions docs/examples/deployment/infrastructure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ Burr is not opinionated about the method of deployment/cloud one uses. Any metho
(AWS, vercel, etc...). Note we aim to have more examples here -- see `this issue <https://github.com/DAGWorks-Inc/burr/issues/390>`_ to track!

- `Deploying Burr in an AWS lambda function <https://github.com/DAGWorks-Inc/burr/tree/main/examples/deployment/aws/lambda>`_
- `Deploying Burr using BentoML <https://github.com/DAGWorks-Inc/burr/tree/main/examples/deployment/aws/bentoml>`_


Using BentoML
-------------
[BentoML](https://github.com/bentoml/BentoML) is a specialized tool to package, deploy, and manage AI services.
For example, it allows you to create a REST API for your Burr application with minimal effort.
See the `Burr + BentoML example <https://github.com/DAGWorks-Inc/burr/tree/main/examples/deployment/aws/bentoml>`_ for more information.
1 change: 1 addition & 0 deletions docs/examples/deployment/web-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ To run Burr in a FastAPI server, see the following examples:
- `Use typed state with Pydantic + FastAPI <https://github.com/DAGWorks-Inc/burr/tree/main/examples/typed-state>`_
- `Burr + FastAPI + docker <https://github.com/mdrideout/burr-fastapi-docker-compose>`_ by `Matthew Rideout <https://github.com/mdrideout>`_. This contains a sample web server API + UI + tracking server all bundled in one!
- `Docker compose + nginx proxy <https://github.com/DAGWorks-Inc/burr/tree/main/examples/email-assistant#running-the-ui-with-email-server-backend-in-a-docker-container>`_ by `Aditha Kaushik <https://github.com/97k>`_ for the email assistant example, demonstrates running the docker image with the tracking server.
- `BentoML + Burr <https://github.com/DAGWorks-Inc/burr/tree/main/examples/deployment/aws/bentoml>`_ for deploying Burr with BentoML as a web-service.

Connecting to a database
------------------------
Expand Down
1 change: 1 addition & 0 deletions examples/deployment/bentoml/BentoBurr
Submodule BentoBurr added at 849850

0 comments on commit 2bbbcaa

Please sign in to comment.