[Doc] Fix the config parameter name "enable" in graph_mode.md. (#1159)
Fix the doc typo in graph_mode.md Signed-off-by: yzim <43207690+yzim@users.noreply.github.com>
This commit is contained in:
@@ -47,14 +47,14 @@ from vllm import LLM
|
|||||||
|
|
||||||
os.environ["VLLM_USE_V1"] = 1
|
os.environ["VLLM_USE_V1"] = 1
|
||||||
|
|
||||||
model = LLM(model="deepseek-ai/DeepSeek-R1-0528", additional_config={"torchair_graph_config": {"enable": True}})
|
model = LLM(model="deepseek-ai/DeepSeek-R1-0528", additional_config={"torchair_graph_config": {"enabled": True}})
|
||||||
outputs = model.generate("Hello, how are you?")
|
outputs = model.generate("Hello, how are you?")
|
||||||
```
|
```
|
||||||
|
|
||||||
online example:
|
online example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
vllm serve Qwen/Qwen2-7B-Instruct --additional-config='{"torchair_graph_config": {"enable": true}}'
|
vllm serve Qwen/Qwen2-7B-Instruct --additional-config='{"torchair_graph_config": {"enabled": true}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
You can find more detail about additional config [here](./additional_config.md)
|
You can find more detail about additional config [here](./additional_config.md)
|
||||||
|
|||||||
Reference in New Issue
Block a user