21 GB down to about 5 GB, same features ๐ณ
In F1, extra weight costs lap time. In production, my EC2 host ran out of disk in the middle of a deploy.
I attached a new EBS volume to the running server and finished the deploy. Then the Docker image went on a diet: CPU-only PyTorch because the server has no GPU, a slim Python 3.11 base, and no pip cache.
Same chat, about a quarter of the weight. Light wins, on track and in production ๐
What's the heaviest thing you've found in a Docker image? ๐
0 likes ยท 3 views ยท Nov 15, 2026
21 GB down to about 5 GB, same features ๐ณ In F1, extra weight costs lap time. In production, my EC2 host ran out of disk in the middle of a deploy. I attach...