Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to free up space in disk on Colab TPU?

I am training a few deep learning models on Google Colab with runtime type set to TPU. The RAM and disk status shows that I have used most of my disk storage on Colab. Is there a way to reset it? Or to delete something to free up some more disk space? I know that I can change to GPU which will give me a lot more disk space, however, my models take forever to change, so I would really like to stay with TPU. Thanks in advance!

like image 824
classyflyer Avatar asked Nov 28 '19 10:11

classyflyer


1 Answers

A few places you might delete by rm -rf and reclaim some spaces.

  • 5.6G from /usr/local/lib/python2.7
  • 5.3G from /swift
  • 3.0G from /usr/local/cuda-10.1
  • 3.0G from /usr/local/cuda-10.0
  • 2.1G from /tensorflow-2.0.0
  • 1.3G from /usr/local/lib/python3.6/dist-packages/torch
  • 788M from /opt/nvidia
  • 474M from /usr/local/lib/python3.6/dist-packages/pystan
  • 423M from /usr/local/lib/python3.6/dist-packages/spacy
like image 80
korakot Avatar answered Sep 21 '22 07:09

korakot