From e791023b0f3db609bec7d9dc07fba2cbf166d4b3 Mon Sep 17 00:00:00 2001 From: project6-dev Date: Wed, 12 Aug 2026 09:22:29 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20disable=20corex=5Fmoe=5Ftopk=5Fsoftmax?= =?UTF-8?q?=20by=20default=20=E2=80=94=20.so=20causes=20garbage=20output?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sub686: model outputs gibberish (chinese→zeros, japanese→spanish) because topk kernel .so compiled on dev machine produces wrong results on competition platform. Default to False, enable only with env var. --- qwen3_6_scripts/qwen3_5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qwen3_6_scripts/qwen3_5.py b/qwen3_6_scripts/qwen3_5.py index eeda4793..9ce48a76 100644 --- a/qwen3_6_scripts/qwen3_5.py +++ b/qwen3_6_scripts/qwen3_5.py @@ -186,7 +186,7 @@ _USE_COREX_MOE_DIRECT_ROUTED = ( and env_bool("BI100_MOE_COREX_DIRECT_ROUTED", False)) _USE_COREX_MOE_TOPK_SOFTMAX = ( _corex_moe_topk_softmax is not None - and env_bool("BI100_MOE_COREX_TOPK_SOFTMAX", True)) + and env_bool("BI100_MOE_COREX_TOPK_SOFTMAX", False)) _USE_FUSED_MOE_ACTIVATION = env_bool("BI100_MOE_FUSED_ACTIVATION", True)