Skip to content

Commit 7389089

Browse files
author
xusenlin
committed
Update docs
1 parent 6d9751f commit 7389089

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

docs/FAQ.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ docker build -f docker/Dockerfile.vllm -t llm-api:vllm .
2323
**`vLLM` 环境需要将 `torch` 版本升级到 `2.0.0` 以上,再安装 `vllm`**
2424

2525
```shell
26-
pip install -r requirements.txt
27-
pip install torch -U
28-
pip install vllm>=0.1.4
29-
# pip install git+https://github.com/vllm-project/vllm.git
30-
pip uninstall transformer-engine
26+
pip install torch==2.1.0
27+
pip install vllm>=0.2.2
28+
pip install -r requirements.txt
29+
pip uninstall transformer-engine -y
3130
```
3231

3332
如不需要安装 `vLLM`,则只需要
3433

3534
```shell
36-
pip install torch==1.13
35+
pip install torch>=1.13
3736
pip install -r requirements.txt
3837
```
3938

images/llm.png

-92.1 KB
Loading

0 commit comments

Comments
 (0)