Merge pull request #305813 from vytskalt/whisper-deps
python312Packages.openai-whisper: remove unused runtime dependencies
This commit is contained in:
commit
4e3c385388
|
@ -14,14 +14,13 @@
|
||||||
, numba
|
, numba
|
||||||
, numpy
|
, numpy
|
||||||
, openai-triton
|
, openai-triton
|
||||||
, scipy
|
|
||||||
, tiktoken
|
, tiktoken
|
||||||
, torch
|
, torch
|
||||||
, tqdm
|
, tqdm
|
||||||
, transformers
|
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, scipy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -45,6 +44,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -52,11 +52,9 @@ buildPythonPackage rec {
|
||||||
numba
|
numba
|
||||||
numpy
|
numpy
|
||||||
openai-triton
|
openai-triton
|
||||||
scipy
|
|
||||||
tiktoken
|
tiktoken
|
||||||
torch
|
torch
|
||||||
tqdm
|
tqdm
|
||||||
transformers
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user