fix: prebuilt expects 13 .so (add corex_moe_topk_softmax slot)

install_prebuilt_corex.sh: 12 → 13 artifacts
patch_ops.sh: remove runtime compile fallback — prebuilt path only

After compiling on real machine, place .so into:
  prebuilt/corex-3.2.3-ivcore10/corex_moe_topk_softmax.so
Then update SHA256SUMS.
This commit is contained in:
project6-dev
2026-08-12 06:22:36 +00:00
parent ac84e40f88
commit 0ed670a2c6
2 changed files with 2 additions and 9 deletions

View File

@@ -16,8 +16,8 @@ MANIFEST=${BUNDLE_DIR}/SHA256SUMS
}
mapfile -t artifacts < <(awk '{print $2}' "$MANIFEST")
[[ "${#artifacts[@]}" -eq 12 ]] || {
printf 'expected 12 prebuilt CoreX artifacts, found %s\n' \
[[ "${#artifacts[@]}" -eq 13 ]] || {
printf 'expected 13 prebuilt CoreX artifacts, found %s\n' \
"${#artifacts[@]}" >&2
exit 2
}

View File

@@ -143,13 +143,6 @@ install_patch_file \
build_stage "installing hash-pinned CoreX 3.2.3 extensions"
bash ./install_prebuilt_corex.sh "${VLLM_ROOT}"
build_stage "compiling CoreX MoE topk+softmax kernel"
if [[ ! -f "${VLLM_ROOT}/corex_moe_topk_softmax.so" ]]; then
bash ./build_corex_moe_topk_softmax.sh "${VLLM_ROOT}" 2>&1 || {
printf '[warn] CoreX MoE topk+softmax build failed — will use PyTorch fallback\n' >&2
}
fi
build_stage "installing BI100 runtime modules"
cp ./bi100_env.py "${VLLM_ROOT}/bi100_env.py"
cp ./bi100_profile.py "${VLLM_ROOT}/bi100_profile.py"