"No space left on device" when using model.push_to_hub()
Screenshot 2024-05-28 at 16.27.31888×98 13.3 KB
2024-05-28T20:26:46Z
Maybepush_to_hub()is writing some temporary file(s) to/tmp, which runs out of space?Try changing the location for the temporary files by puttingTMPDIR=/mnt/tmpin front of the command you are running (it seemed that you are working in /mnt, which has much space, but some other location could be better for the temp files). SeeTMPDIR - WikipediaEdit: Or actually is the partition that is used by HFH cache filling up? In that case it could be relocated withHF_HOMEorHF_HUB_CACHEenvs:Manage huggingface_hub cache-system