[GH-ISSUE #688] 请指导下:运行“git submodule update”后报错,怎么处理? #500

Closed
opened 2026-10-29 14:40:32 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @pulj26pulj26 on GitHub (Feb 26, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/688

报错信息如下:
Cloning into '/root/autodl-tmp/ktransformers/third_party/llama.cpp'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 1645 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/ggerganov/llama.cpp.git' into submodule path '/root/autodl-tmp/ktransformers/third_party/llama.cpp' failed
Failed to clone 'third_party/llama.cpp'. Retry scheduled
Cloning into '/root/autodl-tmp/ktransformers/third_party/llama.cpp'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 1131 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/ggerganov/llama.cpp.git' into submodule path '/root/autodl-tmp/ktransformers/third_party/llama.cpp' failed
Failed to clone 'third_party/llama.cpp' a second time, aborting

我自己下载llama.cpp和pybind11,
运行:“bash install.sh”
提示
“找不到目录:「autodl-tmp/ktransformers/third_party」”
错误提示:“Building wheel for ktransformers (pyproject.toml) ... \install.sh: line 16: 8414 Killed KTRANSFORMERS_FORCE_BUILD=TRUE pip install . --no-build-isolation”

把install.sh里的代码一行一行敲到命令行里。运行到最后一行出错。最后一行命令是“KTRANSFORMERS_FORCE_BUILD=TRUE pip install . --no-build-isolation”
提示:“找不到目录
找不到目录:「autodl-tmp」”
错误提示:“ Building wheel for ktransformers (pyproject.toml) ... \Killed”

请大侠指点

Originally created by @pulj26pulj26 on GitHub (Feb 26, 2025). Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/688 报错信息如下: Cloning into '/root/autodl-tmp/ktransformers/third_party/llama.cpp'... error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) error: 1645 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/ggerganov/llama.cpp.git' into submodule path '/root/autodl-tmp/ktransformers/third_party/llama.cpp' failed Failed to clone 'third_party/llama.cpp'. Retry scheduled Cloning into '/root/autodl-tmp/ktransformers/third_party/llama.cpp'... error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) error: 1131 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/ggerganov/llama.cpp.git' into submodule path '/root/autodl-tmp/ktransformers/third_party/llama.cpp' failed Failed to clone 'third_party/llama.cpp' a second time, aborting 我自己下载llama.cpp和pybind11, 运行:“bash install.sh” 提示 “找不到目录:「autodl-tmp/ktransformers/third_party」” 错误提示:“Building wheel for ktransformers (pyproject.toml) ... \install.sh: line 16: 8414 Killed KTRANSFORMERS_FORCE_BUILD=TRUE pip install . --no-build-isolation” 把install.sh里的代码一行一行敲到命令行里。运行到最后一行出错。最后一行命令是“KTRANSFORMERS_FORCE_BUILD=TRUE pip install . --no-build-isolation” 提示:“找不到目录 找不到目录:「autodl-tmp」” 错误提示:“ Building wheel for ktransformers (pyproject.toml) ... \Killed” 请大侠指点
bsakaguchi 2026-10-29 14:40:32 +00:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@window1013 commented on GitHub (Mar 1, 2025):

同问,我也是执行git submodule update命令后出错,无法继续
正克隆到 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'...
错误:RPC 失败。curl 18 transfer closed with outstanding read data remaining
错误:预期仍然需要 3961 个字节的正文
fetch-pack: unexpected disconnect while reading sideband packet
致命错误:过早的文件结束符(EOF)
致命错误:fetch-pack:无效的 index-pack 输出
致命错误:无法克隆 'https://github.com/ggerganov/llama.cpp.git' 到子模组路径 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'
克隆 'third_party/llama.cpp' 失败。按计划重试
正克隆到 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'...
错误:RPC 失败。curl 18 transfer closed with outstanding read data remaining
错误:预期仍然需要 6580 个字节的正文
fetch-pack: unexpected disconnect while reading sideband packet
致命错误:过早的文件结束符(EOF)
致命错误:fetch-pack:无效的 index-pack 输出
致命错误:无法克隆 'https://github.com/ggerganov/llama.cpp.git' 到子模组路径 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'
第二次尝试克隆 'third_party/llama.cpp' 失败,退出

<!-- gh-comment-id:2692032608 --> @window1013 commented on GitHub (Mar 1, 2025): 同问,我也是执行git submodule update命令后出错,无法继续 正克隆到 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'... 错误:RPC 失败。curl 18 transfer closed with outstanding read data remaining 错误:预期仍然需要 3961 个字节的正文 fetch-pack: unexpected disconnect while reading sideband packet 致命错误:过早的文件结束符(EOF) 致命错误:fetch-pack:无效的 index-pack 输出 致命错误:无法克隆 'https://github.com/ggerganov/llama.cpp.git' 到子模组路径 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp' 克隆 'third_party/llama.cpp' 失败。按计划重试 正克隆到 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp'... 错误:RPC 失败。curl 18 transfer closed with outstanding read data remaining 错误:预期仍然需要 6580 个字节的正文 fetch-pack: unexpected disconnect while reading sideband packet 致命错误:过早的文件结束符(EOF) 致命错误:fetch-pack:无效的 index-pack 输出 致命错误:无法克隆 'https://github.com/ggerganov/llama.cpp.git' 到子模组路径 '/opt/deepseek-671b/ktransformers/third_party/llama.cpp' 第二次尝试克隆 'third_party/llama.cpp' 失败,退出
Author
Owner

@ErvinXie commented on GitHub (Dec 11, 2025):

This issue has been automatically closed due to inactivity for 60 days.

If you believe this issue is still relevant, please feel free to reopen it with additional information or context.

Thank you for your contribution to KTransformers!


此 issue 因超过 60 天无活动而被自动关闭。

如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。

感谢您对 KTransformers 的贡献!

<!-- gh-comment-id:3639967157 --> @ErvinXie commented on GitHub (Dec 11, 2025): This issue has been automatically closed due to inactivity for 60 days. If you believe this issue is still relevant, please feel free to reopen it with additional information or context. Thank you for your contribution to KTransformers! --- 此 issue 因超过 60 天无活动而被自动关闭。 如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。 感谢您对 KTransformers 的贡献!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/ktransformers#500
No description provided.