Some of those GB are for your libraries themselves. They can get HUGE.
Additionally, I think part of this as well is the multiple copies of libraries, which AFAIK is how
pip
resolves/installs packages.
The GH VMs claim to have 14GB if space. Not sure if that's gonna be even possible with those libraries 🤔