Skip to content

[ROCm] Add allreduce dispatcher for ROCm device #813

[ROCm] Add allreduce dispatcher for ROCm device

[ROCm] Add allreduce dispatcher for ROCm device #813

Triggered via pull request September 18, 2025 03:26
Status Failure
Total duration 6m 53s
Artifacts

pre-commit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
pre-commit: vllm/distributed/device_communicators/cuda_communicator.py#L53
Syntax error in type annotation [syntax]
pre-commit: vllm/distributed/device_communicators/cuda_communicator.py#L201
Name "is_rocm_aiter_custom_allreduce_enabled" is not defined [name-defined]
pre-commit: vllm/distributed/device_communicators/cuda_communicator.py#L53
Syntax error in type annotation [syntax]
pre-commit: vllm/distributed/device_communicators/cuda_communicator.py#L201
Name "is_rocm_aiter_custom_allreduce_enabled" is not defined [name-defined]
pre-commit: vllm/distributed/device_communicators/cuda_communicator.py#L53
Syntax error in type annotation [syntax]
Ruff (G004): vllm/distributed/device_communicators/cuda_communicator.py#L272
vllm/distributed/device_communicators/cuda_communicator.py:272:26: G004 Logging statement uses f-string
Ruff (F821): vllm/distributed/device_communicators/cuda_communicator.py#L201
vllm/distributed/device_communicators/cuda_communicator.py:201:12: F821 Undefined name `is_rocm_aiter_custom_allreduce_enabled`
Ruff (G004): vllm/distributed/device_communicators/cuda_communicator.py#L157
vllm/distributed/device_communicators/cuda_communicator.py:157:17: G004 Logging statement uses f-string
Ruff (F401): vllm/distributed/device_communicators/cuda_communicator.py#L96
vllm/distributed/device_communicators/cuda_communicator.py:96:54: F401 `aiter.dist.custom_all_reduce.CustomAllreduce` imported but unused; consider using `importlib.util.find_spec` to test for availability
Ruff (E501): vllm/distributed/device_communicators/cuda_communicator.py#L75
vllm/distributed/device_communicators/cuda_communicator.py:75:81: E501 Line too long (84 > 80)