目录
lfs报错:Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: not a git repository
Failed to connect to xxx.xxx.com port 8080: No route to host
clone报错:x509: certificate signed by unknown authority
Error downloading object: model-00001-of-00008.safetensors (ed3ac49): Smudge error: Error downloading model-00001-of-00008.safetensors (ed3ac4983f682a999b0e4b6f072aad294c4fd9a7e968e90835ba5c4b466d3c7c): LFS: Get https://cdn-lfs.huggingface.co/repos/XXX: x509: certificate signed by unknown authority
Errors logged to Qwen-7B-Chat/.git/lfs/objects/logs/20231220T074511.758960773.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: model-00001-of-00008.safetensors: smudge filter lfs failed
解决:
GIT_SSL_NO_VERIFY=1 git clone https://huggingface.co/Qwen/Qwen-7B-Chat
注:大文件可能需要下载几个小时,一直不显示大文件的进度是正常的
lfs报错:Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: not a git repository
Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: not a git repository (or any of the parent directories): .git\n"
Git LFS initialized.
解决:
git init
git lfs install
Failed to connect to xxx.xxx.com port 8080: No route to host
Cloning into 'Qwen1.5-14B-Chat'...
fatal: unable to access 'https://huggingface.co/Qwen/Qwen1.5-14B-Chat/': Failed to connect to xxx.xxx.com port 8080: No route to host
解决:
可能是路由配置有误,如果存在某个路由导致目标IP指向错误的网关,删除该网关路由。
route
route del -net 172.18.0.0/16
详见:Conda报错解决:ProxyError: Conda cannot proceed due to an error in your proxy configuration.-优快云博客
参考资料: