Skip to content

Commit 0bd409c

Browse files
authored
Move flashinfer-python to optional extra vllm[flashinfer] (#21959)
Signed-off-by: mgoin <mgoin64@gmail.com>
1 parent e360316 commit 0bd409c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements/cuda.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,4 @@ torchaudio==2.7.1
1111
# These must be updated alongside torch
1212
torchvision==0.22.1 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
1313
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.31
14-
xformers==0.0.31; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7
15-
# FlashInfer should be updated together with the Dockerfile
16-
flashinfer_python==0.2.9rc2
14+
xformers==0.0.31; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,9 @@ def _read_requirements(filename: str) -> list[str]:
671671
["runai-model-streamer >= 0.13.3", "runai-model-streamer-s3", "boto3"],
672672
"audio": ["librosa", "soundfile",
673673
"mistral_common[audio]"], # Required for audio processing
674-
"video": [] # Kept for backwards compatibility
674+
"video": [], # Kept for backwards compatibility
675+
# FlashInfer should be updated together with the Dockerfile
676+
"flashinfer": ["flashinfer-python==0.2.9rc2"],
675677
},
676678
cmdclass=cmdclass,
677679
package_data=package_data,

0 commit comments

Comments
 (0)