My colleague was investigating similar today as we’re experimenting with BentoML, and found that having a large local virtualenv folder caused the build to take over an hour, removing it via
exclude
in
bentofile.yaml
fixed this.
(It could be unrelated)
m
Mohammad Hamza Awan
11/17/2022, 4:24 PM
Thanks a lot, will try and also update you
Mohammad Hamza Awan
11/17/2022, 10:51 PM
I have tried your suggestion with explicitly mentioning not to include the virtual environment directory in the bentofile.yaml. It has fixed the issue now it takes on around 10 seconds to build the bento. Thanks loads once again.
👍 1
a
Aaron Pham
11/19/2022, 12:57 AM
Hmm I’m wondering maybe we can detect virtualenv and exclude those by default