在拉取模型时候,报了如下 错误
Error(s) during clone:
git clone failed: exit status 128
错误原因
fatal: unable to access 'https://www.modelscope.cn/ZhipuAI/chatglm3-6b.git/': Failed to connect to 127.0.0.1 port 7891: Connection refused
完整示例
(base) root@XXX: git lfs clone https://XXX.git
WARNING: 'git lfs clone' is deprecated and will not be updated
with new flags from 'git clone'
'git clone' has been updated in upstream Git to have comparable
speeds to 'git lfs clone'.
Cloning into 'XXX'...
fatal: unable to access 'https://XXX/XXX.git/': Failed to connect to 127.0.0.1 port 7891: Connection refused
Error(s) during clone:
git clone failed: exit status 12
解决示例
git config --global --unset http.proxy