已关闭
[Bug] Qwen3-Next 编译线性注意力回归用例失败 #443
jia_ya_nan创建于 5 天前关闭于 5 天前
5 天前 添加了label:bug, triagedmedium-priority
5 天前 将 jia_ya_nan 设为负责人
5 天前 关闭了 issue
5 天前 issue状态由 TODO 改变为 DONE
5 天前 添加了label:resolved
Jjia_ya_nan
5 天前 关联了pull request:fix(tensor-cast): backport qwen3-next linear attention regressions to 26.2.0
5 天前 关联了pull request:fix(tensor-cast): backport qwen3-next linear attention regressions to 26.2.0
Problem
Qwen3-Next 的编译语义覆盖及模型诊断回归用例在 4fdcdefb 引入后失败,阻塞 Qwen3-Next 的 TensorCast 回归验证。问题覆盖三条相互关联的路径:
Qwen3NextModel直接暴露layers,但 runtime 性能分析测试错误地沿用了 Qwen3.5 的language_model.layers访问路径,导致AttributeError;linear_attentionstage 名称,而当前图已拆分为多个线性注意力 stage;Reproduction
.venv/bin/python -m pytest -q \ tests/regression/tensor_cast/test_runtime.py::PerfAnalysisTestCase::test_qwen3_next_linear_attention_uses_decomposed_ops \ 'tests/regression/model_diagnostics/e2e/test_qwen3_5_e2e.py::test_qwen35_mtp_decode_capture_organize_and_compare[next]' \ 'tests/regression/model_diagnostics/e2e/test_qwen3_5_e2e.py::test_qwen35_tp2_parallel_shapes_compare[next]'典型失败:
Expected
layers,并确认线性注意力使用分解算子;Actual
上述三个回归用例失败,无法覆盖 Qwen3-Next 的编译语义、MTP decode 诊断和 TP=2 并行 shape。
Environment
Acceptance Criteria
language_model.layers访问不被改变;Related
174ff3b193b5d0c7b5650dc9cc51080398793303(待推送到 PR 分支)SIG
模型适配