While going through PyTorch documentation, I came across the term hermetic packages:
torch.package adds support for creating hermetic packages containing arbitrary PyTorch code. These packages can be saved, shared, used to load and execute models at a later date or on a different machine, and can even be deployed to production using torch::deploy.
I don't understand what hermetic packages mean in this context.
- Can someone explain what makes packages hermetic?
- What would non-hermetic packages look like?
With some search over Stack Overflow [1][2], it seems this terminology is a generic term used in software world. Any examples - even outside of PyTorch/Python world - would help in solidifing my understanding.
Thank you!
[1] Creating Hermetic Maven Builds [2] Bazel: hermetic use of jar command?