<< All versions
Skill v1.0.0
currentAutomated scan100/100mkurman/zorai/bentoml
──Details
PublishedJuly 29, 2026 at 12:07 PM
Content Hashsha256:3bcad4c97cc6ff3b...
Git SHAd0acbfaf3d62
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 48 lines · 1.4 KB
version: "1.0.0" name: bentoml description: "BentoML — model serving and deployment. Build prediction services from any ML framework with OpenAPI/Swagger. Containerize, deploy to Kubernetes, AWS, GCP, Azure. Adaptive batching and GPU support." tags: [bentoml, model-serving, deployment, mlops, api, kubernetes, zorai]
Overview
BentoML packages ML models with service definitions, dependencies, environment config, and deployment targets into a portable "Bento." Deploy to Kubernetes (Kserve, Seldon), AWS SageMaker, GCP Vertex AI, or as a standalone Docker container.
Installation
bash
uv pip install bentoml
Service Definition
python
import bentomlfrom bentoml.io import JSONimport numpy as npiris_clf = bentoml.sklearn.get("iris_model:latest")@bentoml.serviceclass IrisClassifier:def __init__(self):self.model = iris_clf.to_runner()self.model.init_local()@bentoml.api(input=JSON(), output=JSON())def classify(self, input_data):result = self.model.run(np.array([input_data["features"]]))return {"class": int(result[0]), "probabilities": result[1].tolist()}
Build & Deploy
bash
bentoml build # creates a Bentobentoml containerize iris_classifier:latest # Docker imagedocker run -p 3000:3000 iris_classifier:latest