Fix plan stream in eagle worker v2#203
Fix plan stream in eagle worker v2#203silencejade wants to merge 4 commits intoAscend:release/PoC_20260331from
Conversation
CLA Signature Guide@silencejade , thanks for your pull request. The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
To sign CLA, click here. To check if your email is configured correctly, refer to the FAQs. Once you've signed the CLA or updating your email, please comment |
508e3cc to
9347443
Compare
CLA Signature Guide@silencejade , thanks for your pull request. The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
To sign CLA, click here. To check if your email is configured correctly, refer to the FAQs. Once you've signed the CLA or updating your email, please comment |
CLA Signature Guide@silencejade , thanks for your pull request. The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
To sign CLA, click here. To check if your email is configured correctly, refer to the FAQs. Once you've signed the CLA or updating your email, please comment |
Motivation
When using the Eagle Worker V2, the prepare_for_v2_verify function relies on batch.spec_info.positions to compute next_input_positions on the planning stream. However, batch.spec_info.positions is created and calculated within the build_tree_kernel_efficient function, which executes on the main stream. This results in a synchronization issue between the two streams.
Modifications
Insert a synchronization event for build_tree_kernel_efficient prior to executing prepare_for_v2_verify.
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ci