Follow these instructions to install.
- Create a new Python environment.Note: To get started with Conda, refer to the Miniforge Installation Guide.
Using Conda
conda create -n vllm-env python=3.10conda activate vllm-env - Build vLLM from Source.
- Follow instructions provided in the vLLM Installation Guide.Note: Pre-built vLLM CPU binaries are not available. You must build vLLM from source to enable CPU support.
- Ensure you check out the v0.9.0 release tag or a later version before building.
- Follow instructions provided in the vLLM Installation Guide.
- Install zentorch. Refer to the zentorch Installation Guide for detailed instructions.
- Install the
requirements.
pip install transformers==4.52.4