git@hf.co: Permission denied (publickey).: exit status 255

#201
by jryhu - opened

Hi there, I'm new to huggingface. I'm using ssh to clone the repository. When I use command "git clone git@hf.co:meta-llama/Meta-Llama-3-8B", I got the following error message:

Cloning into 'Meta-Llama-3-8B'...
Enter passphrase for key '/c/Users/jryhu/.ssh/id_ed25519':
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 48 (delta 18), reused 37 (delta 12), pack-reused 0 (from 0)
Receiving objects: 100% (48/48), 2.25 MiB | 5.25 MiB/s, done.
Resolving deltas: 100% (18/18), done.
Updating files: 100% (17/17), done.
Downloading model-00001-of-00004.safetensors (5.0 GB)
Error downloading object: model-00001-of-00004.safetensors (f2c1441): Smudge error: Error downloading model-00001-of-00004.safetensors (f2c144103072514542e327fa8080bd375cb300f2d453fba9ca3aea81d0d4cf33): batch request: git@hf.co: Permission denied (publickey).: exit status 255

Errors logged to 'C:\Users\jryhu\Documents\ML\llama_HuggingFace\Meta-Llama-3-8B.git\lfs\logs\20240710T201304.0272138.log'.
Use git lfs logs last to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: model-00001-of-00004.safetensors: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I doublechecked ssh keys with "ssh -T git@hf.co" and it is okay. I also checked the downloaded files. I found only the files that have lfs tag are not downloaded. Does anyone know how to fix this? Thanks!!

Kind regards,

Sign up or log in to comment