3 ms·
Yes, this is a generic workflow, but when you start adding in e.g. torch[vision, audio], scipy, or any other "useful" processing library, things get out of hand
by jerpint 5y ago
Yes, this is a generic workflow, but when you start adding in e.g. torch[vision, audio], scipy, or any other "useful" processing library, things get out of hand pretty quickly and you need to start being more intelligent about what is really necessary to have inside the container. So for a model that is even a few mb, you have a surrounding container of a couple of GBs
- Fiahil 5y agoWhy would you need _any_ processing library in your runtime image ? You're not training anything, your model is set in stone.
- jerpint 5y agoYou need to run a forward pass somehow through a model, so at the very least you need something to define your operations + load your weights. You also need whatever libraries for any kind of signal processing you might do before to your inputs