? ? ? ? 報錯如下:
Collecting git+https://github.com/haotian-liu/LLaVA.git
? Cloning https://github.com/haotian-liu/LLaVA.git to /tmp/pip-req-build-360q6tt1
? Running command git clone --filter=blob:none --quiet https://github.com/haotian-liu/LLaVA.git /tmp/pip-req-build-360q6tt1
? error: RPC failed; curl 18 transfer closed with outstanding read data remaining
? fatal: The remote end hung up unexpectedly
? fatal: early EOF
? fatal: index-pack failed
? warning: Clone succeeded, but checkout failed.
? You can inspect what was checked out with 'git status'
? and retry the checkout with 'git checkout -f HEAD'
? ? ? ? 有可能是由于倉庫非常大,導致的克隆過程中斷。解決:使用--depth參數進行淺克隆,只克隆最近的一次提交:
git clone https://github.com/haotian-liu/LLaVA.git --depth 1