From 618e71edaa1fdb3507e4c2831a55084061b1e57b Mon Sep 17 00:00:00 2001 From: zheliuyu <15750543867@163.com> Date: Tue, 28 Apr 2026 10:03:07 +0800 Subject: [PATCH 1/2] add --depth=1 param --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e4a3c22..42cc2e12 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ init-submodules: @git submodule sync --recursive @n=0; \ while [ $$n -lt 3 ]; do \ - git submodule update --init --remote && exit 0; \ + git submodule update --init --depth=1 --remote && exit 0; \ n=$$((n+1)); \ echo "git submodule update failed (attempt $$n/3), retrying in 8s..."; \ sleep 8; \ From b99a88e31deb1db69364bdf8246890b50e20417c Mon Sep 17 00:00:00 2001 From: zheliuyu <15750543867@163.com> Date: Tue, 28 Apr 2026 10:19:45 +0800 Subject: [PATCH 2/2] add branch name to .gitmodules --- .gitmodules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitmodules b/.gitmodules index 876aa3d3..1762cbd2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,12 +5,15 @@ [submodule "_repos/LLaMA-Factory"] path = _repos/LLaMA-Factory url = https://github.com/the-seeds/LLaMA-Factory-Doc.git + branch = main [submodule "_repos/VeOmni"] path = _repos/VeOmni url = https://github.com/ByteDance-Seed/VeOmni.git + branch = main [submodule "_repos/ms-swift"] path = _repos/ms-swift url = https://github.com/modelscope/ms-swift.git + branch = main [submodule "_repos/vllm-ascend"] path = _repos/vllm-ascend url = https://github.com/vllm-project/vllm-ascend.git @@ -22,3 +25,4 @@ [submodule "_repos/deepspeed"] path = _repos/deepspeed url = https://github.com/deepspeedai/DeepSpeed.git + branch = master