Skip to content

Commit ad845bf

Browse files
authored
fix doc to mention env setting for v0.7.3-dev (#602)
### What this PR does / why we need it? fix doc to mention env setting for v0.7.3-dev Signed-off-by: Shuqiao Li <celestialli@outlook.com>
1 parent d12a057 commit ad845bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/installation.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,14 @@ cd vllm-ascend
190190
python setup.py develop
191191
cd ..
192192
```
193+
194+
vllm-ascend will build custom ops by default. If you don't want to build it, set `COMPILE_CUSTOM_KERNELS=0` environment to disable it.
193195
:::
194196

195197
```{note}
196-
vllm-ascend will build custom ops by default. If you don't want to build it, set `COMPILE_CUSTOM_KERNELS=0` environment to disable it.
198+
If you are building from v0.7.3-dev and intend to use sleep mode feature, you should set `COMPILE_CUSTOM_KERNELS=1` manually.
197199
To build custom ops, gcc/g++ higher than 8 and c++ 17 or higher is required. If you're using `pip install -e .` and encourage a torch-npu version conflict, please install with `pip install --no-build-isolation -e .` to build on system env.
200+
If you encounter other problems during compiling, it is probably because unexpected compiler is being used, you may export `CXX_COMPILER` and `C_COMPILER` in env to specify your g++ and gcc locations before compiling.
198201
```
199202

200203
::::

0 commit comments

Comments
 (0)