ator@DESKTOP-QLU53NH MINGW64 /f/langchain $ git clone…
- User
ator@DESKTOP-QLU53NH MINGW64 /f/langchain $ git clone https://www.modelscope.cn/AI-ModelScope/bge-large-zh-v1.5.git Cloning into 'bge-large-zh-v1.5'... remote: Enumerating objects: 31, done. remote: Counting objects: 100% (31/31), done. remote: Compressing objects: 100% (27/27), done. remote: Total 31 (delta 5), reused 0 (delta 0), pack-reused 0 Receiving objects: 100% (31/31), 168.51 KiB | 331.00 KiB/s, done. Resolving deltas: 100% (5/5), done. Downloading model.safetensors (1.3 GB) Error downloading object: model.safetensors (74541fa): Smudge error: Error downloading model.safetensors (74541fa3bddf35c2ed35a7c21542776fb830cde7d372dbe05ca42aa70f2bf904): expected OID 74541fa3bddf35c2ed35a7c21542776fb830cde7d372dbe05ca42aa70f2bf904, got 9bdaa78f4f54bfffce5e362c31432508c6519002120f4c9923f0e7d5256f8058 after 316505040 bytes written
Errors logged to 'F:\langchain\bge-large-zh-v1.5.git\lfs\logs\20240516T231136.5286388.log'. Use
git lfs logs lastto view the log. error: external filter 'git-lfs filter-process' failed fatal: model.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 :/'Administrator@DESKTOP-QLU53NH MINGW64 /f/langchain $ git clone https://www.modelscope.cn/AI-ModelScope/bge-large-zh-v1.5.git GIT_CLONE_PROTECTION_ACTIVE=false fatal: destination path 'GIT_CLONE_PROTECTION_ACTIVE=false' already exists and is not an empty directory.
- Assistant
It seems like you entered a wrong command while trying to clone the repository with the
GIT_CLONE_PROTECTION_ACTIVE=falseoption. Instead, you should use the environment variableGIT_LFS_SKIP_SMUDGE=trueto bypass Git LFS during the clone process.Try running the following command:
bashGIT_LFS_SKIP_SMUDGE=true git clone https://www.modelscope.cn/AI-ModelScope/bge-large-zh-v1.5.gitThis should allow you to clone the repository without the Git LFS smudge filter causing any issues.