mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-20 12:07:03 +08:00
Move flashinfer-python to optional extra vllm[flashinfer] (#21959)
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
e360316ab9
commit
0bd409cf01
@ -11,6 +11,4 @@ torchaudio==2.7.1
|
|||||||
# These must be updated alongside torch
|
# These must be updated alongside torch
|
||||||
torchvision==0.22.1 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
|
torchvision==0.22.1 # Required for phi3v processor. See https://github.com/pytorch/vision?tab=readme-ov-file#installation for corresponding version
|
||||||
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.31
|
# https://github.com/facebookresearch/xformers/releases/tag/v0.0.31
|
||||||
xformers==0.0.31; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7
|
xformers==0.0.31; platform_system == 'Linux' and platform_machine == 'x86_64' # Requires PyTorch >= 2.7
|
||||||
# FlashInfer should be updated together with the Dockerfile
|
|
||||||
flashinfer_python==0.2.9rc2
|
|
||||||
4
setup.py
4
setup.py
@ -671,7 +671,9 @@ setup(
|
|||||||
["runai-model-streamer >= 0.13.3", "runai-model-streamer-s3", "boto3"],
|
["runai-model-streamer >= 0.13.3", "runai-model-streamer-s3", "boto3"],
|
||||||
"audio": ["librosa", "soundfile",
|
"audio": ["librosa", "soundfile",
|
||||||
"mistral_common[audio]"], # Required for audio processing
|
"mistral_common[audio]"], # Required for audio processing
|
||||||
"video": [] # Kept for backwards compatibility
|
"video": [], # Kept for backwards compatibility
|
||||||
|
# FlashInfer should be updated together with the Dockerfile
|
||||||
|
"flashinfer": ["flashinfer-python==0.2.9rc2"],
|
||||||
},
|
},
|
||||||
cmdclass=cmdclass,
|
cmdclass=cmdclass,
|
||||||
package_data=package_data,
|
package_data=package_data,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user