Skip to content

feat(a5): run Qwen3 decode with host graph execution - #1833

Merged
ChaoZheng109 merged 1 commit into
hw-native-sys:mainfrom
doraemonmj:feat/a5-qwen-hbg
Aug 14, 2026
Merged

ChaoZheng109 merged 1 commit into
hw-native-sys:mainfrom
doraemonmj:feat/a5-qwen-hbg

Conversation

@doraemonmj

Copy link
Copy Markdown
Contributor

What

  • migrate the existing A5 Qwen3-14B decode orchestration from tensormap_and_ringbuffer to host_build_graph
  • reuse all 37 A5 TMR incore sources, input generation, and golden implementation
  • record one decoder layer as an HBG Graph and replay its cached definition for the remaining 39 layers
  • reuse ping-pong hidden-state buffers and shared BF16/FP32 scratch arenas across layers

Testing

  • single-layer migration: task_20260814_095742_232203113705 — 1 passed
  • full 40-layer Graph execution: task_20260814_095945_234090013318 — 1 passed on Ascend950PR_9579
  • pre-commit hooks — passed

@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@doraemonmj, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 938a76e3-8e38-4941-ae80-f0a892962f85

📥 Commits

Reviewing files that changed from the base of the PR and between 404e931 and 036a463.

📒 Files selected for processing (3)
  • examples/a5/host_build_graph/qwen3_14b_decode/README.md
  • examples/a5/host_build_graph/qwen3_14b_decode/kernels/orchestration/decode_fwd_layers.cpp
  • examples/a5/host_build_graph/qwen3_14b_decode/test_qwen3_14b_decode.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@ChaoZheng109
ChaoZheng109 merged commit 87d9d0e into hw-native-sys:main Aug 14, 2026
16 checks passed
@doraemonmj
doraemonmj deleted the feat/a5-qwen-hbg branch August 18, 2026 02:48
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.

2 participants