mirror of https://github.com/vllm-project/vllm
Pin PyTorch & xformers versions (#2155)
This commit is contained in:
parent
e1d5402238
commit
b0a1d667b0
|
@ -49,7 +49,7 @@ jobs:
|
|||
matrix:
|
||||
os: ['ubuntu-20.04']
|
||||
python-version: ['3.8', '3.9', '3.10', '3.11']
|
||||
pytorch-version: ['2.1.1']
|
||||
pytorch-version: ['2.1.2'] # Must be the most recent version that meets requirements.txt.
|
||||
cuda-version: ['11.8', '12.1']
|
||||
|
||||
steps:
|
||||
|
|
|
@ -4,7 +4,7 @@ requires = [
|
|||
"ninja",
|
||||
"packaging",
|
||||
"setuptools >= 49.4.0",
|
||||
"torch >= 2.1.1",
|
||||
"torch == 2.1.2",
|
||||
"wheel",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
ninja
|
||||
packaging
|
||||
setuptools>=49.4.0
|
||||
torch>=2.1.0
|
||||
torch==2.1.2
|
||||
wheel
|
|
@ -5,9 +5,9 @@ pandas # Required for Ray data.
|
|||
pyarrow # Required for Ray data.
|
||||
sentencepiece # Required for LLaMA tokenizer.
|
||||
numpy
|
||||
torch >= 2.1.1
|
||||
torch == 2.1.2
|
||||
transformers >= 4.36.0 # Required for Mixtral.
|
||||
xformers >= 0.0.23 # Required for CUDA 12.1.
|
||||
xformers == 0.0.23 # Required for CUDA 12.1.
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
pydantic == 1.10.13 # Required for OpenAI server.
|
||||
|
|
Loading…
Reference in New Issue