当前位置:   article > 正文

Git报错处理_smudge filter lfs failed

smudge filter lfs failed

目录

clone报错:x509: certificate signed by unknown authority

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

  1. 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
  2. Errors logged to Qwen-7B-Chat/.git/lfs/objects/logs/20231220T074511.758960773.log
  3. Use `git lfs logs last` to view the log.
  4. error: external filter 'git-lfs filter-process' failed
  5. 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

  1. Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal: not a git repository (or any of the parent directories): .git\n"
  2. Git LFS initialized.

解决:

  1. git init
  2. git lfs install

Failed to connect to xxx.xxx.com port 8080: No route to host

  1. Cloning into 'Qwen1.5-14B-Chat'...
  2. 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指向错误的网关,删除该网关路由。

  1. route
  2. route del -net 172.18.0.0/16

详见:Conda报错解决:ProxyError: Conda cannot proceed due to an error in your proxy configuration.-CSDN博客


参考资料:

https://stackoverflow.com/questions/60349972/git-lfs-give-x509-certificate-signed-by-unknown-authority

ubuntu20.04 安装 Git LFS - 知乎

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号