Merge pull request #305813 from vytskalt/whisper-deps

python312Packages.openai-whisper: remove unused runtime dependencies
This commit is contained in:
Martin Weinelt 2024-04-23 10:27:01 +02:00 committed by GitHub
commit 4e3c385388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = ''