@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 77f7ef2908
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 09:30 UTC

[CI/Build] Adding a forced docker system prune to clean up space (#9849)

Alexei-V-Ivanov-AMD committed Oct 31, 2024 at 12:02 UTC 77f7ef29088fef854421239e7c41df6b11bc4b5b
1 file changed +2 -2
.buildkite/run-amd-test.sh
+2 -2
@@ -31,8 +31,8 @@ cleanup_docker() {
31 echo "Disk usage is above $threshold%. Cleaning up Docker images and volumes..."
32 # Remove dangling images (those that are not tagged and not used by any container)
33 docker image prune -f
34 - # Remove unused volumes
35 - docker volume prune -f
34 + # Remove unused volumes / force the system prune for old images as well.
35 + docker volume prune -f && docker system prune --force --filter "until=72h" --all
36 echo "Docker images and volumes cleanup completed."
37 else
38 echo "Disk usage is below $threshold%. No cleanup needed."