From 8c8c0286c976e1402fd39f3d49b815ae49c3cc9d Mon Sep 17 00:00:00 2001 From: project6-dev Date: Thu, 13 Aug 2026 13:56:13 +0000 Subject: [PATCH] =?UTF-8?q?Revert=20"fix(build):=20revert=20patch=5Fops.sh?= =?UTF-8?q?=20to=20a3c45d3b=20=E2=80=94=20remove=20cccl=5Fpreload=20+=20co?= =?UTF-8?q?rex=20extension=20compile=20steps"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 14d1725cdd451884682c17447d6438265cd90579. --- qwen3_6_scripts/patch_ops.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/qwen3_6_scripts/patch_ops.sh b/qwen3_6_scripts/patch_ops.sh index 3f70c7cf..28a794c0 100755 --- a/qwen3_6_scripts/patch_ops.sh +++ b/qwen3_6_scripts/patch_ops.sh @@ -246,6 +246,20 @@ if source != installed: raise SystemExit("runtime api_server overlay identity mismatch") PY +build_stage "compiling CCCL CachingDeviceAllocator LD_PRELOAD module" +bash ./cccl_preload/build_cccl_preload.sh /workspace/qwen3_6_scripts/cccl_preload || \ + echo "[WARN] CCCL preload allocator build failed — will use default allocator" + +build_stage "compiling CoreX CUDA extensions (moe_index_combine + gdn_chunk_recurrent)" +if [[ -x /usr/local/corex-3.2.3/bin/clang++ ]]; then + bash ./build_corex_moe_index_combine.sh "${VLLM_ROOT}" || \ + echo "[WARN] moe_index_combine build failed — will use PyTorch fallback" + bash ./build_corex_gdn_chunk_recurrent.sh "${VLLM_ROOT}" || \ + echo "[WARN] gdn_chunk_recurrent build failed — will use Python fallback" +else + echo "[WARN] corex clang++ not found — skipping extension builds" +fi + build_stage "compiling submission Python sources" find . -path './wheels' -prune -o -name '*.py' -print0 | xargs -0 python3 -m py_compile build_stage "patch script completed"