logo
51
166
WeChat Login

从本地用Git lfs 上传至CNB仓库的大文件,再在另一个构建中用git clone 复制这个大文件的仓库提示无法正确复制,导致运行过程中无法识别克隆的这个大文件#1981

Closed
created 2025-09-13
Edit

描述一下体验不好的点

a6bbf6ef-b7f5-4f66-9343-1b8169084514.png 这是本地上传的git 记录 85f63084-aa72-4df5-b204-3634a09a3b46.png 再用git clone 就提示这个样子,无法正常复制,文件大小14G,这个问题该咋解决呢?

git lfs clone https://cnb.cool/momo114/model 一次性pull

或者先忽略lfs内容,再根据需要拉取特定文件

GIT_LFS_SKIP_SMUDGE=1 git clone https://cnb.cool/momo114/model
cd model
 git lfs pull --include="*.safetensors"
Administrator

从报错信息判断,是 lfs 文件下载过程中数据传输不完整,导致 checksum 判断时 hash 值不一样。 重试一次应该就会正常。

NPC
Close
Assignee
None yet
Label
仅讨论
Priority
None yet
Time period
-
Property
Add custom properties to record and label key information
Participant