Slackbot
02/01/2023, 6:21 PMBo
02/01/2023, 8:05 PMDavid Griffiths
02/02/2023, 9:26 AMSean
02/02/2023, 8:28 PMDavid Griffiths
02/03/2023, 10:07 AMDavid Griffiths
02/03/2023, 10:08 AMDavid Griffiths
02/06/2023, 12:27 PMWill Barnsley
02/08/2023, 1:05 PMCustom Artifact
class, is it thought this will be possible with a Custom Runner
? @Bo @SeanSean
02/10/2023, 11:47 AMsave_model
, manually encrypt the model file saved under $BENTOML_HOME/models
. Encrypt model files only and do not encrypt model.yaml
.
2. Customize the `ENTRYPOINT` using Dockerfile template to decrypt the model in the container before starting the service.
3. Build and containerize the bento.Will Barnsley
02/10/2023, 11:47 AMSean
02/10/2023, 11:50 AMWill Barnsley
02/10/2023, 11:52 AMWill Barnsley
02/10/2023, 11:54 AMSean
02/10/2023, 11:55 AMsave_model
and load_model
APIs to encrypt and decrypt the model files in memory. I don’t think that is too hard to add a callback function to these APIs.Sean
02/10/2023, 11:55 AMWill Barnsley
02/10/2023, 11:58 AMCustom Runner
build inheriting from the Transformer
runnable? that is tbdSean
02/10/2023, 12:00 PMcustom runner
to do this is possible but you will have to implement all the model packaging and loading logic, unfortunately.Sean
02/10/2023, 12:00 PMWill Barnsley
02/10/2023, 12:05 PMtransformers
currently but may also have route with a custom framework.Sean
02/10/2023, 12:07 PMWill Barnsley
02/10/2023, 12:45 PM