error: external filter git-lfs smudge -- %f failed 2 error: external filter git-lfs smudge -- %f fai
第二步: git config --global core.longpaths true。第一步: git lfs install --skip-smudge。第三步: 初始化.git文件: git init。
·
error: external filter git-lfs smudge -- %f failed 2 error: external filter git-lfs smudge -- %f failed fatal: pytorch_model-00001-of-00002.bin: smudge filter lfs failed warning: Clone succeeded, but checkout failed.
错误
(lj) [root@test2 character]# git clone git@hf.co:thu-coai/CharacterGLM-6B
Cloning into 'CharacterGLM-6B'...
The authenticity of host 'hf.co (3.210.66.237)' can't be established.
ECDSA key fingerprint is SHA256:aBG5R7IomF4BSsx/h6tNAUVLhEkkaNGB8Sluyh/Q/qY.
ECDSA key fingerprint is MD5:e9:50:51:12:cc:b5:9a:16:4f:77:af:6c:e1:09:2d:ae.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'hf.co,3.210.66.237' (ECDSA) to the list of known hosts.
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 32 (delta 9), reused 0 (delta 0), pack-reused 3
Receiving objects: 100% (32/32), 33.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (9/9), done.
Downloading pytorch_model-00001-of-00002.bin (10 GB)
Error downloading object: pytorch_model-00001-of-00002.bin (0a455d8): Smudge error: Error downloading pytorch_model-00001-of-00002.bin (0a455d80479b771e8579dd9628bbafbfa573198e70698c0ed9fdaf9eae22c9b7): batch response: Post "https://huggingface.co/thu-coai/CharacterGLM-6B.git/info/lfs/objects/batch": dial tcp 31.13.87.19:443: i/o timeout
Errors logged to /data/lj/character/CharacterGLM-6B/.git/lfs/logs/20240416T182809.903110594.log
Use `git lfs logs last` to view the log.
error: external filter git-lfs smudge -- %f failed 2
error: external filter git-lfs smudge -- %f failed
fatal: pytorch_model-00001-of-00002.bin: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
解决办法:
第一步: git lfs install --skip-smudge
第二步: git config --global core.longpaths true
第三步: 初始化.git文件: git init
第四步:重新下载
(lj) [root@test2 character]# git lfs install --skip-smudge
Updated git hooks.
Git LFS initialized.
(lj) [root@test2 character]# git config --global core.longpaths true
(lj) [root@test2 character]# git init
Initialized empty Git repository in /data/lj/character/.git/
(lj) [root@test2 character]# git clone git@hf.co:thu-coai/CharacterGLM-6B
Cloning into 'CharacterGLM-6B'...
Warning: Permanently added the ECDSA host key for IP address '34.198.14.237' to the list of known hosts.
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 32 (delta 9), reused 0 (delta 0), pack-reused 3
Receiving objects: 100% (32/32), 33.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (9/9), done.
开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!
更多推荐
已为社区贡献7条内容
所有评论(0)