Skip to content

[4/N][Refactor] Refactor AscendAttentionMetadataBuilder for better extensibility and make the builder class of torchair extend from it #9255

[4/N][Refactor] Refactor AscendAttentionMetadataBuilder for better extensibility and make the builder class of torchair extend from it

[4/N][Refactor] Refactor AscendAttentionMetadataBuilder for better extensibility and make the builder class of torchair extend from it #9255

Triggered via pull request August 14, 2025 08:22
Status Failure
Total duration 7m 44s
Artifacts

vllm_ascend_test.yaml

on: pull_request
Matrix: singlecard e2e test
Matrix: unit test
Matrix: multicard e2e test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint / pre-commit: vllm_ascend/attention/attention_v1.py#L165
Incompatible types in assignment (expression has type "None", variable has type "AscendAttentionState") [assignment]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L235
"AscendAttentionMetadataBuildInfo" has no attribute "input_positions" [attr-defined]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L234
"AscendAttentionMetadataBuildInfo" has no attribute "graph_pad_size" [attr-defined]
lint / pre-commit: vllm_ascend/attention/attention_v1.py#L165
Incompatible types in assignment (expression has type "None", variable has type "AscendAttentionState") [assignment]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L235
"AscendAttentionMetadataBuildInfo" has no attribute "input_positions" [attr-defined]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L234
"AscendAttentionMetadataBuildInfo" has no attribute "graph_pad_size" [attr-defined]
lint / pre-commit: vllm_ascend/attention/attention_v1.py#L165
Incompatible types in assignment (expression has type "None", variable has type "AscendAttentionState") [assignment]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L235
"AscendAttentionMetadataBuildInfo" has no attribute "input_positions" [attr-defined]
lint / pre-commit: vllm_ascend/torchair/torchair_attention.py#L234
"AscendAttentionMetadataBuildInfo" has no attribute "graph_pad_size" [attr-defined]
lint / pre-commit: vllm_ascend/attention/attention_v1.py#L165
Incompatible types in assignment (expression has type "None", variable has type "AscendAttentionState") [assignment]