Skip to content

Conversation

@RasmusOrsoe
Copy link
Collaborator

@RasmusOrsoe RasmusOrsoe commented Jan 6, 2026

This PR solves #861 by adding --no-cache-dir to pip installation commands. By using this optional argument, pip does not store wheels after installation, freeing up multiple gb's of space.

Additionally, the PR adds another print statement of diskusage to the workflow for future debugging. Below is the usage before and after installation for reference.

Before installation

Filesystem      Size  Used Avail Use% Mounted on
overlay          73G   63G   11G  87% /
tmpfs            64M     0   64M   0% /dev
shm              64M     0   64M   0% /dev/shm
/dev/root        73G   63G   11G  87% /__t
tmpfs           3.2G  1.3M  3.2G   1% /run/docker.sock
tmpfs           7.9G     0  7.9G   0% /proc/acpi
tmpfs           7.9G     0  7.9G   0% /proc/scsi
tmpfs           7.9G     0  7.9G   0% /sys/firmware

After installation

Filesystem      Size  Used Avail Use% Mounted on
overlay          73G   69G  3.9G  95% /
tmpfs            64M     0   64M   0% /dev
shm              64M     0   64M   0% /dev/shm
/dev/root        73G   69G  3.9G  95% /__t
tmpfs           3.2G  1.3M  3.2G   1% /run/docker.sock
tmpfs           7.9G     0  7.9G   0% /proc/acpi
tmpfs           7.9G     0  7.9G   0% /proc/scsi
tmpfs           7.9G     0  7.9G   0% /sys/firmware

closes #861

@RasmusOrsoe RasmusOrsoe changed the title Omit caching of pip packages in installation Reduce disk usage of IceTray Runner Jan 6, 2026
Copy link
Collaborator

@Aske-Rosted Aske-Rosted left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, nice with the additional information about the available space for the future.

@RasmusOrsoe RasmusOrsoe merged commit 84bfbf8 into graphnet-team:main Jan 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IceTray runner fails due to disk quota exceeded

2 participants