Slackbot
12/05/2022, 4:51 PMAaron Pham
12/05/2022, 8:10 PMAaron Pham
12/05/2022, 8:10 PMGreg
12/06/2022, 2:17 AMservice: "service.py:svc"
include:
- "service.py"
- "configuration.yaml"
docker:
distro: debian
base_image: "<http://gcr.io/my-ai-org/debian-py39-cuda116-conda:latest|gcr.io/my-ai-org/debian-py39-cuda116-conda:latest>"
setup_script: "./setup.sh"
env:
BENTOML_CONFIG: "src/configuration.yaml"
Greg
12/06/2022, 2:18 AMbase_image
.Greg
12/06/2022, 2:19 AMsetup.sh
, but on every bentoml containerize
, you have to rebuild those dependencies, which is incredibly slow for some CUDA-enabled libraries.Aaron Pham
12/06/2022, 3:12 AMAaron Pham
12/07/2022, 2:55 AMcontainerize
. This means that if the base image already have a conda environment, the result container from bentoml containerize would not have access to the conda env from the base_image
Aaron Pham
12/07/2022, 2:55 AM