赞
踩
(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.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。