# HF cache no space left on device

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhf-cache-no-space-left-on-device%2F147994%3E%5C
**Category:** 🤗Datasets\
**Created:** [March 29, 2025, 7:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhf-cache-no-space-left-on-device%2F147994 "2025-03-29T19:18:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [March 30, 2025, 12:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhf-cache-no-space-left-on-device%2F147994%2F4 "2025-03-30T12:58:42Z")

</div>

In a cloud environment, there are a lot of problems that can occur, such as the cache being deployed to a directory without permissions…

However, if it was working until a short time ago, maybe it can be restored by downgrading the library?

> <https://github.com/Azure/azure-storage-fuse/issues/130>
>
> When I copy large files (like unzipped ftp://ftp.uniprot.org/pub/databases/unipr…ot/current\_release/knowledgebase/idmapping/idmapping\_selected.tab.gz ) to mounted azore storage I often get:
> \`\`\`
> cp: error writing '/storage/indexes/uniprot/idmapping\_selected.tab': No space left on device
> \`\`\`
> I wonder how can it be possible at all?

> [@"No space left on device" when using HuggingFace + SageMaker](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fno-space-left-on-device-when-using-huggingface-sagemaker%2F5406)%3A
>
> Hi, I’m trying to train a model using a HuggingFace estimator in SageMaker but I keep getting this error after a few minutes: [1,15]: File “pyarrow/ipc.pxi”, line 365, in pyarrow.lib.\_CRecordBatchWriter.write\_batch [1,15]: File “pyarrow/error.pxi”, line 97, in pyarrow.lib.check\_status [1,15]:OSError: [Errno 28] Error writing bytes to file. Detail: [errno 28] No space left on device [1,15]: I’m not sure what is triggering this problem because the volume size is high (volume\_size=1024) …

> [@"No space left on device" when using model.push\_to\_hub()](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fno-space-left-on-device-when-using-model-push-to-hub%2F88941)%3A
>

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhf-cache-no-space-left-on-device%2F147994)._
