[DOC][CPU] remove tcmalloc warning from CPU docs (#50308)
Signed-off-by: Fadi Arafeh <fadi.arafeh@arm.com>
Fadi Arafeh committed
Jul 30, 2026 at 07:30 UTC
8122a105361600b2c634824b09d96ff9176ee73e
2 files changed
+4
-23
docs/getting_started/installation/cpu.arm.inc.md
-14
@@ -28,20 +28,6 @@ uv pip install https://github.com/vllm-project/vllm/releases/download/v${VLLM_VE
28
pip install https://github.com/vllm-project/vllm/releases/download/v${VLLM_VERSION}/vllm-${VLLM_VERSION}+cpu-cp38-abi3-manylinux_2_34_aarch64.whl --extra-index-url https://download.pytorch.org/whl/cpu
29
```
30
31
-!!! warning "set `LD_PRELOAD`"
32
- Before use vLLM CPU installed via wheels, make sure TCMalloc is installed and added to `LD_PRELOAD`:
33
- ```bash
34
- # install TCMalloc
35
- sudo apt-get install -y --no-install-recommends libtcmalloc-minimal4
36
-
37
- # manually find the path
38
- sudo find / -iname *libtcmalloc_minimal.so.4
39
- TC_PATH=...
40
-
41
- # add them to LD_PRELOAD
42
- export LD_PRELOAD="$TC_PATH:$LD_PRELOAD"
43
- ```
44
-
31
The `uv` approach works for vLLM `v0.6.6` and later. A unique feature of `uv` is that packages in `--extra-index-url` have [higher priority than the default index](https://docs.astral.sh/uv/pip/compatibility/#packages-that-exist-on-multiple-indexes). If the latest public release is `v0.6.6.post1`, `uv`'s behavior allows installing a commit before `v0.6.6.post1` by specifying the `--extra-index-url`. In contrast, `pip` combines packages from `--extra-index-url` and the default index, choosing only the latest version, which makes it difficult to install a development version prior to the released version.
32
33
#### Install the latest code
docs/getting_started/installation/cpu.x86.inc.md
+4
-9
@@ -33,19 +33,14 @@ uv pip install https://github.com/vllm-project/vllm/releases/download/v${VLLM_VE
33
pip install https://github.com/vllm-project/vllm/releases/download/v${VLLM_VERSION}/vllm-${VLLM_VERSION}+cpu-cp38-abi3-manylinux_2_34_x86_64.whl --extra-index-url https://download.pytorch.org/whl/cpu
34
```
35
!!! warning "set `LD_PRELOAD`"
36
- Before use vLLM CPU installed via wheels, make sure TCMalloc and Intel OpenMP are installed and added to `LD_PRELOAD`:
36
+ Before use vLLM CPU installed via wheels, make Intel OpenMP is added to `LD_PRELOAD`:
37
```bash
38
- # install TCMalloc, Intel OpenMP is installed with vLLM CPU
39
- sudo apt-get install -y --no-install-recommends libtcmalloc-minimal4
40
-
38
# manually find the path
42
- sudo find / -iname *libtcmalloc_minimal.so.4
39
sudo find / -iname *libiomp5.so
44
- TC_PATH=...
40
IOMP_PATH=...
41
47
- # add them to LD_PRELOAD
48
- export LD_PRELOAD="$TC_PATH:$IOMP_PATH:$LD_PRELOAD"
42
+ # add it to LD_PRELOAD
43
+ export LD_PRELOAD="$IOMP_PATH:$LD_PRELOAD"
44
```
45
46
#### Install the latest code
@@ -131,7 +126,7 @@ uv pip install dist/*.whl
126
```
127
128
!!! warning "set `LD_PRELOAD`"
134
- Before use vLLM CPU installed via wheels, make sure TCMalloc and Intel OpenMP are installed and added to `LD_PRELOAD`:
129
+ Before using vLLM CPU installed via wheels, make sure TCMalloc and Intel OpenMP are installed and added to `LD_PRELOAD`:
130
```bash
131
# install TCMalloc, Intel OpenMP is installed with vLLM CPU
132
sudo apt-get install -y --no-install-recommends libtcmalloc-minimal4