mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
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
|
||||
, numpy
|
||||
, openai-triton
|
||||
, scipy
|
||||
, tiktoken
|
||||
, torch
|
||||
, tqdm
|
||||
, transformers
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
, scipy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -45,6 +44,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
scipy
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -52,11 +52,9 @@ buildPythonPackage rec {
|
||||
numba
|
||||
numpy
|
||||
openai-triton
|
||||
scipy
|
||||
tiktoken
|
||||
torch
|
||||
tqdm
|
||||
transformers
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
|
Loading…
Reference in New Issue
Block a user