2026-01-30 11:21:37 +08:00
# Npugraph_ex
## Introduction
As introduced in the [RFC ](https://github.com/vllm-project/vllm-ascend/issues/4715 ), this is a simple ACLGraph graph mode acceleration solution based on Fx graphs.
## Using npugraph_ex
Npugraph_ex will be enabled by default in the future, Take Qwen series models as an example to show how to configure it.
Offline example:
```python
from vllm import LLM
model = LLM(
model="path/to/Qwen2-7B-Instruct",
additional_config={
2026-03-02 17:54:25 +08:00
"ascend_compilation_config": {
"enable_npugraph_ex": True,
2026-01-30 11:21:37 +08:00
"enable_static_kernel": False,
}
}
)
outputs = model.generate("Hello, how are you?")
```
Online example:
```shell
vllm serve Qwen/Qwen2-7B-Instruct
2026-03-02 17:54:25 +08:00
--additional-config '{"ascend_compilation_config":{"enable_npugraph_ex":true, "enable_static_kernel":false}}'
2026-01-30 11:21:37 +08:00
```
[Doc][Misc] Comprehensive documentation cleanup and grammatical fixes (#8073)
What this PR does / why we need it?
This pull request performs a comprehensive cleanup of the vLLM Ascend
documentation. It fixes numerous typos, grammatical errors, and phrasing
issues across community guidelines, developer documents, hardware
tutorials, and feature guides. Key improvements include correcting
hardware names (e.g., Atlas 300I), fixing broken links, cleaning up code
examples (removing duplicate flags and trailing commas), and improving
the clarity of technical explanations. These changes are necessary to
ensure the documentation is professional, accurate, and easy for users
to follow.
Does this PR introduce any user-facing change?
No, this PR contains documentation-only updates.
How was this patch tested?
The changes were manually reviewed for accuracy and grammatical
correctness. No functional code changes were introduced.
---------
Signed-off-by: herizhen <1270637059@qq.com>
Signed-off-by: herizhen <59841270+herizhen@users.noreply.github.com>
2026-04-09 15:37:57 +08:00
You can find more details about [npugraph_ex ](https://www.hiascend.com/document/detail/zh/Pytorch/730/modthirdparty/torchairuseguide/torchair_00021.html )