Slackbot
09/29/2022, 6:59 PMSean
09/30/2022, 12:05 AMMatthieu Vanhoutte
09/30/2022, 6:09 AMMatthieu Vanhoutte
09/30/2022, 3:16 PMbatchable=True
since there is no save_model
method with model signature?Sean
10/04/2022, 9:50 AMbatchable=True
can be specified as a Runnable decorator.
@bentoml.Runnable.method(batchable=False)
def is_spam(self, input_data: NDArray[Any]) -> NDArray[Any]:
return self.classifier.predict(input_data)
More details here, https://docs.bentoml.org/en/latest/concepts/runner.html#custom-model-runner