Git报错x509: certificate signed by unknown authority

Git报错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

Errors logged to /mnt/CV_data/Model/RerankerModel/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

参考资料:

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

你可能感兴趣的:(Git)