例如克隆 streaming-llm时出现如下报错信息:
Cloning into ‘streaming-llm’…
Warning: Permanently added ‘github.com’ (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方法:
将ssh方式的链接改为http的方式即可
即,将下面
git clone git@github.com:mit-han-lab/streaming-llm.git
改为
git clone https://github.com/mit-han-lab/streaming-llm.git