Authorisation error on clone

Any clone for public models is throwing authorisation error for lfs files. Adding token for public repos also does not solve the problem.

I assumed its rate limiting for my account but have tried with multiple accounts and multiple IPs.

root@c308a91867e3:/workspace/test# git clone https://USER:{token}@huggingface.co/stabilityai/stable-diffusion-2
Cloning into 'stable-diffusion-2'...
remote: Enumerating objects: 160, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (156/156), done.
remote: Total 160 (delta 66), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (160/160), 603.93 KiB | 1.06 MiB/s, done.
Resolving deltas: 100% (66/66), done.
Downloading 768-v-ema.ckpt (5.2 GB)
Error downloading object: 768-v-ema.ckpt (bfcaf07): Smudge error: Error downloading 768-v-ema.ckpt (bfcaf0755797b0c30eb00a3787e8b423eb1f5decd8de76c4d824ac2dd27e139f): LFS: Authorization error: https://cdn-lfs.huggingface.co/repos/16/a3/16a359af3eb418f17aac82f188cf7c13f373707f434bd94ff1ef727636e38e2a/bfcaf0755797b0c30eb00a3787e8b423eb1f5decd8de76c4d824ac2dd27e139f?Expires=1674818650&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4tbGZzLmh1Z2dpbmdmYWNlLmNvL3JlcG9zLzE2L2EzLzE2YTM1OWFmM2ViNDE4ZjE3YWFjODJmMTg4Y2Y3YzEzZjM3MzcwN2Y0MzRiZDk0ZmYxZWY3Mjc2MzZlMzhlMmEvYmZjYWYwNzU1Nzk3YjBjMzBlYjAwYTM3ODdlOGI0MjNlYjFmNWRlY2Q4ZGU3NmM0ZDgyNGFjMmRkMjdlMTM5ZiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY3NDgxODY1MH19fV19&Signature=A234Kpj3qaajVf5fZ7KdThd423no4FDhI%7ECDBL5eH5tzGKiAuCrbWMWqAU3BRzyRGvlds3zesFf31kr3xBfzazHG-mSGogYOhgmu7H8wwF5dy%7EPnUHKB4yVw8oohhk2xTWi2sVW32YLx%7Ez2twWonEJTCUO51OWM6BegIwgcZYkXqYtRq0PRrb371VSNvP7W%7ESS%7E%7EHo1nONY7X57KgsO18rolA-ztb6-TfFOUu%7ED5q%7EJLQiwHBSGNqNKlwEI7OfePMHLpurShUgTEpMfbgIaX9XfjaXJH4i1EJryIll7lgMRc7cljAbPjA7cixlf8YNMaSBmL45HVjsFkvS7GzKfMJg__&Key-Pair-Id=KVTP0A1DKRTAX&response-content-disposition=
Check that you have proper access to the repository

hi @dementorSam, please try again, we might have fixed the issue.

1 Like

hi @radames, I’m getting the same error message with git clone mistralai/Mistral-7B-Instruct-v0.2 · Hugging Face

It works fine with the v0.1 model. e.g. git clone mistralai/Mistral-7B-v0.1 · Hugging Face

hi @dementorSam,

Can you please try without user and token?

git lfs install
git clone https://huggingface.co/mistralai/Mixtral-8x7B-v0.1

Another option is

git lfs install
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/mistralai/Mixtral-8x7B-v0.1
cd Mistral-7B-Instruct-v0.2
# then you selective pull the LFS files
# e.g all safetensors 
git lfs pull *.safetensors 
1 Like