Wrong file is being downloaded

I uploaded a file to a dataset repo, however when downloading it does not download the uploaded file, there seems to be some old copy stored which is instead downloaded. I have deleted and uploaded again via the API as well as the browser. Also when uploading it with a different name it does download the old version.
When using “hf_hub_download” it even raises the error: “OSError: Consistency check failed: file should be of size 1448673280 but has size 448000000”. Which identifies the correct file size (1,48GB) and recognizes that it is too small (448MB). Also, in the browser the correct file size is displayed.

Any ideas how I can solve that?

the file can be found here: https://huggingface.co/datasets/torchgeo/CropClimateX/resolve/main/landsat8/landsat8_12063_0-9_test.zarr.tar

1 Like

It’s a 400MB file that’s also being downloaded here…

At first I thought it might be a problem with the git revision, but it’s more likely to be something to do with the LFS pointers or something like that. In any case, this is a bad anomaly… @pierric

The support solved the problem, but I don’t know what they did.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.