Skip to content

fix: resolve HCCL port conflict in colocate mode for NPU#421

Open
Ginray wants to merge 1 commit intoalibaba:mainfrom
Ginray:fix/hccl-port-conflict-colocate
Open

fix: resolve HCCL port conflict in colocate mode for NPU#421
Ginray wants to merge 1 commit intoalibaba:mainfrom
Ginray:fix/hccl-port-conflict-colocate

Conversation

@Ginray
Copy link
Copy Markdown

@Ginray Ginray commented Apr 10, 2026

Set HCCL_HOST_SOCKET_PORT_RANGE and HCCL_NPU_SOCKET_PORT_RANGE to 'auto' to let OS dynamically allocate ports for single-NPU multi-process scenarios.

This fixes the Bind_Failed error when multiple clusters (actor_train, actor_infer, reference) share the same GPUs in colocate mode.

Verification results of colocation mode test cases:
截屏2026-04-10 10 43 45

Set HCCL_HOST_SOCKET_PORT_RANGE and HCCL_NPU_SOCKET_PORT_RANGE to 'auto'
to let OS dynamically allocate ports for single-NPU multi-process scenarios.

This fixes the Bind_Failed error when multiple clusters (actor_train,
actor_infer, reference) share the same GPUs in colocate mode.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 10, 2026

CLA assistant check
All committers have signed the CLA.

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