From 2aa545a810984b9f00d6ff99512633442d86115e Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Sun, 21 Dec 2025 00:49:59 -0800 Subject: [PATCH] Added PSA about build cache --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index abf766e..ec80752 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,26 @@ The Dockerfile builds from the main branch of VLLM, so depending on when you run ## CHANGELOG +**IMPORTANT** + +You may want to prune your build cache every once in a while, especially if you've been using these container builds since the beginning. + +You can check the build cache size by running: + +```bash +docker system df +``` + +To prune the cache for the first time or if you notice unusually big cache size, use: + +```bash +docker builder prune +``` + +Don't do it every time you rebuild, because it will slow down compilation times. + +For periodic maintenance, I recommend using a filter: `docker builder prune --filter until=72h` + ### 2025-12-20 - Limited ccache to 50G when building from source to reduce build cache size.