交个朋友吧

git下载报错

git clone下载模型时报错:

Error downloading object: model-00001-of-00014.safetensors (004d207): Smudge error: Error downloading model-00001-of-00014.safetensors (004d2070959177a0beeac5c01f4934fb5bb2c12ad36184dc58b5f23ab8f70f3a): batch response: Post "https://www.modelscope.cn/Qwen/QwQ-32B.git/info/lfs/objects/batch": tls: failed to verify certificate: x509: certificate signed by unknown authority Errors logged to '\\172.17.30.146\模型\QwQ-32B\.git\lfs\logs\20250313T100102.7167457.log'. Use `git lfs logs last` to view the log. error: external filter 'git-lfs filter-process' failed fatal: model-00001-of-00014.safetensors: smudge filter lfs failed warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/
  • 解决办法:
    image

临时跳过证书验证:
如果你信任目标服务器,可以通过以下命令临时跳过证书验证(不推荐在生产环境中使用):

GIT_SSL_NO_VERIFY=true git clone https://www.modelscope.cn/Qwen/QwQ-32B.git
或者在 Git 配置中设置:

git config --global http.sslVerify false
注意:这会降低安全性,因为连接可能被中间人攻击。

posted @ 2025-03-13 13:43  PamShao  阅读(141)  评论(0)    收藏  举报