Repository navigation
Conversation
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.
Required human contributor answers
The human contributor must answer all four questions before PR submission.
An explicit answer already recorded elsewhere may be referenced with a precise,
accessible source; a bare link without an identifiable answer is insufficient.
Agents must not invent or fill in the human's answers. Blank, placeholder, or
unresolved answers do not complete this gate. See the
contributor-intent gate
and contributing guide.
Required human contributor answers
1. What outcome are you trying to achieve?
Add an Ascend HCCL-only transport for same-host PD execution so Ouro-1.4B can run BF16, fixed four-loop, greedy, full-prefill 2P2D inference on four Ascend 910B3 devices.
The PR should provide output-equivalent Prefill/Decode execution, KV and hidden-state transfer accounting, and reliable cancellation, timeout, duplicate-generation, worker-failure, and resource-release behavior. The previous SOCKET transport is removed from the Ascend implementation.
2. What is the highest-leverage variable for that outcome?
The highest-leverage variable is the correctness of asynchronous device-to-device transfer ordering and ownership.
Every send must match the intended receive geometry and operation order, and every request generation must keep its KV, hidden buffer, worker, and HCCL resources alive until the lifecycle protocol proves they are safe to release.
3. How will this work move that variable rather than create busywork?
The implementation connects HCCL directly to the existing PD coordinator and connector lifecycle instead of adding a parallel request protocol.
It adds HCCL process-group initialization, pair communication warmup, fixed P/D pair mapping, lazy receive registration, full-prefill KV/hidden geometry matching, transfer accounting, timeout handling, and fail-closed cleanup. The behavior is validated with CPU protocol tests, NPU lifecycle tests, and a real 4×910B3 Ouro-1.4B 2P2D run compared with single-stage output.
4. Who is the customer or user, and what do they actually need?
The users are maintainers and Ascend users who need to deploy Ouro PD inference on a same-host 910B3 machine.
They need a reproducible HCCL transport that works with NPU memory, preserves output correctness, exposes transfer accounting, and releases resources safely. They do not need a SOCKET fallback in the Ascend path.
PR necessity and bugfix evidence
A PR is needed because this change adds a new runtime transport, changes worker process-group lifecycle, changes Ascend PD configuration and connector behavior, removes the SOCKET implementation, and adds tests and documentation. These changes cannot be delivered through configuration alone.
During local bring-up, the original implementation reproduced the following failures:
reservinguntil timeout.hcclCommInitRootInfoConfigrank-table failures.These failures were reproduced locally and fixed in this PR. The original task is tracked in issue #172, and the implementation is based on the merged Ascend work from PR #168.
Purpose
Add an Ascend HCCL-only same-host 2P2D PD transport for Ouro-1.4B.
The supported scope is BF16, fixed four-loop, greedy decoding, full prefill, equal-size Prefill/Decode pools, and
last_exitedKV. CUDA deployments continue using NIXL.The HCCL path serializes active tids because Ascend HCCL requires deterministic rank-pair operation ordering. This PR qualifies correctness, accounting, lifecycle behavior, and resource cleanup rather than throughput scaling.
Test Plan
vllm-rlt Version / Commit:
8d2dbb9