bentoml / BentoML

The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
https://bentoml.com
Apache License 2.0
7.18k stars 793 forks source link

feat: support reading build config and dependencies from pyproject.toml #5042

Closed frostming closed 1 month ago

frostming commented 1 month ago

Signed-off-by: Frost Ming me@frostming.com

What does this PR address?

The following fields are read:

[project]
name = "myservice"
dependencies = ["torch"]

[tool.bentoml.build]
# same structure as bentofile.yaml