[core] Adopt graph rewriter on fx.graph to enable automatic kernel fusion #9327
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/models/__init__.py#L14
Cannot find implementation or library stub for module named "vllm_ascend.models.qwen3" [import-not-found]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L71
Need type annotation for "patterns" (hint: "patterns: list[<type>] = ...") [var-annotated]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L61
Argument 1 to "append" of "list" has incompatible type "tuple[Callable[[Any, Any, Any, Any, Any, Any], Any], Callable[[Any, Any, Any, Any, Any, Any], Any]]"; expected "tuple[callable?]" [arg-type]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L31
Function "builtins.callable" is not valid as a type [valid-type]
|
lint / pre-commit:
vllm_ascend/models/__init__.py#L14
Cannot find implementation or library stub for module named "vllm_ascend.models.qwen3" [import-not-found]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L71
Need type annotation for "patterns" (hint: "patterns: list[<type>] = ...") [var-annotated]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L61
Argument 1 to "append" of "list" has incompatible type "tuple[Callable[[Any, Any, Any, Any, Any, Any], Any], Callable[[Any, Any, Any, Any, Any, Any], Any]]"; expected "tuple[callable?]" [arg-type]
|
lint / pre-commit:
vllm_ascend/compilation/quant_fusion_pass.py#L31
Function "builtins.callable" is not valid as a type [valid-type]
|
Ruff (F841):
tests/e2e/singlecard/test_graph_rewriter.py#L95
tests/e2e/singlecard/test_graph_rewriter.py:95:9: F841 Local variable `output` is assigned to but never used
|
Ruff (F841):
tests/e2e/singlecard/test_graph_rewriter.py#L91
tests/e2e/singlecard/test_graph_rewriter.py:91:5: F841 Local variable `new_model` is assigned to but never used
|