We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ea24d commit 016e367Copy full SHA for 016e367
.buildkite/run-neuron-test.sh
@@ -25,8 +25,11 @@ if [ -f /tmp/neuron-docker-build-timestamp ]; then
25
last_build=$(cat /tmp/neuron-docker-build-timestamp)
26
current_time=$(date +%s)
27
if [ $((current_time - last_build)) -gt 86400 ]; then
28
+ # Remove dangling images (those that are not tagged and not used by any container)
29
docker image prune -f
- docker system prune -f
30
+ # Remove unused volumes / force the system prune for old images as well.
31
+ docker volume prune -f && docker system prune -f
32
+ # Remove huggingface model artifacts and compiler cache
33
rm -rf "${HF_MOUNT:?}/*"
34
rm -rf "${NEURON_COMPILE_CACHE_MOUNT:?}/*"
35
echo "$current_time" > /tmp/neuron-docker-build-timestamp
0 commit comments