refactor allgather/mc2-related fused_experts #9324
vllm_ascend_test.yaml
on: pull_request
Matrix: singlecard e2e test
Matrix: unit test
Matrix: multicard e2e test
Annotations
10 errors
lint / pre-commit:
vllm_ascend/ops/moe_dispatcher/token_dispatcher.py#L677
Signature of "token_unpermutation" incompatible with supertype "MoETokenDispatcher" [override]
|
lint / pre-commit:
vllm_ascend/ops/moe_dispatcher/token_dispatcher.py#L647
Value of type "Optional[Any]" is not indexable [index]
|
lint / pre-commit:
vllm_ascend/ops/moe_dispatcher/token_dispatcher.py#L636
Item "None" of "Optional[Any]" has no attribute "to" [union-attr]
|
lint / pre-commit:
vllm_ascend/ops/moe_dispatcher/token_dispatcher.py#L579
Signature of "token_permutation" incompatible with supertype "MoETokenDispatcher" [override]
|
Ruff (F601):
tests/ut/ops/test_token_dispatcher.py#L314
tests/ut/ops/test_token_dispatcher.py:314:13: F601 Dictionary key literal `"num_experts"` repeated
|
Ruff (F601):
tests/ut/ops/test_token_dispatcher.py#L243
tests/ut/ops/test_token_dispatcher.py:243:13: F601 Dictionary key literal `"num_experts"` repeated
|
Ruff (F841):
tests/ut/ops/test_token_dispatcher.py#L228
tests/ut/ops/test_token_dispatcher.py:228:21: F841 Local variable `output` is assigned to but never used
|
Ruff (F841):
tests/ut/ops/test_token_dispatcher.py#L227
tests/ut/ops/test_token_dispatcher.py:227:43: F841 Local variable `mock_wait` is assigned to but never used
|
Ruff (F841):
tests/ut/ops/test_token_dispatcher.py#L181
tests/ut/ops/test_token_dispatcher.py:181:21: F841 Local variable `output` is assigned to but never used
|
Ruff (F841):
tests/ut/ops/test_token_dispatcher.py#L177
tests/ut/ops/test_token_dispatcher.py:177:39: F841 Local variable `mock_stream` is assigned to but never used
|