[long_seq_optim] support cp&sp #12308
vllm_ascend_test.yaml
on: pull_request
Matrix: singlecard e2e test - light
Matrix: unit test
Matrix: multicard e2e test - light
Annotations
10 errors
lint / pre-commit:
vllm_ascend/worker/npu_input_batch.py#L327
Incompatible types in assignment (expression has type "Optional[tuple[int]]", target has type "tuple[int]") [assignment]
|
lint / pre-commit:
vllm_ascend/worker/npu_input_batch.py#L278
List item 0 has incompatible type "None"; expected "list[list[int]]" [list-item]
|
lint / pre-commit:
vllm_ascend/worker/npu_input_batch.py#L276
List item 0 has incompatible type "None"; expected "tuple[int]" [list-item]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L86
Incompatible types in assignment (expression has type "None", variable has type "AscendCommonLongSequenceMetadata") [assignment]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L13
Incompatible types in assignment (expression has type "None", variable has type "list[list[list[int]]]") [assignment]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L11
Incompatible types in assignment (expression has type "None", variable has type "int") [assignment]
|
Ruff (F811):
vllm_ascend/worker/model_runner_v1.py#L48
vllm_ascend/worker/model_runner_v1.py:48:19: F811 Redefinition of unused `get_tp_group` from line 42
|
Ruff (F811):
vllm_ascend/ops/linear.py#L31
vllm_ascend/ops/linear.py:31:45: F811 Redefinition of unused `get_tp_group` from line 30
|
Ruff (E741):
vllm_ascend/attention/attention_v1.py#L577
vllm_ascend/attention/attention_v1.py:577:16: E741 Ambiguous variable name: `l`
|
Ruff (F841):
vllm_ascend/attention/attention_v1.py#L279
vllm_ascend/attention/attention_v1.py:279:9: F841 Local variable `input_positions` is assigned to but never used
|