Skip to content

[core] Adopt graph rewriter on fx.graph to enable automatic kernel fusion #9339

[core] Adopt graph rewriter on fx.graph to enable automatic kernel fusion

[core] Adopt graph rewriter on fx.graph to enable automatic kernel fusion #9339

Triggered via pull request August 15, 2025 09:08
Status Failure
Total duration 27m 52s
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/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#L124
tests/e2e/singlecard/test_graph_rewriter.py:124:9: F841 Local variable `output` is assigned to but never used
Ruff (F841): tests/e2e/singlecard/test_graph_rewriter.py#L121
tests/e2e/singlecard/test_graph_rewriter.py:121:5: F841 Local variable `new_model` is assigned to but never used