Can you add a readiness probe to detect whether the model is successfully loaded?
s
Suhas
01/16/2023, 9:20 AM
yes model is loaded when api arrives, only problem is model is not pre-loaded which is some time consuming
x
Xipeng Guan
01/16/2023, 9:22 AM
Oh, I see what you mean, so wouldn't it be better to put the model loading logic in the readiness probe, so that the model will be loaded into memory when the pod is ready?
s
Suhas
01/16/2023, 9:24 AM
i am not sure, about readiness probe on bentoml v0.13.1, can i specify somewhere?? maybe an example?