[4/N][Refactor] Refactor AscendAttentionMetadataBuilder
for better extensibility and make the builder class of torchair extend from it
#9255
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/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]
|