git lfs pull 出现错误:cannot write data to tempfile “/root/8dc6d01e84acccd8a5769d5”: LFS: unexpected EOF。
详细错误如下:
[root@1b1ce99f56bb WebGLM-2B]# git lfs pull
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM-2B/.git/lfs/incomplete/8dc6d01e84acccd8a5769d5a62fab8c1dbcfc361317b26a1c35546a731d32c9a152050438”: LFS: unexpected EOF
error: failed to fetch some objects from ‘https://huggingface.co/THUDM/WebGLM-2B.git/info/lfs’
[root@1b1ce99f56bb WebGLM-2B]#
[root@1b1ce99f56bb WebGLM]# git lfs pull
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/99648a921bca42a750a88d51793c2ceb2793ac83883abde7cccf359be61ef19a589687555”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/658cd5fcaead8ecaf90526599c293ee3e497443f74dfeb695c3a1c5b118c0382032834791”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/d70905a79f4033b20a3e818c58d2bc492a64eb21c4240d9b9f11dcfd18afa24c621426088”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/bc9e4bdf1bb3c9710e23da350188c8c3ad913b5511f79e8959d47566e300f3ec548933766”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/c10b0f81158c54bb3c49185cd65dae9d81aa5ae9d94cb92eab6aeca2de9c6a4c251274985”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/1e0e7f81d689324fb7c01a63e1cb29e22bbc1c66c91618c02a2161f0ed472a83187737645”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/0209aa7dcf142291f794b173f903600814b857aee47488a232e561a2303cd19f326854962”: LFS: unexpected EOF
cannot write data to tempfile “/root/WebGLM/THUDM/WebGLM/.git/lfs/incomplete/47284e45b5145bb45b5f3b7ee6061c490bf635863392e1a59b9927677023e5a8377126196”: LFS: unexpected EOF
error: failed to fetch some objects from ‘https://huggingface.co/THUDM/WebGLM.git/info/lfs’
解决方法;
其他配置参考:https://blog.csdn.net/u014374009/article/details/136206162
git config --global http.sslVerify true
git config --global http.sslBackend schannel
再次使用:
[root@1b1ce99f56bb WebGLM]# git lfs pull
Downloading LFS objects: 0% (0/14), 26 GB | 66 MB/s
只要网络没问题,就可以很快拉取完成。