49 lines
1019 B
Markdown
49 lines
1019 B
Markdown
# GPU
|
|||
|
|
|
||
|
|
vLLM-Omni is a Python library that supports the following GPU variants. Select your GPU type to see vendor specific instructions:
|
||
|
|
|
||
|
|
[](){ #nvidia-cuda }
|
||
|
|
|
||
|
|
=== "NVIDIA CUDA"
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/gpu/cuda.inc.md:installation"
|
||
|
|
|
||
|
|
## Requirements
|
||
|
|
|
||
|
|
- OS: Linux
|
||
|
|
- Python: 3.12
|
||
|
|
|
||
|
|
!!! note
|
||
|
|
vLLM-Omni does not support Windows natively.
|
||
|
|
|
||
|
|
=== "NVIDIA CUDA"
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/gpu/cuda.inc.md:requirements"
|
||
|
|
|
||
|
|
## Set up using Python
|
||
|
|
|
||
|
|
### Create a new Python environment
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/python_env_setup.inc.md"
|
||
|
|
|
||
|
|
=== "NVIDIA CUDA"
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/gpu/cuda.inc.md:set-up-using-python"
|
||
|
|
|
||
|
|
### Pre-built wheels
|
||
|
|
|
||
|
|
=== "NVIDIA CUDA"
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/gpu/cuda.inc.md:pre-built-wheels"
|
||
|
|
|
||
|
|
[](){ #build-from-source }
|
||
|
|
|
||
|
|
### Build wheel from source
|
||
|
|
|
||
|
|
=== "NVIDIA CUDA"
|
||
|
|
|
||
|
|
--8<-- "docs/getting_started/installation/gpu/cuda.inc.md:build-wheel-from-source"
|
||
|
|
|
||
|
|
## Set up using Docker
|
||
|
|
|
||
|
|
### Pre-built images
|