[Feat]: support multistream for CAMP2p - #161
Open
yujuancao07 wants to merge 1 commit into
Open
Conversation
yujuancao07
requested review from
hsliuustc0106 and
jiangkuaixue123
as code owners
July 27, 2026 08:23
Contributor
Author
Signed-off-by: yujuancao07 <yujuancao07@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Purpose
Add configurable multi-stream execution to the Ascend CAMP2P connector
so that A2F/F2A communication can overlap with model computation.
Attention-side and FFN-side multi-stream execution can be enabled independently
through
connector_extra_config.Issue
Scope
This feature applies only to
CAMP2pAFDConnectoron NPU.In scope:
the current graph runtime.
Out of scope:
CAMAsyncAFDConnector.P2pNcclAFDConnector.Implementation Notes
The implementation applies only to
CAMP2pAFDConnector.Both switches are located under CAMP2P
connector_extra_config:{ "connector_extra_config": { "is_attn_multistream": true, "is_ffn_multistream": true, "attn_core_num": 8, "ffn_core_num": 8 } }Test Plan
Focused multi-stream tests:
pytest -q tests/unit -k multistream -vvTest Result