Slackbot
11/14/2022, 11:08 AMAaron Pham
11/15/2022, 6:40 AMd run -e BENTOML_CONFIG=/home/bentoml/bentoml_configuration.yaml -v /path/to/bentoml_configuration.yaml:/home/bentoml/bentoml_configuration.yaml bento:tag ...Smiral
11/15/2022, 6:48 AMAaron Pham
11/15/2022, 7:07 AMSmiral
11/15/2022, 7:35 AMAaron Pham
11/15/2022, 7:58 AMfunction is batch process?
Does this mean the function takes batch inputs?
cc @JiangJiang
11/15/2022, 8:03 AMbatchable=True, if we call runner.run([1]) and runner.run([2]) on the api servers side, on the runner side may bentoml may just call model.predict([1, 2]) because of the batching optimization.Smiral
11/15/2022, 8:24 AMJiang
11/15/2022, 8:25 AMJiang
11/15/2022, 8:26 AMSmiral
11/15/2022, 8:28 AMJiang
11/15/2022, 8:33 AMSmiral
11/15/2022, 8:34 AMJiang
11/15/2022, 8:34 AMJiang
11/15/2022, 8:35 AMdoes bentoml automatically calculate based on model inference time whether to batch inputsThis one. It will track the RTT of model inferences
Smiral
11/15/2022, 8:38 AMJiang
11/15/2022, 8:38 AMJiang
11/15/2022, 8:38 AM