refact attn metadata build #9397
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/attention/utils.py#L42
Incompatible types in assignment (expression has type "None", variable has type "Enum") [assignment]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L36
Incompatible types in assignment (expression has type "None", variable has type "list[int]") [assignment]
|
lint / pre-commit:
vllm_ascend/worker/model_runner_v1.py#L1234
Argument "attn_state" to "AscendCommonAttentionMetadata" has incompatible type "None"; expected "Enum" [arg-type]
|
lint / pre-commit:
vllm_ascend/worker/model_runner_v1.py#L814
Argument "attn_state" to "AscendCommonAttentionMetadata" has incompatible type "None"; expected "Enum" [arg-type]
|
lint / pre-commit:
vllm_ascend/worker/model_runner_v1.py#L800
Unexpected keyword argument "max_num_blocks_per_req" for "AscendCommonAttentionMetadata" [call-arg]
|
lint / pre-commit:
vllm_ascend/attention/attention_v1_torchair.py#L317
Argument "attn_state" to "AscendTorchairMetadata" has incompatible type "Enum"; expected "AscendAttentionState" [arg-type]
|
lint / pre-commit:
vllm_ascend/attention/attention_v1.py#L227
Argument "attn_state" to "AscendMetadata" has incompatible type "Enum"; expected "AscendAttentionState" [arg-type]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L67
Incompatible types in assignment (expression has type "None", variable has type "list[int]") [assignment]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L42
Incompatible types in assignment (expression has type "None", variable has type "Enum") [assignment]
|
lint / pre-commit:
vllm_ascend/attention/utils.py#L36
Incompatible types in assignment (expression has type "None", variable has type "list[int]") [assignment]
|