python3Packages.vllm: add optional-dependencies.audio (#465397)
This commit is contained in:
@@ -75,6 +75,11 @@
|
||||
setproctitle,
|
||||
openai-harmony,
|
||||
|
||||
# optional-dependencies
|
||||
# audio
|
||||
librosa,
|
||||
soundfile,
|
||||
|
||||
# internal dependency - for overriding in overlays
|
||||
vllm-flash-attn ? null,
|
||||
|
||||
@@ -463,6 +468,15 @@ buildPythonPackage rec {
|
||||
flashinfer
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
audio = [
|
||||
librosa
|
||||
soundfile
|
||||
mistral-common
|
||||
]
|
||||
++ mistral-common.optional-dependencies.audio;
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
cmakeFlags = [
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user