[ROCm][Doc] Add installation notes about python version requirement (#45671)
Signed-off-by: vllmellm <vllm.ellm@embeddedllm.com>
This commit is contained in:
@@ -27,6 +27,19 @@ If you need a different ROCm version or want to use an existing PyTorch installa
|
||||
--8<-- [end:set-up-using-python]
|
||||
--8<-- [start:pre-built-wheels]
|
||||
|
||||
!!! warning "Python 3.12 required for ROCm wheels"
|
||||
|
||||
ROCm pre-built wheels are only available for **Python 3.12**. If you are using a different Python version (e.g. 3.11 or 3.13), the installer **will silently fall back** to the CUDA wheel from PyPI, which will fail on AMD GPUs with errors like `libcudart.so: cannot open shared object file`.
|
||||
|
||||
To check your Python version: `python3 --version`
|
||||
|
||||
If you need Python 3.12, you can create an isolated environment with `uv`:
|
||||
|
||||
```bash
|
||||
uv venv --python 3.12 --seed --managed-python
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
To install the latest version of vLLM for Python 3.12, ROCm 7.0 and `glibc >= 2.35`.
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user