TODO: maybe this should be named "decompress"? But pushing this as useful working code.
Possible future additions: allow uncompressing a single layer rather than doing every layer. We probably would see the most benefit from not compressing weights layers.
We have a hypothesis that a lot of image pull time is spent decompressing data rather than merely pushing it.
This adds an
r8im uncompress
command which takes an image, decompresses each layer, and pushes it to the given destination.Example usage:
TODO: maybe this should be named "decompress"? But pushing this as useful working code.
Possible future additions: allow uncompressing a single layer rather than doing every layer. We probably would see the most benefit from not compressing weights layers.