Skip to content

fix: restore NPU dispatch for PR #361 unit-tests - #363

Merged
Flink-ddd merged 1 commit into
RL-Align:testfrom
maxiaosong1124:fix/pr361-unit-tests
Aug 30, 2026
Merged

Flink-ddd merged 1 commit into
RL-Align:testfrom
maxiaosong1124:fix/pr361-unit-tests

Conversation

@maxiaosong1124

Copy link
Copy Markdown
Collaborator

Summary

Fixes the CPU unit-tests job currently failing on PR #361.

KernelRegistry lost the NPU priority map, so rl_engine/tests/test_dispatch.py failed immediately (KeyError: 'npu'). This restores Ascend batch-invariant logp dispatch and updates two CPU-safe tests that would fail next: drift-report PNG preview without Pillow, and Qwen FFN stub tests after det_gemm_linear / packed_gate_up.

WS1 gtest files and the WS1 CI workflow are unchanged.

Test plan

  • pytest rl_engine/tests/test_dispatch.py
  • CPU-safe unit-tests CI steps excluding WS1 GPU jobs

KernelRegistry lost the NPU priority map, so test_dispatch failed on the
first unit-tests step. Restore Ascend logp dispatch, and update CPU-safe
FFN/drift-report tests. WS1 gtest wiring is unchanged.

Signed-off-by: frank-2077 <[email protected]>
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f55586b4-7717-42dc-822f-9ebe5e62c797

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@Flink-ddd Flink-ddd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Flink-ddd
Flink-ddd merged commit 052e9a0 into RL-Align:test Aug 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants